/*========== Google fonts ==========*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*========== Main CSS ==========*/
:root{
  /*======= Main colors =======*/
  --first-color: #ffff;
  --second-color: #5d9afc;
  --third-color: #000;

  /*======= Other colors =======*/
  --body-bg-color: #161f33;
  --hover-red-color: #fe5578;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

a{
  text-decoration: none;
}

body{
  position: relative;
  min-height: 100vh;
  /*background: var(--body-bg-color);*/
}

.main-section{
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-section .logo{
  z-index: 999;
  position: absolute;
  top: 50px;
  left: 100px;
  color: var(--first-color);
  font-size: 1.8em;
  font-weight: 600;
  text-decoration: none;
}

.main-section .logo .logo-logo{
  width: 20vw;  
}

/*========== Menu ==========*/
body{
  min-height: 100vh;
  background: url(../images/banner-fondo.jpg)no-repeat;
  background-size: cover;
  background-position: center;
 }
 
 .side-bar{
  background: rgba(50 37 138 / 0.3);
  backdrop-filter: blur(30px);
  width: 290px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -100%;
  overflow-y: auto;
  transition: 0.6s ease;
  transition-property: left;
  z-index: 999; 
  font-size: 1.2em; 
 }
 
 .side-bar.active{
  left: 0;  
 }
 
 .side-bar .menu{
  width: 100%;
  margin-top: 80px;  
 }
 
 .side-bar .menu .item{
  position: relative;
  cursor: pointer;  
 }
 
 .side-bar .menu .item a{
  font-family: "Poppins", serif;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  display: block;
  padding: 5px 30px;
  line-height: 60px;
  font-size: 1.15em;
  font-weight: 500;
 }
 
 .side-bar .menu .item a:hover{
  background: rgba(50 37 138 / 0.96);
  transition: 0.3s ease;
 }
 
 .side-bar .menu .item i{
  margin-right: 15px;
 }
 
 .side-bar .menu .item a .dropdown{
  position: absolute;
  right: 0;
  margin: 20px;
  transition: 0.3s ease;
 }
 
 .side-bar .menu .item .sub-menu{
  background: rgba(255, 255, 255, 0.1);
  display: none;
 }
 
 .side-bar .menu .item .sub-menu a{
  padding-left: 80px;
 }
 
 .side-bar .menu .item .sub-menu .sub-item{
  color: #fff;
  line-height: 1.5;
  font-size: 1em;
  font-weight: 500;
 }

 .rotate{
  transform: rotate(90deg);
 }
 
 .close-btn{
  position: absolute;
  color: #fff;
  font-size: 20px;
  right: 0;
  margin: 25px;
  cursor: pointer;
 }
 
 .menu-btn{
  position: absolute;
  top: 50px;
  right: 70px;
  color: #fff;
  font-size: 2em; 
  font-weight: 600;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 1);
  cursor: pointer;
  z-index: 999;
 }
 
 .main{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
 }
 
 .main h1{
  color: rgba(255, 255, 255, 0.8);
  font-size: 60px;
  text-align: center;
  line-height: 80px;
 }
     

/*========== Slider CSS ==========*/

.slider{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide:before{
  content: "";
  z-index: 777;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

.slider .slide{
  position: absolute;
  width: 100%;
  height: 100vh;
  /*opacity: 0;*/
}

/*========== contenido nosotros ==========*/

.contenido-general{
  backdrop-filter: blur(20px);
  margin-top: 150px;
  height: 80vh;
  width: 80vw;
  padding: 2vw;
  overflow: scroll;
  overflow-x: hidden;
}

.titulo-contenido{
  text-align: center;
  padding: 10px;
  color: #fff;
}

.parrafo-contenido{
  color: #fff;
}

/*.slider .slide.active{
  opacity: 1;
}*/
/*========== Slide images ==========*/

.slide .slide-images{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide .slide-bg-img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 1s linear;
}

.slide.active .slide-bg-img{
  opacity: 1;
  transition: opacity 1.5s linear;
  animation: animal-bg 17s linear infinite;
}

@keyframes animal-bg {
  0%{
    transform: scale(1);
  }
  50%{
    transform: scale(1.25);
  }
  100%{
    transform: scale(1);
  }
}

.slide .animal-name{
  position: absolute;
  top: 130px;
  color: var(--first-color);
  font-size: 5vw;
  font-weight: 600;
  line-height: 0.75;
  padding-top: 10px;
  text-align: center;
  letter-spacing: 3px;
  white-space: nowrap;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 1);
  opacity: 0;
  transition: 0s;
}

.slide.active .animal-name{
  opacity: 0.95;
  transform: scale(1);
  transition: 3s ease, 5s ease;
  transition-property: transform, opacity;
  transition-delay: 0.5s;
}
.slide .slide-animal-img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: contain;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  user-select: none;
  transform: scale(1) translateY(75px);
  opacity: 0;
  transform: 0s;
}

.slide.active .slide-animal-img{
  opacity: 1;
  transition: 0.8s;
  transition-property: opacity;
  transition-delay: 0.3s;
  transition-timing-function: cubic-bezier(0.7, 0.1);
}




/*========== Slide text contents ==========*/


.slide .slide-tex-content{
  z-index: 777;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.slide.active .slide-tex-content{
  z-index: 888;
}

.slide .slide-caption{
  position: absolute;
  top: 100px;
  color: rgba(225, 255, 255, 1);
  font-size: 1.25em;
  font-weight: 400;  
  text-transform: uppercase;
  letter-spacing: 5px;
  text-shadow: 0px 5px 25px rgba(0, 0, 0, 1);
  transform: scale(0.8);
  opacity: 0;
}

.slide.active .slide-caption{
  transform: scale(1);
  opacity: 1;
  transition: 0.8s, 1.3s;
  transition-property: transform, opacity;
  transition-delay: 0.6s;
  transition-timing-function: cubic-bezier(0.7, 0.1);
}

.slide .slide-paragraph{
  position: absolute;
  bottom: 160px;
  max-width: 550px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1em;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 1);
  transform: scale(0.8);
  opacity: 0;
}

.slide.active .slide-paragraph{
  transform: scale(1);
  opacity: 1;
  transition: 0.8s, 1.5s;
  transition-property: transform, opacity;
  transition-delay: 0.6s;
  transition-timing-function: cubic-bezier(0.7, 0.1);
}

.slide-paragraph .read-more{
  
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;

}

.slide-paragraph .read-more:hover{
  
  color: var(--second-color);

}



.slide .boton-enter{
  position: absolute;
  bottom: 70px;
  font-size: 0.95em;
  padding-top: 10px;  
  text-align: center;
  border: 1px solid var(--first-color);
  background: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  width: 195px;
  height: 45px;
  color: var(--first-color);
}

.slide .boton-enter:hover{
  background: var(--first-color);
  color: var(--third-color); 
  font-weight: 600; 
}


/*========== Social media links ==========*/

.slider-media-icons{
  z-index: 888;
  position: absolute;
  left: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 35px;
}

.slider-media-icons .media-links{
  color: var(--first-color);
  font-size: 1.5em;
  text-decoration: none;
  opacity: 0.9;
  transition: 0.3s ease;
}

.slider-media-icons .media-links:hover{
  color: var(--second-color);
}
/*========== Slider left/right arrow navigation ==========*/

.slider-navigation{
  z-index: 888;
  position: absolute;
  bottom: 65px;
  right: 100px;
  display: flex;
  gap: 70px;
}

.slider-navigation .prev-btn,
.slider-navigation .next-btn{
  color: var(--first-color);
  font-size: 1.1em;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: 0.3s ease;
}

.slider-navigation i{
  font-size: 2.5em;
}

.slider-navigation .prev-btn:hover,
.slider-navigation .next-btn:hover{
  color: var(--second-color);
}

/*========== Slider pagination buttons ==========*/

.slide-pagination{
  z-index: 888;
  position: absolute;
  right: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}

.slide-pagination .slide-btn{
  width: 9px;
  height: 25px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0px 5px 25px rgba(2, 2, 2, 0.25);
  cursor: pointer;
  transition: 0.3s ease;
}

.slide-pagination .slide-btn.active{
  background: var(--second-color);
}

.slide-pagination .slide-btn:hover{
  background: rgba(255, 255, 255, 0.85);
}

/*========== Slides visibility indicator bars ==========*/

.slide-indicator-bars{
  z-index: 888;
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
}

.slide-indicator-bars .indicator-bar{
  position: absolute;
  bottom: 0;
  width: 25%;
  height: 2px;
  color: var(--second-color);
}

.slide-indicator-bars .indicator-bar.active{
  width: 100%;
  transition: width 8.2s linear;
}

/*========== Slide video modal ==========*/

.slide-video-modal{
  /*display: none;*/
  z-index: 000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide-video-modal.active{
  z-index: 999;
  opacity: 1;
}

.video-modal-content{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}

.video-modal-content.active{
  transform: scale(1);
  opacity: 1;
  transition: transform 0.8s, opacity 0.5s;
}

.slide-video-modal .video-close-btn{
  z-index: 999;
  position: absolute;
  top: 35px;
  right: 35px;
  color: var(--first-color);
  font-size: 2em;
  cursor: pointer;
  transition: 0.3s ease;
}

.slide-video-modal .video-close-btn:hover{
  color: var(--hover-red-color);
}


.slide-video-modal .video-card{
  position: relative;
  background: var(--first-color);
  max-width: 800px;
  display: flex;
  flex-direction: column;
  margin: 50px;
  border-radius: 15px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.slide-video-modal .video-modal-content .video-card .video-paragraph{
  color: var(--third-color);
  font-size: 1em;
  font-weight: 400;
  max-width: 800px;
  margin: 20px 25px;
}

.slide-video-modal .video-modal-content .video-card .video-paragraph .read-more{
  color: var(--third-color);
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.slide-video-modal .video-modal-content .video-card .video-paragraph .read-more:hover{
  color: var(--second-color);
}


/*========== Media queries (max-width: 990px) ==========*/
@media screen and (max-width: 990px){
  .slide .animal-name{
    font-size: 9.5vw;
  }
  .slide .slide-animal-img{
    transform: scale(1.25) translateY(50px);
  }
  .slide .slide-paragraph{
    bottom: 180px;
    margin: 0 100px;
  }
  .slide .boton-enter{
    bottom: 105px;
  }
  .slider-navigation{
    bottom: 30px;
    justify-content: center;
    gap: 60px;
  }
}

/*========== Media queries (max-width: 850px) ==========*/
@media screen and (max-width: 850px){
  .main-section .logo{
    top: 30px;
    left: 50px;
  }

  .main-section .logo .logo-logo{
    width: 30vw;  
  }

  .slider-media-icons{
    left: 50px;
  }
  .slider-navigation{
    right: 50px;
  }
  .slide-pagination{
    right: 50px;
  }

  .menu-btn{
    right: 50px;
    top: 30px;
  }
}

/*========== Media queries (max-width: 900px) ==========*/
@media (max-width: 900px){
  .main h1{
    font-size: 40px;
    line-height: 60px;
  }
 }
   

/*========== Media queries (max-width: 580px) ==========*/
@media screen and (max-width: 580px){
  .main-section .logo{
    left: 25px;
    font-size: 1.6em;
  }
  .slide .animal-name{
    font-size: 12vw;
  }
  .slide .slide-animal-img{
    transform: scale(1.5) translateY(25px);
  }
  .slide .slide-caption{
    font-size: 1.1em;
    top: 115px;
  }
  .slide .slide-paragraph{
    display: none;
  }
  .slide .boton-enter{
    bottom: 135px;
  }
  .slide-video-modal .video-card{
    margin: 25px;
  }
  .video-card .video-paragraph{
    font-size: 0.9em;
    margin: 15px 20px;
  }
  .slider-media-icons{
    left: 25px;
  }
  .slider-media-icons .media-links{
    font-size: 1.45em;
  }
  .slider-navigation{
    right: 0;
    width: 100%;
    gap: 50px;
    align-items: center;
    bottom: 40px;
  }
  .slider-navigation .prev-btn,
  .slider-navigation .next-btn{
    font-size: 1em;
  }
  .slide-pagination,
  .menu-btn{
    right: 25px;
  }
}

/*========== Media queries (max-width: 400px) ==========*/
@media screen and (max-width: 400px){
  .slide .slide-caption{
    font-size: 1.05em;
  }
  .slide .slide-animal-img{
    transform: scale(1.73) translateY(25px);
  }
}