
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

:root{
  --h2-font-size:1.25rem;
  --small-font-size: .813rem;
}

@media screen and (min-width:1120px) {
  :root{
    --h2-font-size:1.5rem;
    --small-font-size: .875rem;
  }

}


/*HOME*/
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

.titulo{
  display: flex; 
  padding: 60px 0 0 0;
  margin: 0;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: auto;
}

.titulo h1{
  font-weight: 600;
  color: #011F26;
}



.header-home{ 
  height: 720px;
  background-size: cover;
  background-position: center;
}

.portada{
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex; 
  justify-content: center; 
  align-items: center;
}

.side-bar{
  
  margin-left: 0;
  margin-right: 4rem;
  list-style-type: none; 
  text-align: center;
  font-weight: 600;
}

.li-side{
  text-decoration: none;
  padding-top:1rem;
  padding-bottom:1rem;
  background-color: #fff;
  padding-inline: 2rem;
  margin-top:.5rem ;
  border-radius: 20px;
}
.li-side:hover{
  box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
  transform: translateY(-3%);
}

.oculto{
  display: none;
}

.lbdp{
  font-weight: 600;
  color: white;
}

.nav-link{
  color: white; 
}

.nav-link:hover{
  color: #F2A71B;
}

.nav-link:active{
  color: #F2A71B;
}


.container-custom {
  display: flex; 
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  margin-top: 6rem;
  padding: 2rem;
}

.container-custom img {
  width: 10rem;
  height: auto; 
  margin-right: 10px; 
}

.slogan{
  color: white;
  font-weight: 600;
}



.ovalos{
  text-decoration: none;
  max-width: 100%;
  height: auto;
  border-radius: 100px;
  color: white;
  margin: 10px;
  text-align: center;
  padding: 0.75rem;
}

.ovalos:hover{
  box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
  transform: translateY(-3%);
}

.container-flex{
  justify-content: center;
  display: flex;
  align-items: center;
  margin: 100px 0;
}

.container-custom2{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 100px 100px;
  padding:  0 50px;
}

.container-custom2 .card{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 450px;
  height: 390px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
  transition: 0.5s;
}
  
.container-custom2 .card:hover{
  height: 500px;
}

.container-custom2 .card .imgBx1{
  position: absolute;
  top: 10px;
  width: 420px;
  height: 290px;
  background-image: url(../img/foto3.jpg);
  background-size: cover;
  background-position:right;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.5s;
}

.container-custom2 .card .imgBx2{
  position: absolute;
  top: 10px;
  width: 420px;
  height: 290px;
  background-image: url(../img/foto1.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  transition: 0.5s;
}

.container-custom2 .card .imgBx3{
  position: absolute;
  top: 10px;
  width: 420px;
  height: 290px; 
  background-image: url(../img/foto4.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  transition: 0.5s;
}

.container-custom2 .card:hover .imgBx1,
.container-custom2 .card:hover .imgBx2,
.container-custom2 .card:hover .imgBx3{
  top: -100px;
  scale: 0.85;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.container-custom2 .card .content{
  position: absolute;
  top: 325px;
  width: 100%;
  padding: 0 30px;
  height: 60px;
  overflow: hidden;
  text-align: center;
  transition: 0.5s;
}

.container-custom2 .card .content-2{
  position: absolute;
  top: 312px;
  width: 100%;
  padding: 0 30px;
  height: 60px;
  overflow: hidden;
  text-align: center;
  transition: 0.5s;
}

.container-custom2 .card:hover .content,
.container-custom2 .card:hover .content-2{
  top: 200px;
  height: 260px;
}


.container-custom2 .card .content h2,
.container-custom2 .card .content-2 h2{
  margin-bottom: 2rem;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--clr);
}

.container-custom2 .card .content p,
.container-custom2 .card .content-2 p{
  color: #333;
  text-align: justify;
}


.comunicados{
  width: 100%;
  padding: 1rem;
  margin-top: .5rem;
  display: flex;
  flex-direction: column;

}

.fecha{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  font-size: 0.9em;
}

#news{
  margin: auto 12rem auto;
}

#mural{
  color: #f3f3f3;
}

.horarios{
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  transition: 0.2s ease;
}

.horarios:hover{
  transform:translateY(-5px)
}

.slider-wrapper{
  position: relative;
  max-width: 75rem;
  margin: 0 auto;
}

.slider{
  display: flex;
  
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25%);
  border-radius: 0.5rem ;
}

.slider img{
  flex: 1 0 100%;
  scroll-snap-align: right;
  object-fit:cover;
}

.slider-nav{
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%);
  z-index: 1;
}

.slider-nav a{
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  transition: opacity ease 250ms;
  
}

.slider-nav a:hover{
  opacity: 1;
}

.image-container {
  max-height: 569px;
  overflow-y: scroll;
  max-width: 100%;
  width: 100%;
}

.image-container img {
  display: block;
  width: 100%;
  /* Ajusta la altura automática para que mantenga la proporción */
  height: auto;
}


.container-documentos{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
}

.card-doc{
  position: relative;
  width: 300px;
  height: 350px;
}

.card-doc .face{
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  transition: .5s;
}

.card-doc .front{
  transform: perspective(600px) rotateY(0deg);
  box-shadow: 0 5px 10px #000;
}

.card-doc .front img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-doc .front h5{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  line-height: 30px;
  color: #fff;
  background: rgba(0, 0, 0, .4);
  text-align: center;
  padding-top: 0.5rem;
}

.card-doc .back{
  transform: perspective(600px) rotateY(180deg);
  background: rgb(3, 35, 54);
  padding: 15px;
  color: #f3f3f3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 5px 10px #000;
}
.card-doc .back .link{
  border-top: solid 1px #f3f3f3;
  height: 50px;
  line-height: 50px;
}

.card-doc .back .link a {
  color: #f3f3f3;
}

.card-doc .back h6{
  font-size: 20px;
  margin-top: 20px;
  letter-spacing: 2px;
}

.card-doc .back p{
  color: #f3f3f3;
  padding-inline: .5rem;
  font-size: 12px;
}

.card-doc:hover .front{
  transform: perspective(600px) rotateY(180deg);
}
.card-doc:hover .back{
  transform: perspective(600px) rotateY(360deg);
}

.encabezado{
  border-bottom: solid 3px #001542;
}
.parrafo{
  text-align: justify;
  margin-bottom: 2rem;
}

.mySlides{
  display: none;
}

.imgCarrusel{
  vertical-align: middle;
}

.slideshow-container{
  max-width: 80%;
  position: relative;
  margin: auto;
}

.prev, .next{
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  text-decoration: none;
}

.next{
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover{
  background-color: rgba(0, 0, 0, .8);
  text-decoration: none;
}

.numbertext{
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot{
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover{
  background-color: #717171;
}

.customfade{
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

.cal-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 50px 0px;
  background-color: #00000024;
  transition: 0.5s ease;
}

.cal-container:hover{
  background-color: #4345004a;
}

.cal-card{
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgb(0, 0 , 0, 0.1);
  width: 250px;
  text-align: center;
  padding: 25px;
  cursor: pointer;
  transition: 0.2s ease;
}

.cal-card:hover{
  transform: translateY(-10px);
}

.cal-card img{
  border-radius: 50%;
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.cal-card h2{
  font-size: 20px;
  margin: 10px 0px;
}

.cal-card p{
  font-size: 15px;
  color: #777;
  margin-bottom: 20px;
}

.cal-card a{
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}



.cal-card a:hover{
  background-color: #0056b3;
  color: #f2f2f2;
}

.container__cards{
  display: flex; 
  flex-wrap: wrap; 
  justify-content:space-evenly;
  max-width: 85%;
}

.profile-card-4 {
  max-width: 300px;
  background-color: #FFF;
  border-radius: 8px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  margin: 10px auto;
  cursor: default;
  margin: 10px;
}

.profile-card-4 .profile-content {
  position: relative;
  top: -10px; 
  padding: 8px; 
  background-color: #FFF;
  min-height: 70px; 
  z-index: 1;
  border-top: 4px solid #273751;
}

.profile-card-4 img {
  width: 100%;
  height: 280px; 
  object-fit: cover;
}



.profile-card-4 .profile-name {
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
  color: #273751;
  font-size: 18px;
}

.profile-card-4 .profile-description {
  color: #555;
  font-size: 14px;
  padding: 10px;
  text-align: center;
}

.profile-card-4 .profile-overview {
  padding: 10px 0;
  text-align: center;
}

.profile-card-4 .profile-overview p {
  font-size: 12px;
  font-weight: 600;
  color: #777;
}

.profile-card-4 .profile-overview h4 {
  color: #273751;
  font-weight: 700;
}

.profile-card-4:hover img {
  transform: scale(1.05);
}

.profile-card-4 .profile-content::before {
  content: "";
  position: absolute;
  height: 20px;
  top: -10px;
  left: 0px;
  right: 0px;
  background-color: #FFF;
  z-index: 0;
  transform: skewY(2deg);
}

.img-deptos{
  border-radius: 2.5px;
  box-shadow: 0px 4px 8px rgb(0, 0 , 0, 0.1);
  transition: 0.2s ease;
}

.img-deptos:hover{
  transform: translateY(-10px);
}

.card-container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 100px;
}

.card-esp{
  width: 325px;
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
  margin: 20px;

}

.card-esp img{
  width: 100%;
  height: auto;
}

.card-esp-content{
  padding: 16px;
}

.card-esp-content h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.card-esp-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.3;
}

.card-esp-content .btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #333;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 16px;
  color: #fff;
}




@-webkit-keyframes fade{
  from {opacity: .4;}
  to{opacity: 1;}
}

@keyframes fade {
  from {opacity: .4;}
  to{opacity: 1;}
}

@media only screen and (max-width: 300px) {
  .prev, .next{
    font-size: 11px;
  }

  .dot{
    height: 10px;
    width: 10px;
  }
}

@media(max-width:500px) {
  .nav-link{
    margin-right: 10rem;
  }

  ul{
    background-color: rgba(0, 0, 0, 0.2);
  }

  .prev, .next{
    font-size: 14px;
  }

}

@media(max-width:768px) {
  .container{
    align-items: center;
    text-align: center;
  }

  .container-custom img {
    width: 7rem
  }
  
  .ovalos{
    margin-inline: 25px;
  }


  .side-bar{
    display: none;
  }

  .oculto{
    display: initial;
  }
  .oculto .nav-link{
    color: #F2A71B;
    
  }

  #news{
    margin: auto 1.5rem auto;
  }

  #container{
    padding: 2rem;
  }

  .container__cards{
    max-width: 100%;
  }

  

}

@media (max-width:1200px){

  .slider{
    overflow-x: auto;
  }

  .slider-wrapper{
    margin: 0;
  }

  #news{
    margin: auto 1.5rem auto;
  }


}

@media (min-width:1700px){

  .container-custom {
    padding: 5rem;
    padding-left: 2rem;
    margin-top: 8rem;
    width: 75%;
  }

  .slogan{
    font-size: 70px;
    margin-left: 2rem; 
  }

}