@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 550;
  font-size: 17px;
  
}
body {
   background: linear-gradient(rgb(255, 255, 255)570px,rgb(74, 195, 255)700px, rgb(0, 86, 157)80%) no-repeat;
  background-size: cover;
}



.bazeny_pozadi {
  min-height: 100vh;
  background: linear-gradient(rgb(0,140,255) 13%, rgb(0, 93, 181) 100%) no-repeat;
}

.sus {
  border-bottom: solid 1px white;
  padding-bottom: 10px;
  font-size: 25px;
  font-weight: bold;
  
}

.nadpis {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 200px;
  margin-bottom: 150px;
  padding: 0;
  min-height: 0;
}
.nadpis_logo {
  height: 250px;
  margin-top: 30px;
}

.menu_vyber {
  display: flex;
  justify-content: space-evenly;
  padding: 0px;
  width: 100%;

  
  
}

.menu_vyber tr{
  display: flex;
justify-content: space-around;
align-items: center;

}

.menu_vyber tr a{
  font-size: 17px;
}


.menu_vyber_full {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  
}
.bazeny_img {
  max-width: 700px;
  border-radius: 20px;
  
}

.Obsah_wrapper{
  background: rgba(0, 77, 139, 1);
  padding: 20px;
  border-radius: 20px;
  width: 600px;
  margin-top: 100px;
  max-width: 600px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}
.Obsah_wrapper2{
  background: rgba(0, 77, 139, 1);
  padding: 20px;
  border-radius: 20px;
  margin-top: 100px;
  max-width: 1200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 200px;

}

.img_baground {
  width: 560px;
  height: 180px;
  overflow: hidden;
  background-color: rgb(0, 56, 103);
  border-radius: 12px;
  position: relative;
  
  
  
}

.img_baground img {
  object-fit: cover;
  opacity: 48%;
}
.img2 {
  width: 700px;
  height: 180px;
  object-fit: cover;
  opacity: 48%;
  border-radius: 12px;
}

.text-img {
  position: absolute;
  color: white;
  font-size: 40px;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  bottom: 40%;     /* umístění textu */
  left: 35%;
}



.bazeny_wrapper {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-top: -50px;
}
.bazeny_menu_wrapper {
  display: grid; 
  place-items: center;
  width: 800px;
  transition: 0.3s ease;
  transition: 
        top 0.9s cubic-bezier(.77,0,.18,1),
        left 0.9s cubic-bezier(.77,0,.18,1),
        transform 0.9s cubic-bezier(.77,0,.18,1),
        background 0.3s;
  
}
.bazeny_menu_wrapper2 {
  display: grid; 
  place-items: center;
  width: 880px;
  transition: 
        top 0.9s cubic-bezier(.77,0,.18,1),
        left 0.9s cubic-bezier(.77,0,.18,1),
        transform 0.9s cubic-bezier(.77,0,.18,1),
        background 0.3s;
  
}

.menu_vyber_text {
  color: white;
  
}
.bazeny_menu_vyber_nadpis {
  color: white;
  width: 600px;
  height: 100px;

  
}
.bazeny_menu_vyber_text {
  color: white;
  width: 600px;
  height: fit-content;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
  max-height: 1000px;
  transform: translateY(0); /* No slide, just fade */
}
.bazeny_menu_vyber_text2 {
  color: white;
  width: 600px;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
  max-height: 1000px;
  transform: translateY(0); /* No slide, just fade */
}


button {
  border: none;
  background: #005da8;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  padding: 10px;
  
}


.nadpis_text {
  text-align: center;
  font-size: 22px;
  color: rgb(0, 123, 255);
  font-weight: bold;
  width: 800px;

}

.bazeny_nadpis_text {
  text-align: center;
  font-size: 30px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
}
.kontakt_nadpis_text {
  text-align: center;
  font-size: 30px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  margin-top: 200px;
  margin-bottom: 0;
  
}

.nadpis_podnadpis {
  color: rgb(49, 179, 216);
  position: absolute;
  left: 26%;
  top: 400px;
  
}

.wrapper { 
 display: flex;
 justify-content: center;
}

.obsah_podnadpis2 {
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 30px;
  margin-top: 150px;
  text-wrap: pretty;
}

.obsah_podnadpis3 {
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 22px;
  padding-bottom: 50px;
  margin: 0px;
  text-wrap: pretty;
}

.obsah_podnadpis{
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 30px;
  margin-top: 200px;
  margin-bottom: 50px;
}

.Obsah_text {
  background-color: rgb(0, 56, 103);
  margin-right: 20px;
  border-radius: 20px;
  padding: 20px;
  max-width: 700px;
  color: white;
  font-size: 15px;
}
.Obsah_text2 {
  background-color: rgb(0, 56, 103);
  margin-right: 20px;
  border-radius: 20px;
  padding: 20px;
  max-width: 700px;
  color: white;
  font-size: 15px;
}

.bazeny_Obsah_text {
  color: white;
  text-align: center;
  text-wrap: wrap;
  padding: 20px;
  
}

.Obsah_logo {
  border-radius: 20px;
  height: 200px;
  
  
}

.Obsah_logo_duck {
  width: 200px;
}
li, a {
  font-family: "Montserrat", sans-serif;
  font-weight: 550;
  font-size: 13px;
  text-decoration: none;
  color: rgb(0, 0, 0);
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: rgb(255, 255, 255);
  position: fixed;
  top: 0; /* Tady bude dynamicky měněno pomocí JavaScriptu */
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgb(160, 160, 160);
  box-shadow: 0 2px 5px rgba(128, 128, 128, 0.1);
  transition: top 0.3s ease; /* Animace pro hladký pohyb */
}

.nav_links {
  list-style: none;
}
.nav_links li {
  display: inline-block;
  padding: 0px 30px;
}
.nav_links li a {
  transition: all 0.3s ease 0s;
}
.nav_links li a:hover {
  color: rgb(0, 123, 255);
}
.button{
  cursor: pointer;
  padding: 9px 25px;
  background-color: rgb(204, 203, 203);
  border: none;
  border-radius: 50px;
  transition: all 0.5s ease 0s;
  font-size: 13px;
  font-weight: 500;
  width: fit-content;
}
.button:hover {
  background-color:rgb(62, 153, 213) ;
}



.modre_pozadi {
  background: rgb(21, 177, 255);
  background-size: auto 100vh;
  display: grid;

}
.pozadi {
  background: rgba(0, 86, 156, 1);
  width: 60%;
  height: fit-content;
  margin-top: 10rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-evenly

}
.main-center {

  place-items: center;
  margin: 0px;
}

.pozadi .kontakt-text{
  font-size: 18px;
  color: white;
  background-color: rgba(0, 77, 139, 1);
  margin: 40px;
  width: fit-content;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  padding: 10px;
  
  
}
.kontakt-text a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 150px;
  

  
}
.pozadi_spodek{
  background: rgb(0, 71, 129);
  width: 100%;
  height: 200px;
  margin-top: 18rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  
  
}

.QR{
  display: grid;
  float: right;
  margin-top: 60px;
  margin-right: 40px;
  
  

}
h2{
  color: rgb(0, 0, 0);
  text-align: center;
}

.QR-text{
  font-size: 23px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  padding-bottom: 15px;
  
}
.modal{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  z-index: 10;
  width: 500px;
  max-width: 70%;
  display: none;
}

.hidden-slide {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1) !important;
}
.slide-in {
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1) !important;
    
}

.centered-bazen {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(1) !important;
    z-index: 2000 !important;
    background: #005da8 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border-radius: 20px;
    width: 600px;
    min-height: 320px;
    padding: 8px 0;
    transition: 
        width 0.9s cubic-bezier(.77,0,.18,1),
        min-width 0.9s cubic-bezier(.77,0,.18,1),
        max-width 0.9s cubic-bezier(.77,0,.18,1),
        height 0.9s cubic-bezier(.77,0,.18,1),
        min-height 0.9s cubic-bezier(.77,0,.18,1),
        top 0.9s cubic-bezier(.77,0,.18,1),
        left 0.9s cubic-bezier(.77,0,.18,1),
        transform 0.9s cubic-bezier(.77,0,.18,1),
        background 0.3s;
    display: grid;
    place-items: center;
}
.centered-bazen > * {
    width: 100% !important;
    box-sizing: border-box;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1);
}
.centered-bazen .bazeny_img {
    width: 100% !important;
    max-width: 350px;
    height: auto;
    margin: 0 auto;
    display: block;
}


@media (max-width: 1200px) {
  body {
   background: linear-gradient(rgb(255, 255, 255)1500px,rgb(74, 195, 255)1600px, rgb(0, 86, 157)50%), no-repeat;
  background-size: cover;
  }

  .nav_links li a {
    font-size: 50px;
  }

  .gnome .button {
    font-size: 50px;
  }

  .obsah_podnadpis{
    font-size: 150px;
    margin-top: 500px;
    margin-bottom: 200px;
    background-color: red;
    margin-left: 520px;

    
  }
  .nadpis_logo {
    height: 650px;
    margin-top: 300px;
    margin-left: 320px;
    
  }
  .nadpis_text {
    font-size: 70px;
    width: 130%;
    margin-left: 350px;
    
  
  }

  .nadpis {
    align-items: center;
    justify-self: start;
    flex-direction: column;
    position: relative;
    left: 15%;
    

  }
  .nadpis_podnadpis{
    position: absolute;
    left: 270px;
    top: 500px;
    width: 1000px;
    font-size: 60px;
  }


  
  .bazeny_nadpis_text {
    font-size: 70px;
    margin-top: 50px;
  }
  .menu_vyber {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: fit-content;
    margin-bottom: 500px;
    flex-direction: column;
    width: fit-content;
    margin-left: 80px;

  }



  .menu_vyber  button{
    width: 1300px;
    margin-top: 100px;
    height: 300px;

  }

  .menu_vyber button a{
    font-size: 80px;

  }

  .menu_vyber .Obsah_wrapper{
    height: fit-content;
    max-width: 1500px;
    width: 1300px;
    margin-bottom: 1500px;


  }

  .menu_vyber .Obsah_wrapper2{
    width: 1300px;
    height: fit-content;
    margin-top: -1600px;
    max-width: 1300px;

    

  }

  .menu_vyber .Obsah_wrapper .Obsah_text{
    height: fit-content;
    font-size: 60px;
    max-width: 1500px;
    width: 1300px;
    padding: 70px;
    margin-left: -25px;
  }

  .menu_vyber .Obsah_wrapper2 .Obsah_text2{
    font-size: 60px;
    width: 1100px;
    max-width: 1200px;
    padding: 70px;
    margin-left: 70px;

  }

  .wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    flex-direction: column;
  }

  .wrap .Obsah_logo{
    height: 900px;
    margin-bottom: 100px;
    margin-top: 120px;
    margin-left: 50px;
    width: 1100px;

  }

  .menu_vyber .Obsah_wrapper .obsah_podnadpis3{
    font-size: 120px;

  
  }

.menu_vyber .Obsah_wrapper2 .obsah_podnadpis3{
  font-size: 150px;
  margin-top: 100px;
  }

  .menu_vyber .Obsah_wrapper .img_baground{
    width: 1200px;
    margin: 50px;
    height: 600px;
    margin-left: 30px;
  }

  .menu_vyber .Obsah_wrapper .img_baground .text-img{

    font-size: 120px;
    left: 30%;


  }


  .pozadi{
    flex-direction: column;
    width: 90%;
    height: fit-content;
  }
  .pozadi .kontakt-text{

    max-height: 250px;
    width: 90%;
  }

  .button {
    font-size: 30px;
  }

  li, a {
  font-family: "Montserrat", sans-serif;
  font-weight: 550;
  font-size: 30px;
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.bazeny_nadpis_text{
  text-align: center;
  font-size: 70px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  margin-top: 50px;
}

.bazeny_Obsah_text {
  color: white;
  text-align: center;
  text-wrap: wrap;
  padding: 20px;
  font-size: 50px;


  }
    
.bazeny_pozadi {
  background: linear-gradient(rgb(0,140,255) 13%, rgb(0, 93, 181) 100%);
  background-size: cover;
  background-blend-mode: color;
  
  
}


}