:root {
  --mainColor: #a00020;
  --white: #fff;
  --black: #000;
  --mainColorHover: #94001d;
  --btn-color: #7f7f7f;
}

@font-face {
  font-family: "Daxpro-regular";
  src: url("../fonts/DaxPro-Regular.ttf");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Daxpro-medium";
  src: url("../fonts/DaxPro-Medium.ttf");
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Daxpro-regular;
  letter-spacing: 0.3px;
}

/*********HEADER*********/

/*********Navigation*********/

.hide {
  margin-top: -230px;
  display: none;
}

nav {
  width: auto;
  height: 106px;
  margin: 0 30px;
  background-color: rgba(255, 255, 255, 0.90);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-shadow: 0px 0px 57px 0px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px)
}

.navigation {
  width: 100%;
  position: fixed;
  left: 0;
  top: 30px;
  z-index: 4;
  transition: all 0.5s ease-in-out;
}

.nav-mobile {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 4;
    transition: all 0.5s ease-in-out;
    display: none;
  }

.logo img:nth-child(1) {
  margin-left: 15px;
}

.logo img:nth-child(2) {
  margin-left: 30px;
}

.contact-button {
  display: flex;
  align-items: center;
  margin-right: 15px;
  font-weight: 500;
}

.contact-button a:nth-child(1) {
  margin-right: 40px;
  text-decoration: none;
  color: var(--mainColor);
}

.emailBox {
  font-family: Daxpro-medium;
  font-weight: 500;
}

.emailBox:hover {
  color: var(--mainColorHover) !important;
}

.phoneBox {
  width: 275px;
  height: 52px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  background-color: var(--mainColor);
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  font-family: Daxpro-medium;
  font-weight: 500;
}

.phoneBox:hover {
  background-color: var(--mainColorHover);
}

/*********Carousel*********/

.carousel-caption {
  text-align: left;
  padding-bottom: 4rem;
}

.carousel-description {
  bottom: 80px;
  position: relative;
}

.carousel-description h1 {
  position: absolute;
  bottom: 50px;
  color: var(--white);
  font-size: 64px;
}

.carousel-control-prev-icon {
  position: relative;
  right: 35%;
  background-image: url(../img/arrowCarouselPrev.svg);
  height: 80px;
}

.carousel-control-next-icon {
  position: relative;
  left: 35%;
  background-image: url(../img/arrowCarouselNext.svg);
  height: 80px;
}

.carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  opacity: 1;
}

.carousel-indicators {
  margin: auto;
  bottom: 100px;
  display: flex;
  justify-content: right;
  right: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background-color: transparent;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: var(--white);
  border: 0;
  width: 19px;
  height: 19px;
}

/*********Edit***********/

.btn-primary {
  background-color: var(--mainColor) !important;
  border: none;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--mainColorHover) !important;
}

.btn-secondary {
  background-color: var(--btn-color) !important;
  border: none;
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--mainColorHover) !important;
}

.form-control:focus {
  border-color: var(--mainColor);
  box-shadow: 0 0 0 .25rem #a000203c;
}

.edit-form input {
  margin-bottom: 10px;
}

.edit-img {
  margin-bottom: 10px;
}

/*********MAIN*********/

/*********Introduction*********/

.publicity-box-one {
  width: 100%;
  min-height: 277px;
  margin: auto;
  padding: 30px;
  background-color: var(--mainColor);
  position: relative;
  top: -50px;
  outline: 16px solid var(--white);
  color: var(--white);
  z-index: 3;
}

.icons {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: space-evenly;
  padding-left: 20px;
  text-transform: uppercase;
}

.icon {
  display: flex;
  flex-direction: row;
}

.icons img {
  width: 30px;
  height: 30px;
  margin-right: 20px;
}

.description {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.description h2 {
  font-size: 36px;
  margin-bottom: 20px;
  /* font-family: Daxpro; */
}

.description p {
  font-size: 18px;
}

/*********Products*********/

.product {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.product-img {
  width: auto;
  height: 100%;
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.product-img img {
  width: auto;
  max-height: 270px;
  height: 100%;
  transition: all 0.2s;
}

.overlay {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  top: -60px;
  left: 0;
  position: absolute;
  opacity: 0;
  transition: all 0.1s ease-out;
}

.overlay-img-1 {
  background-image: url("../img/skladovaci-technika-overlay.jpg");
}

.overlay-img-2 {
  background-image: url("../img/retraky-overlay.jpg");
}

.overlay-img-3 {
  background-image: url("../img/celni-vozik-overlay.jpg");
}

.overlay-img-4 {
  background-image: url("../img/tezkotonazni-voziky-overlay.jpg");
}

.overlay-img-5 {
  background-image: url("../img/plosiny-overlay.jpg");
}

.overlay-img-6 {
  background-image: url("../img/vna-overlay.jpg");
}

.overlay:hover {
  opacity: 1;
}

.btn-product {
  display: flex;
  flex-direction: row;
  color: var(--white);
  width: 100%;
  height: auto;
  background-color: var(--white);
  position: relative;
}

.btn-product a {
  width: 100%;
  height: auto;
  padding-left: 30px;
  padding-top: 20px;
  padding-bottom: 20px;
  color: var(--black);
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.1s ease-out;
}

.btn-product img {
  position: absolute;
  top: 12px;
  right: 0;
  padding-right: 30px;
  pointer-events: none;
}

.btn-product a:hover {
  background-color: var(--mainColor);
  color: var(--white);
}

/*********Publicity*********/

#publicity-two {
  margin-top: 80px;
}

.publicity-box-two {
  width: 100%;
  height: auto;
  min-height: 264px;
  margin: auto;
  padding: 30px 50px;
  background-color: var(--mainColor);
  color: var(--white);
  position: relative;
  display: flex;
  align-items: center;
}

.publicity-two-text h2 {
  line-height: 2.7rem;
}


.first-image {
  position: absolute;
  right: 300px;
  top: 40px;
  animation: float1 6s ease-in-out infinite;
}

.second-image {
  position: absolute;
  bottom: 50px;
  right: 50px;
  animation: float2 6s ease-in-out infinite;
}

/*********Contact*********/

#contact {
  margin-top: 100px;
  height: auto;
  min-height: 750px;
}

.uni-list {
  width: 100%;
  height: 100%;
  margin: auto;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.contact-list {
  background-color: var(--mainColor);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* align-items: left; */
}

.contact-list address {
    margin-top: 20px;
    margin-bottom: 20px;
}

.contact-form {
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-list-tel, .contact-list-email {
    color: var(--white);
    font-size: 24px;
}

.contact-list-tel {
  text-decoration: none;
  font-family: Daxpro-medium;
  font-weight: 500;
}

.ontact-list-email {
  font-family: Daxpro-medium;
  font-weight: 500;
}

.contact-list-map {
  width: 90%;
  height: auto;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

.contact-list-rental {
  width: 50%;
  height: auto;
}

.contact-form h3 {
  /* margin-bottom: 30px; */
  color: var(--black);
  font-size: 36px;
}

.errors {
  margin-top: 20px;
}

.errors p {
  margin: 0;
}

.message p{
  font-size: 24px;
  font-weight: 600;
  color: var(--mainColor);
}

#form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#form input {
  width: 100%;
  height: 55px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

#form input::placeholder {
  color: rgba(0, 0, 0, 0.2);
}

input:active,
input:focus {
  box-shadow: 0px 0px 1px 1px var(--mainColor);
  outline: none;
}

input:-webkit-autofill {
  -webkit-text-fill-color: var(--black);
  -webkit-box-shadow: 0 0 0px 40rem #fff inset;
}

#message {
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  resize: none;
}

#message::placeholder {
  color: rgba(0, 0, 0, 0.2);
}

#message:-webkit-autofill {
  -webkit-text-fill-color: var(--black);
  -webkit-box-shadow: 0 0 0px 40rem #fff inset;
}

#message:active,
#message:focus {
  box-shadow: 0px 0px 1px 1px var(--mainColor);
  outline: none;
}

#form label {
  margin-bottom: 7px;
}

.btn-form {
  width: 170px;
  height: 54px;
  margin-top: 25px;
  background-color: var(--white);
  color: #7f7f7f;
  border: 2px solid #7f7f7f;
  font-family: Daxpro-medium;
  font-weight: 700;
}

.btn-form:hover {
  background-color: #7f7f7f;
  color: var(--white);
  border: none;
}

.social-sites {
  width: 100%;
  margin-top: 40px;
}

.social-sites a {
  text-decoration: none;
  color: var(--black);
}

.social-sites-one svg {
  fill: #cccccc;
  /* transition: all 0.4s; */
}

.social-sites-one svg:hover {
  fill: var(--mainColor);
}

.social-sites-two {
  align-items: center;
  justify-content: space-evenly;
}

.social-sites-two a {
  transition: all 0.4s;
}

.social-sites-two a:hover {
  color: var(--mainColor);

}

/*********FOOTER*********/

/*********Footer*********/

#footer {
  margin-top: 30px;
  margin-bottom: 20px;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

footer a {
  text-decoration: none;
  color: #808080;
  font-weight: 500;
}

#footer p {
  color: #808080;
}

.carousel-control-prev:hover {
  opacity: 1;
  color: red;
}

/*********Keyframes*********/

/* @keyframes float1 {
  0% {
      transform: translatey(0px);
  }
  50% {
      transform: translatey(-10px);
  }
  100% {
      transform: translatey(0px);
  }
}

@keyframes float2 {
  0% {
      transform: translatey(0);
  }
  50% {
      transform: translatey(10px);
  }
  100% {
      transform: translatey(0px);
  }
} */