@font-face {
  font-family: Poppins;
  src: url(Other/fonts/Poppins-Light.ttf);
}
@font-face {
  font-family: Caveat;
  src: url(Other/fonts/Caveat-VariableFont_wght.ttf);
  font-weight: normal;
}
@font-face {
  font-family: Oswald;
  src: url(Other/fonts/Oswald-Light.ttf);
  font-weight: normal;
}
html{
  scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #313338;
}
.obsah{
  min-height: 90vh;
}

.obsahplus{
  min-height: 110vh;
}
.onas{
  margin-bottom: 20px;
}

/* Navigace */
li, a, button{
  font-family: "Poppins";
  font-weight: 400;
  font-size: 16px;
  color: white;
  text-decoration: none;
}
header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:30px 3%;
  position: relative;
}
.hlavička{
  border-bottom: 2px solid #0A88C2;
}

.logo-placement{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo{
  cursor: pointer;
  max-height: 50px;
}
.nav-kategorie{
  list-style: none;
  display: flex;
  gap:5px;
}
.nav-kategorie li{
  display: inline-block;
}

.nav-kategorie li a {
  position: relative;
  padding: 5px 10px;
  display: inline-block;
  border: 2px solid transparent;
  border-radius: 50px;
  transition: all 0.4s ease-in-out;
}

.nav-kategorie li a:hover, 
.nav-kategorie li a:active {
  background-color: rgba(255, 255, 255, 0.1);
}

.formularB button{
  padding: 9px 25px;
  background-color: #0A88C2;
  border:none;
  border-radius: 50px;
  cursor:pointer;
  transition: all 0.3s ease 0s;
}
button:hover{
  background-color: #0a88c2c0;
}

#hamburger-menu{
  display:none;
  list-style: none;
  text-decoration: none;
  color: white;
  text-align: left;
  font-size: 20px;
  cursor:pointer;
}

.Ham-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background-color: black;
  margin-top: 2px;
}
.Ham-nav ul {
  list-style: none;
}

.Ham-nav li {
  border-bottom: 1px solid rgb(31, 31, 31);
  text-align: center;
  padding: 0;
}

.Ham-nav li a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 15px 20px; 
  width: 100%;
  height: 100%;
  border-bottom: 1px solid transparent;
  border-right: 1px solid transparent;
  border-left: 1px solid transparent;
}

.Ham-nav li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
} 
.Ham-nav.active {
  display: block;
}

/* Konec-Navigace */

/* Footer */
.spodek{
  background-color: black;
  color: rgb(177, 177, 177);
  text-align: center;
  padding-top: 15px;
  font-size: 9px;
  font-family: Poppins;
}
.footer-logo{
  height: 32px;
}
.Copyright-footer{
  padding-top: 10px;
  padding-bottom: 20px;
  font-size: 12px;
}
/* Konec-Footer */

/* Responzivita */
.container {
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  @media (max-width: 2564px) {
    .container {
      max-width: 1780px;
    }
    .logo{
      height: 40px;
    }
    .moto p{
      max-width: 500px;
    }
    iframe{
      height: 600px;
      width: 600px;
    }
    .soc{
      width: 50px;
      height: 50px;
    }
  }
  
  @media (max-width: 1536px) {
    .container {
      max-width: 1280px;
    }
    .logo{
      height: 30px;
    }

  }
  
  @media (max-width: 1280px) {
    .container {
      max-width: 1024px;
    }
    .logo{
      height: 25px;
    }
    .MainObsah {
      gap: 20px; 
    }
    iframe{
      height: 550px;
      width: 450px;
    }
  }

  
  @media (max-width: 1024px) {
    .container {
      max-width: 768px;
    }
    #hamburger-menu {
      display: flex;
    }
    .nav-kategorie {
      display: none;
    }
    .formularB button{
      padding: 9px 20px;
      font-size: 13px;
      background-color: #0A88C2;
      border:none;
      border-radius: 50px;
      cursor:pointer;
      transition: all 0.3s ease 0s;
    }
    .moto p{
      max-width: 300px;
    }
    .karty{
      flex-direction: column;
      align-items: center;
    }
    .karta{
      width: 80%;
    }
    .sloupce{
      flex-direction: column;
      align-items: center;
    }
    iframe{
      height: 400px;
      width: 350px;
    }
  }
  
  @media (max-width: 768px) {
    .container {
      max-width: 640px;
    }
    .logo{
      height: 20px;
    }

    .kontakt {
      flex-direction: column;
      align-items: center;   
  }

  .kontakt-item {
      width: 100%;          
      max-width: 300px;    
      margin: 10px auto;    
  }

  .boxiky{
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    font-size: 4px;
    gap:10px;

    
  }
  .MainObsah{
    flex-direction: column;
    align-items: center;
  }
  .motoBox{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  iframe{
    height: 300px;
    width: 300px;
    margin-bottom: 25px;
    width: 100%;
  }
}
  
  @media (max-width: 640px) {
    .container {
      max-width: 475px;
    }
    .formularB button{
      padding: 9px 15px;
      font-size: 10px;
      background-color: #0A88C2;
      border:none;
      border-radius: 50px;
      cursor:pointer;
      transition: all 0.3s ease 0s;
    }
    iframe{
      height: 300px;
      width: 250px;
    }
  }
  
  @media (max-width: 475px) {
    .container {
      width: 100%;
    }
    .boxiky{
      flex-direction: column;
      gap: 12px;
    }
    .kontakt-left{
      margin: auto;
      padding-bottom: 20px;
    }
    .kontakt-left td{
      text-align: right;
    }
    .soc{
      font-size: 20px;  
      height: 40px;
    }
  }
  
/* Konec-Responzivity */



/* Kontakt */
.kontakt{
  font-family: Poppins;
  display: flex;
  justify-content: center;
  gap:60px;
}

.sekce {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  color:white;
  padding-bottom: 36px;
  padding-right: 25px;
}

.sekce p{
  font-size: 14px;
  text-align: center;
}
.sekce i{
  padding-right: 25px;
  font-size: 50px;
}
.sekce h5{
  font-size: 16px;
}

.left-side h2{
  padding-top: 30px;
  padding-bottom: 30px;
}

.kontakt-nadpis{
  color:white;
  padding-top: 20px;
  padding-bottom: 20px;
}
.soc-ikony{
  display: flex;
  justify-content: center;
  gap:12px;
}
.soc{
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 50px;
  max-height: 50px;
  border-radius: 50px;
  background-color: #0A88C2; 
  color: white; 
  font-size: 24px;  
}
.soc:hover{
  scale:1.03;
  color:rgba(255, 255, 255, 0.788);
  background-color: #0077b5;
}

/* Nastavení pro mapu */
.map h2{
  color:white;
  padding-top: 30px;
  padding-bottom: 30px;
}
iframe{
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}
.left-side{
  width: 50%;
  height: 100%;
  text-align: center;
}
.kontakt-info{
  text-align: center;
  margin: auto;
}
.right-side{
  width: 50%;
  height: 100%;
  text-align: center;
}
/* konec mapy */

/* Hlavní stránka*/
.MainObsah {
  display: flex;
  justify-content: center; 
  align-items: center; 
  gap: 40px; 
  padding: 50px; 
  padding-top: 150px;
}

.moto {
  padding: 0; 
  font-size: 30px;
  max-width: 500px; 
  text-align: left;
}

.moto h1{
  color:#0A88C2;
  font-family: "Poppins";
}
.moto h2{
 font-family: Caveat;
}
.moto p{
  font-size: 17px;
  color: #b8b8b8;
  font-family: "Poppins";
}

.boxiky{
  justify-content: space-between;
  display: flex;
  max-width: 700px;
  margin: auto;
  margin-top: 200px;
  align-items: center;
}
.boxik{
  border: none;
  border-radius: 50px;
  background-color: #0A88C2;
  width: 170px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 20px;
  font-family: "Poppins";
  color:white;
  transition: all 0.2s ease 0s;
  cursor: default;
}

.boxik:hover{
  background-color: #0a88c2d7;
  color: rgba(255, 255, 255, 0.527);
}

.podnadpis{
  Color:white;
  font-family: Poppins;
  text-align: center;
  font-size: 30px;
  border-bottom: 2px solid #0A88C2;
}

.onas p{
  color: rgb(184, 184, 184);
  font-family: Poppins;
  font-size: 16px;
  padding: 30px 15px 100px 15px;
}
.onas img{
 display: block;
 margin-left: auto;
 margin-right: auto;
 width: 65%;
}

.klavesnice {
  max-width: 300px;
  margin: 0;
  align-items: center; 
  margin-top: 0;
}

.klavesnice-obsah{
  font-family: Poppins;
  padding-left: 15px;
  padding-right: 15px;
}
.text{ 
  color: white;
  padding-top: 50px;
}
.klavesnice-obsah p{
  padding-top: 10px;
  color:rgb(184, 184, 184);
}
.centre{
  text-align: center;
  align-items: center;
  justify-content: center;
}

.karty {
  display: flex;
  margin-top: 20px;
  flex-direction: row;
  flex-wrap: wrap; 
  width: 100%;
  justify-content: center; 
  gap: 20px; 
}

.karta {
  width: 300px;
  height: 250px;
  background-color: #0A88C2;
  border: none;
  align-items: center;
  transition: 0.2s ease;
  margin-bottom: 15px;
}
.karta:hover{
  cursor: default;
  background-color: #0a88c2d8;
  scale: 1.03;
}
.karta h3{
  text-align: center;
  padding-top: 10px;
  color: white;
  padding-bottom: 10px;
}
.karta p{
  color:rgb(184, 184, 184);
  padding-left: 10px;
  padding-right: 10px;
  font-size: 20px;
  text-align: center;
}

.sloupce{
  display: flex;
  margin-top: 35px;
  flex-direction: row;
  flex-wrap: wrap; 
  width: 100%;
  justify-content: center; 
  gap:50px;
  margin-bottom: 25px;
}
.sloupec{
  width: 500px;
}
.sloupec h2{
  color: white;
}
.sloupec p{
  color:rgb(184, 184, 184);
}
.cast-prvni{
  max-width: 1000px;
  margin: auto;
}

.scrollanimace{
  opacity: 0;
  transition: 200ms ease-in-out transform,
              200ms ease-in-out opacity;
}
.img1{
  transform: translateX(-100%);
}
.img2{
  transform: translateX(-100%);
}
.img3{
  transform: translateX(-100%);
}


.show_content{
  opacity: 1;
  transform: translateX(0);
}

form{
  width: 340px;
  height: 360px;
  background-color: #0A88C2;
  border-radius: 50px;
  margin: auto;
  margin-top: 100px;
  box-shadow: 0 0 40px -10px #000;
  font-family: Poppins;
  padding: 20px 30px;
  max-width: calc(100vw - 40px);
}
input {
  width: 100%;
  padding: 10px;
  border: none;
  transition: all 0.3s;
  border-bottom: 2px solid #0a88c28e;

}
.parg{
  color:white;
  padding-top: 10px;
  font-size: 16px;
}
.sendBut{
  background-color: #000;
  color:white;
  cursor: pointer;
  font-family: Poppins;
  border-radius: 50px;
  border:none;

}
.sendBut:hover{
  background-color: #000000da;
}
textarea{
  resize: none;
  width: 100%;
  height: 75px;
}

.NavratNote{
  font-family: Poppins;
  border:none;
  background-color: #0A88C2;
  border-radius: 50px;
  width: 300px;
  height: 300px;
  margin: auto;
  text-align: center;
  padding: 20px 10px 0px 10px;
  color:white;
  font-size: 20px;
  margin-top: 150px;
  box-shadow: 0 0 40px -10px #000;
  padding-top: 40px;
 }
 .NavratLogo{
  padding-top: 50px;
  height: 50px;
  margin: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
 }