* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /*font-family: "Roboto", sans-serif;*/
  font-family: "Mukta", sans-serif;
  scroll-behavior: smooth;
}
html {
  min-height: -webkit-fill-available;
}

body {
  background-color: rgba(76, 175, 80, 0.3);
  background-image: url("./zigzagwool.png");
  background-repeat: repeat;
  overflow-x: hidden;
  min-height: -webkit-fill-available;
}

#domov .video-container {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#domov .video-container video {
  /* Make video to at least 100% wide and tall */
  min-width: 100%;
  min-height: 100%;
  overflow: hidden;

  /* Setting width & height to auto prevents the browser from stretching or squishing the video */
  width: auto;
  height: auto;

  /* Center the video */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#domov nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 10vh;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  /* background-color: rgba(240, 240, 240); */
  background-color: #bb0302;
  position: fixed;
  width: 100%;
  z-index: 555;
}

#domov #logo {
  /* background-color:#f0f0f0; */
  margin-left: 1rem;
  opacity: 0;
  transform: scale(0);
}

#domov .logo img {
  max-width: 200px;
  width: 100%;
  height: auto;
  padding: 5px;
}

#domov .nav-links {
  margin-bottom: 0;
}

#domov .nav-links li {
  list-style: none;
  display: inline-block;
  padding: 0.5rem;
}

#domov .nav-links li a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 400;
  border-bottom: 2px solid #fff;
  position: relative;
  margin-right: 0.7rem;
}

#domov .nav-links li a:after {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  height: calc(100% + 4px);
  width: 100%;
  background: #bb0302;
  transition: 0.5s ease-in-out;
  transform: scaleX(1);
}

#domov .nav-links li a:hover:after {
  transform: scaleX(0);
}

#domov .nav-links li a span,
#domov .nav-links li a img {
  position: relative;
  z-index: 3;
  width: 20px;
  height: auto;
}

#domov nav .burger {
  display: none;
}

#domov nav .burger div {
  width: 25px;
  height: 3px;
  background-color: #f0f0f0;
  margin: 5px;
  transition: all 0.3s ease;
}

.language a {
  color: #fff;
  text-decoration: none;
}

.language a:hover {
  color: #fff;
  text-decoration: none;
}

/* MAIN */
.main {
  width: 100%;
  height: 100vh;
  /* background-image: url(./truck_bg.jpg); */
  background-size: cover;
  position: relative;
}

.main-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  z-index: 2;
  background: #333;
  opacity: 0.2;
}

.scroll #scroll {
  display: inline-block;
  color: white;
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  z-index: 5;
  padding-bottom: 2rem;
}

.scroll #scroll i {
  animation: myscale 1s infinite;
}

@keyframes myscale {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* O NAS CONTENTCONTENT */

#onas {
  height: 100vh;
}

#onas .main-content {
  color: #f0f0f0;
  text-align: center;
}

#onas .main-content #line {
  width: 150px;
  height: 1px;
  background: #f0f0f0;
  margin: 0 auto;
  transform: scale(0);
}

#onas .main-content h1 {
  font-size: 5rem;
  padding-top: 12vh;
}

#onas .main-content h1 #heading-1 {
  display: inline-block;
  transform: scale(0);
  opacity: 0;
}

#onas .main-content h1 #heading-2 {
  display: inline-block;
  transform: scale(0);
  opacity: 0;
}
.content {
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

.content .content-text {
  margin-top: 20px;
  overflow: hidden;
  color: #f0f0f0;
  max-width: 50%;
  padding: 25px;
  text-align: center;
}

.content .content-text h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  padding-top: 2rem;
}

.content .content-text p {
  font-size: 24px;
  line-height: 2;
  text-align: center;
}

.content .info {
  color: #f0f0f0;
  margin: 0 auto;
}

.content .info div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 1s ease;
  font-size: 1.8rem;
}

.content .info div p,
.content .info div a {
  margin-top: 20px;
  max-width: 350px;
  text-align: center;
  padding: 1rem;
}

.content .info div i {
  padding: 2rem;
  text-align: left;
}

.content .info div a {
  text-decoration: none;
  color: #f0f0f0;
}

.info div:hover {
  color: #bb0302;
  border-bottom: 1px solid #bb0302;
}

/*VOZOVY PARK*/

#vozovypark {
  height: 100vh;
}

#vozovypark h1 {
  font-size: 5rem;
  padding-top: 12vh;
}

.container-fluid {
  padding: 0;
}

.container-fluid h1 {
  color: #f0f0f0;
  text-align: center;
  padding: 3rem 0;
}

.container-fluid .row .col-sm-5 .popis h3 {
  font-size: 3rem;
  padding: 2rem;
}

.container-fluid .row .col-sm-5 .popis {
  text-align: center;
  color: #f0f0f0;
  padding: 0;
  position: relative;
  top: 40%;
  transform: translateY(-50%);
  padding: 2rem;
}

.container-fluid .row .col-sm-5 .popis ul {
  list-style: none;
}

.container-fluid .row .col-sm-5 .popis ul li {
  font-size: 2rem;
  padding: 1rem;
}

.container-fluid .row .col-sm-7 img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  padding: 0;
  margin-top: 50px;
}

/* KRAJINY */

.krajiny {
  padding-top: 12vh;
  text-align: center;
  color: #f0f0f0;
}

.krajiny h1 {
  color: #f0f0f0;
  text-align: center;
  font-size: 5rem;
}

.krajiny p {
  font-size: 3rem;
}

/*KONTAKT*/

.contact {
  display: flex;
  background: #bb0302;
  color: #f0f0f0;
  justify-content: space-around;
  height: 250px;
}

.contact .contact-map {
  width: 50%;
  height: 200px;
}

.contact .contact-main {
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contact .contact-main > div {
  text-align: center;
  margin: auto;
  vertical-align: middle;
}

.contact .contact-main > div i {
  margin-right: 2rem;
}

.contact .contact-main .contact-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #fff;
}

.contact .contact-main .contact-address p {
  text-decoration: none;
  color: #fff;
}

.contact .contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

.contact .contact-email a {
  text-decoration: none;
  color: #fff;
}

#footer {
  height: 10vh;
  background-color: #bb0302;
  font-size: 1.5rem;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0;
  margin: 0;
}

#footer .copyright {
  color: white;
  padding: 2rem 0;
  margin: 0 4rem;
}

#footer .copyright a {
  text-decoration: none;
  color: white;
}

#footer .home-btn a {
  text-decoration: none;
  color: white;
  padding: 2rem 0;
  margin: 0 4rem;
}

/*KONTAKTNY FORMULAR*/

#form {
  color: #fff;
  text-align: center;
  margin: 50px;
}

#form h2 {
  font-size: 36px;
  margin-bottom: 4rem;
}

#form p {
  font-size: 18px;
  margin-bottom: 4rem;
}

#form form {
  transition: all 4s ease-in-out;
}

#form form .form-control {
  max-width: 800px;
  background: transparent;
  outline: none;
  border-color: #fff;
  color: #fff;
  font-size: 18px;
  margin: 1rem auto;
}

#form form .submit {
  vertical-align: center;
  background: #bb0302;
  letter-spacing: 1px;
  max-width: 400px;
  display: inline-block;
  padding: 1rem auto;
}

/* RESPONSIVE */

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .nm {
    flex-direction: column;
    height: 100%;
  }

  .nm > div {
    border-bottom: 1px solid white;
    width: 200%;
  }

  .nm > div:last-child {
    border-bottom: none;
    display: block;
  }

  #domov nav .nav-links {
    position: absolute;
    right: 0px;
    top: 10vh;
    height: 90vh;
    background-color: #bb0302;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 50%;
    transform: translateX(110%);
    transition: transform 0.5s ease-in;
    margin-right: 0;
  }

  #domov nav .burger {
    display: block;
    cursor: pointer;
    margin-right: 1rem;
  }

  #domov nav .nav-active {
    transform: translateX(10%);
  }

  #domov nav .nav-active li {
    /* display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto; */
    border-bottom: 1px solid white;
    margin-right: 0px;
    padding-bottom: 0.5rem;
  }

  #domov nav .nav-active li a {
    margin-right: 0px;
    font-size: 2rem;
    letter-spacing: 2px;
  }

  #domov nav .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  #domov nav .toggle .line2 {
    opacity: 0;
  }

  #domov nav .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* #scroll {
    bottom: 10%;
  } */

  .content {
    display: block;
  }

  .content .content-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .content .info div {
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
  }

  .contact {
    display: block;
  }

  #onas {
    height: 100%;
  }

  #vozovypark {
    height: 100%;
  }

  .contact .contact-main {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .contact .contact-main > div {
    padding-bottom: 2rem;
    /* flex-direction: row; */
  }

  .contact .contact-map {
    width: 100%;
    height: auto;
  }

  .main-content h1 {
    color: #f0f0f0;
    font-size: 3rem;
    margin-bottom: 40px;
  }

  .contact {
    width: 100%;
    height: auto;
  }

  #footer {
    width: 100%;
    height: auto;
    background-color: #bb0302;
    font-size: 1.4rem;
  }

  #domov .nav-links li a img {
    margin-right: 10px;
    margin-left: 10px;
    border-bottom: none;
  }
}
