html,body{
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}


.top{
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: -1;
}

.top::before{
  content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url(images/rakije.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(50%);
    z-index: -1;
}



  .nadpis {
    font-size: 100px;
    color: whitesmoke;
    position: relative;
   left: 44%;
    top: 30%;
    font-family: "ff-cocon-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  .nadpis-800{
    font-size: 100px;
    color: whitesmoke;
    position: relative;
   left: 36%;
    top: 30%;
    font-family: "ff-cocon-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  .nadpis-500{
    font-size: 100px;
    color: whitesmoke;
    position: relative;
   left: 22%;
    top: 30%;
    font-family: "ff-cocon-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
  }



.demo a {
  position: absolute;
  left: 75%;
  top: 25%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.demo a:hover {
  opacity: .5;
}
section#section03 {
  position: relative;
  bottom: 13%;
  left: -25%;
  transform: translateY(-50%);
}
#section03 a {
  z-index: 10;
  padding-top: 60px;
}
.sipka{
  position: absolute;
  bottom: 40%;
  left: 75%;
}
#section03 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border: 1px solid #fff;
  border-radius: 100%;
  box-sizing: border-box;
}
#section03 a span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 16px;
  height: 16px;
  margin: -12px 0 0 -8px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}
#section03 a span::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  content: '';
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 0 rgba(255,255,255,.1);
  border-radius: 100%;
  opacity: 0;
  -webkit-animation: sdb03 3s infinite;
  animation: sdb03 3s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb03 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 60px rgba(255,255,255,.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb03 {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 60px rgba(255,255,255,.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/*2D galerie - program*/  
.gallery{
  padding-top: 15%;
  width: 100%;

}

.gallery::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: url(images/nature.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(50%);
  z-index: -1;
}

.gallery-container{
  align-items: center;
  display: flex;
  height: 600px;
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
}    
.gallery-item{
  height: 413px;
  opacity: 0;
  position: absolute;
  transition: all 0.3s ease-in-out;
  width: 330px;
  z-index: 0;
  border-radius: 15px;
  background-size: contain;
}  
.gallery-item-1{
left: 0%;
opacity: 0;
transform: translateX(-50%); 
}
.gallery-item-2, .gallery-item-4{
  height: 475px;
  opacity: 0;
  width: 380px;
  z-index: 1;
}
.gallery-item-2{
left: 25%;
transform: translateX(-50%);
  }
.gallery-item-3{
  box-shadow: -2px 5px 33px 6px rgb(0 0 0 / 35%);   
    height: 100%;
    opacity: 1;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 2;
    background-image: url(images/drevo.avif);
    background-size: cover;
  }
  .gallery-item-3-500{
    box-shadow: -2px 5px 33px 6px rgb(0 0 0 / 35%);   
      height: 130%;
      opacity: 1;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      z-index: 2;
      background-image: url(images/drevo.avif);
      background-size: cover;
      margin-top: 25%;
    }

.gallery-item-4{
    left: 75%;
    transform: translateX(-50%);

  }
.gallery-item-5{
    left: 100%;
    opacity: 0;
    transform: translateX(-50%);
  }
.gallery-controls{
    display: flex;
    justify-content: center;
    margin: 25px 0;
    height: 100px;
  }
.gallery-controls button{
    background-color: transparent;
    border: 0;
    cursor: pointer;
    font-size: 30px;
    margin: 0 50px;
    padding: 0 12px;
    text-transform: capitalize;
    outline: none;
    color: whitesmoke;
    z-index: 10;
  }
.gallery-controls-button:focus{
    outline: none;

  }
.gallery-controls-previous{
    position: relative;

  }
.gallery-controls-previous::before{
    border: solid whitesmoke;
    border-width: 0 5px 5px 0;
    content: "";
    display: inline-block;
    height: 5px;
    left: -30px;
    padding: 10px;
    position: absolute;
    top: 25%;
    transform: rotate(135deg) translateY(-50%);
    transition: left 0.15s ease-in-out;
    width: 5px;
  }
.gallery-controls-previous:hover::before{
    left: -40px;
  }
.gallery-controls-next{
    position: relative;
  }
.gallery-controls-next::before{
    border: solid whitesmoke;
    border-width: 0 5px 5px 0;
    content: "";
    display: inline-block;
    height: 5px;
    padding: 10px;
    position: absolute;
    right: -30px;
    top: 45px;
    transform: rotate(-45deg) translateY(-50%);
    transition: right 0.15s ease-in-out;
    width: 5px;
  }
.gallery-controls-next:hover:before{
    right: -40px;
  }
.gallery-nav{
    bottom: -15px;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    position: absolute;
    width: 100%;
  }
.gallery nav li{
    background: #ccc;
    border-radius: 50%;
    height: 10px;
    margin: 0 16px;
    width: 10px;
  }
.gallery-nav li.gallery-item-selected{
    background: #555;
  }

  .gallery-item-caption {
    overflow: hidden;
    position: absolute;
    left: 35%;
    right: 5%;
    height: 100%;
    background-color: rgba(36, 7, 7, 0.7);
    color: #fff;
    padding: 3%;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;    
  }
  .gallery-item-caption-500 {
    overflow: hidden;
    position: absolute;
    left: 2%;
    right: 2%;
    height: 100%;
    background-color: rgba(36, 7, 7, 0.7);
    color: #fff;
    padding: 3%;
    font-size: 14px;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;    
  }
  
  .gallery-item-3 .gallery-item-caption {
    opacity: 1;
  }

.image{
  position: absolute;
  left: -5%;
  top: 5%;
  border-radius: 15px;
}
.image-800{
  position: absolute;
  left: -11%;
  top: 5%;
  border-radius: 15px;
}
.image-500{
  position: absolute;
  left: -6%;
  top: 5%;
  border-radius: 15px;
}
.image-400{
  position: absolute;
  left: -10%;
  top: 5%;
  border-radius: 15px;
}

.image1{
  position: absolute;
  left: -5%;
  top: 5%;
  border-radius: 15px;
}
.image1-800{
  position: absolute;
  left: -11.8%;
  top: 5%;
  border-radius: 15px;
}
.image1-500{
  position: absolute;
  left: -6%;
  top: 5%;
  border-radius: 15px;
}
.image1-400{
  position: absolute;
  left: -13%;
  top: 5%;
  border-radius: 15px;
}

 
.gallery-item-caption h2{
  font-size: 75px;
  font-weight: bold;
  margin-bottom: 5px;
  font-family: "antonia-variable", sans-serif;
font-variation-settings: "opsz" 8, "wght" 300;
}

.gallery-item-caption p{

  font-size: 20px;
  margin-bottom: 5px;
  text-align: justify;
}

.gallery-item-caption h3{
  font-family: "antonia-variable", sans-serif;
font-variation-settings: "opsz" 8, "wght" 300;
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 5px;
}
.gallery-item-caption-500 h2{
  font-size: 75px;
  font-weight: bold;
  margin-bottom: 5px;
  font-family: "antonia-variable", sans-serif;
font-variation-settings: "opsz" 8, "wght" 300;
}

.gallery-item-caption-500 p{

  font-size: 20px;
  margin-bottom: 5px;
  text-align: justify;
}

.gallery-item-caption-500 h3{
  font-family: "antonia-variable", sans-serif;
font-variation-settings: "opsz" 8, "wght" 300;
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 5px;
}



hr{
  border-top: 2px solid whitesmoke;
  width: 100%;

}

.odstavec{
  margin-top: 2%;
}

.cara{
  border-top: 2px solid black;
  width: 75%;
}
/*responzivní obrázky 1*/
.circle2{
  border-radius: 50%;
  transform: translate(25%);
}
.circle2-1500{
  position: absolute;
  border-radius: 50%;
 top: 20%;
}
.circle2-800{
  border-radius: 50%;
    transform: translate(50%);
    position: relative;
    right: 2%;
}
.circle2-500{
  border-radius: 50%;
  position: relative;
  right: 1%;
}
.circle2-400{
  border-radius: 50%;
  scale: 75%;
  right: 9%;
  position: relative;
}
/*responzivní obrázky 2*/
.circle1{
  border-radius: 50%;
}
.circle1-1500{
  border-radius: 50%;
  position: absolute;
  right: 2%;
}
.circle1-800{
  transform: translate(50%);
  position: relative;
  border-radius: 50%;
  right: 2%;
}
.circle1-500{
  border-radius: 50%;
  position: relative;
  right: 1%;
}
.circle1-400{
  border-radius: 50%;
  scale: 75%;
  right: 9%;
  position: relative;
}



.cast1{
  padding-top: 5%;
  padding-bottom: 3%;
}
.cast{
  background-color: beige;
}
.paticka {
  background-color: beige;
}
.paticka a{
  text-decoration: none;
  color: black;
}

.odstavec p{
  padding-left: 10%;
  padding-right: 10%;
  font-size: 115%;
}

.cast2{
  padding-top: 3%;
  padding-bottom: 5%;
}

.odstavec3{
  margin-top: 4%;
}
.odstavec3 p{
  padding-left: 10%;
  padding-right: 10%;
  font-size: 115%;
}

