body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-weight: 400;
    background: url('../img/bg.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
      background-position: center;
    /* background: url(../img/background.jpg) no-repeat center center / cover; */
    position: relative;
    /*backdrop-filter: brightness(0.4);*/
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden !important;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Fondo oscuro con opacidad */
  z-index: -1; /* Coloca la capa detrás del contenido */
}
/* background: linear-gradient(45deg, 
      red 10%, red 20%, 
      green 20%, green 30%, 
      brown 30%, brown 40%, 
      blue 40%, blue 50%, 
      transparent 50%); */
/* header styles */
#h-principal {
  width: 100%;
  height: 80px;
  display: flex;
  flex-direction: row;
  background: linear-gradient(to right, #154117, #1e4d21); 
  border-bottom: 2px solid #fff;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}


.h {
    width: 50%;
    height: 100%;
    display: flex;
    /* justify-content: center; */
    align-items: center;
}

.logo img{
    width: 65%;
    padding-left: 25px;
}

/* navbar styles */
/* .component-title {
    width: 100%;
    position: absolute;
    z-index: 999;
    top: 30px;
    left: 0;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #888;
    text-align: center;
  } */
  
  .tab-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 3px;
    border-radius: 9px;
    border: 1.5px solid #fff;
    margin-right: 30px;
    margin-left: -250px; /* Ajusta este valor según tus necesidades */
}
  
  .indicator {
    content: "";
    width: 130px;
    height: 28px;
    background: #ffffff;
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 9;
    border: 0.5px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12), 0px 3px 1px rgba(0, 0, 0, 0.04);
    border-radius: 7px;
    transition: all 0.2s ease-out;
  }
  
  .tab {
    width: 130px;
    height: 28px;
    position: absolute;
    z-index: 99;
    outline: none;
    opacity: 0;
  }
  
  .tab_label {
    width: 130px;
    height: 28px;
    color: #ffffff;
    position: relative;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    text-align: center; /* Centrar el texto */
}

  .tab:checked + .tab_label {
    color: #000000; /* Cambiar el texto a negro */
    font-weight: 400; /* Opcional */
}
  
  .tab--1:checked ~ .indicator {
    left: 2px;
  }
  
  .tab--2:checked ~ .indicator {
    left: calc(130px + 2px);
  }
  
  .tab--3:checked ~ .indicator {
    left: calc(130px * 2 + 2px);
  }

  .tab--4:checked ~ .indicator {
    left: calc(130px * 3 + 2px);
  }
  
  .tab--5:checked ~ .indicator {
    left: calc(130px * 4 + 2px);
  }

  .tab--6:checked ~ .indicator {
    left: calc(130px * 5 + 2px);
  }
  
/* principal content styles */
.contentUrl {
  padding-bottom: 25px;
  margin-top: 0;
  padding-top: 0;
}

/* Cuando el contenido es home, eliminar espacios */
.contentUrl:has(.video-presentation) {
  padding-top: 0;
  margin-top: 0;
}

/* Sección de video de presentación - Ocupa toda la sección */
.video-presentation {
    width: 100%;
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    display: block;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: #000;
}

.presentation-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
    border: none;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* Ocultar todos los controles del video */
.presentation-video::-webkit-media-controls {
    display: none !important;
}

.presentation-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.presentation-video::-webkit-media-controls-panel {
    display: none !important;
}

.presentation-video::-webkit-media-controls-play-button {
    display: none !important;
}

.presentation-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.presentation-video::-webkit-media-controls-timeline {
    display: none !important;
}

.presentation-video::-webkit-media-controls-current-time-display {
    display: none !important;
}

.presentation-video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.presentation-video::-webkit-media-controls-mute-button {
    display: none !important;
}

.presentation-video::-webkit-media-controls-volume-slider {
    display: none !important;
}

.presentation-video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

/* Ocultar controles en Firefox */
.presentation-video {
    -moz-controls: none;
}

/* Ocultar controles en otros navegadores */
.presentation-video video::-webkit-media-controls {
    display: none !important;
}

/* Sección del carrusel ODS - Debajo del video */
.ods-carousel-section {
    width: 100%;
    min-height: 84vh;
    height: 84vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-y: hidden !important;
    background: transparent;
    position: relative;
}

#principal-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}
.text-content {
    width: 62%;
    height: 100%;
    /* background-color: aquamarine; */
    display: grid;
    place-items: center;
    justify-content: end;
}
.text {
    font-family: "Libre Bodoni", serif;
    font-size: 50px;
    text-align: center;
    color: #ffffff;
}
.text p{
  text-transform: uppercase;
}
.img-content {
    width: 60%;
    height: 100%;
    /* background-color: #dadadb; */
}
/* gallery styles */
.gallery {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

 /* Galería */
    .img-gallery {
        width: 85%;
        height: 65%;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

/* Estilo actualizado de .i */
.i {
    position: absolute;
    transition: all 3.5s ease-in-out;
    border-radius: 8px;
    border: 1px solid #fff;
    width: 43%;
    height: 65%;
    left: -100%; /* Posición inicial fuera de vista */
    transform: scale(0.5); /* Escala inicial */
    z-index: 0; /* Coloca detrás */
    opacity: 0; /* Oculta visualmente */
}

    .i img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 7px;
    }

 /* Estilos específicos para cada posición */
.i1 {
    width: 50%;
    height: 75%;
    left: 5%;
    z-index: 3;
    transform: scale(1);
    opacity: 1;
}

.i2 {
    width: 40%;
    height: 80%;
    left: 45%;
    z-index: 2;
    transform: scale(0.85);
    opacity: 0.8;
}

.i3 {
    width: 40%;
    height: 85%;
    left: 65%;
    z-index: 1;
    transform: scale(0.7);
    opacity: 0.6;
}

    /* Ocultar el resto de imágenes */
    .i:not(.i1):not(.i2):not(.i3) {
        display: none;
    }
/* estilos formulario registro */
/* From Uiverse.io by jeel-sardhara */ 
.container {
  max-width: 350px;
  background: rgb(218 218 219);
  background: linear-gradient(
    0deg,
    rgb(218 218 219) 0%,
    rgb(218 218 219) 100%
  );
  border-radius: 40px;
  padding: 25px 35px;
  border: 3px solid rgb(255, 255, 255);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 30px 30px -20px;
  margin-top: 20px;
  position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.heading {
  text-align: center;
  font-weight: 900;
  font-size: 30px;
  /* color: rgb(16, 137, 211); */
  background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form {
  margin-top: 20px;
}

.form .input {
  width: 88%;
  background: white;
  border: none;
  padding: 15px 20px;
  border-radius: 20px;
  margin-top: 15px;
  box-shadow: #cff0ff 0px 10px 10px -5px;
  border-inline: 2px solid transparent;
}

.form .input::-moz-placeholder {
  color: rgb(170, 170, 170);
}

.form .input::placeholder {
  color: rgb(170, 170, 170);
}

.form .input:focus {
  outline: none;
  border-inline: 2px solid #12b1d1;
}

.form .forgot-password {
  display: block;
  margin-top: 10px;
  margin-left: 10px;
}

.form .forgot-password a {
  font-size: 11px;
  color: #0099ff;
  text-decoration: none;
}

.form .login-button {
  cursor: pointer;
  display: block;
  width: 100%;
  font-weight: bold;
  background: linear-gradient(
    45deg,
    rgb(16, 137, 211) 0%,
    rgb(18, 177, 209) 100%
  );
  color: white;
  padding-block: 15px;
  margin: 20px auto;
  border-radius: 20px;
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 20px 10px -15px;
  border: none;
  transition: all 0.2s ease-in-out;
}

.form .login-button:hover {
  transform: scale(1.03);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 23px 10px -20px;
}

.form .login-button:active {
  transform: scale(0.95);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 15px 10px -10px;
}

.social-account-container {
  margin-top: 25px;
}

.social-account-container .title {
  display: block;
  text-align: center;
  font-size: 10px;
  color: rgb(170, 170, 170);
}

.social-account-container .social-accounts {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 5px;
}

.social-account-container .social-accounts .social-button {
  background: linear-gradient(45deg, rgb(0, 0, 0) 0%, rgb(112, 112, 112) 100%);
  border: 5px solid white;
  padding: 5px;
  border-radius: 50%;
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 12px 10px -8px;
  transition: all 0.2s ease-in-out;
}

.social-account-container .social-accounts .social-button .svg {
  fill: white;
  margin: auto;
}

.social-account-container .social-accounts .social-button:hover {
  transform: scale(1.2);
}

.social-account-container .social-accounts .social-button:active {
  transform: scale(0.9);
}

.agreement {
  display: block;
  text-align: center;
  margin-top: 15px;
}

.agreement a {
  text-decoration: none;
  color: #0099ff;
  font-size: 9px;
}
.birthdate_input {
  display: flex;
  flex-direction: column;
  padding-top: 15px;
}
.birthdate_input .input {
  margin-top: 0 !important;
}
.birthdate_input label {
  padding-left: 15px;
  font-size: 13px;
  color: gray;
}


.alertas {
  position: absolute;
  top: 0;
  width: 100%;
}

/* tarjetas */
.nos-content {
    display: flex;
    flex-direction: column;
}
.nos-text {
    width: 90%;
    color:#fff;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.nos-text h2 {
    text-align:center;
    font-weight: 400;
}
.nos-text p{
    text-align:justify;
}
.about_us-container {
  width: 80%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columnas */
  grid-template-rows: repeat(3, auto);
  /* 3 filas, altura automática */
  gap: 10px;
  position: relative;
  left: 50%;
  transform: translate(-50%);
}

.a {
  /* background-color: lightgray; */
  /* Color de fondo para visualizar los elementos */
  padding: 10px;
  text-align: center;
  /* border: 1px solid #ccc; */
  /* Borde opcional */
  border-radius: 5px;
  /* Esquinas redondeadas opcional */
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.a img {
  width: 300px;
  height: 200px;
  border-radius: 8px;
  border: 2px solid #12aad1;
}

.a img:hover {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: 0.5s ease-in-out;
}

.cnt-3 img:hover {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: 0.5s ease-in-out;
}

/* cards */
/* From Uiverse.io by gharsh11032000 */
.card {
  position: relative;
  width: 300px;
  height: 200px;
  /*background: linear-gradient(-45deg, #f89b29 0%, #ff0f7b 100%);*/
  background: linear-gradient(
    45deg,
    rgb(16, 137, 211) 0%,
    rgb(18, 177, 209) 100%
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  color: #fff;
}

.card svg {
  width: 48px;
  fill: #333;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cnt-4 .card:hover {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover .card__content {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 1;
}

.card__title {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: 700;
}

.card__description {
  margin: 10px 0 0;
  font-size: 14px;
  color: #777;
  line-height: 1.4;
}

.card:hover svg {
  scale: 0;
  transform: rotate(-45deg);
}

/* option bar mobile */
.opt-mobile {
  width: 60%;
  height: 150px;
  position: fixed;
  /* top: 65px; */
  left: 0;
  background-color: rgb(19 21 27 / 80%);
  border-bottom-right-radius: 8px;
  z-index: 9999;
  display: none;
  /* border-bottom: 2px solid #fff;
  border-right: 2px solid #fff; */
  margin-top: -20px;
  padding-bottom: 170px; /* modificado para mobiles *//*Si es que se aumenta mas opciones a la vista mobil
  entonces se aumentara los px de esta opcion*/
}
.om {
  width: 100%;
  height: 33.3%;
  text-align: left;
  display: flex;
  align-items: center;
  color: #fff;
  border-bottom: 1.5px solid transparent;
  border-bottom-right-radius: 8px;
}
.om:hover {
  border-bottom: 1.5px solid #fff;
  background-color: rgba(92, 100, 105, 0.6);
}
.om i {
  padding-left: 20px;
}
.om .span{
  width: 100%;
  padding-left: 20px;
  color: #fff;
}
/* 
green: #3FAF82

*/

.box {
  /* border-radius: 2px; */
  /* position: absolute;
  top: 50%;
  left: 50%; */
  /* transform: translate(-50%, -50%); */
  /* width: 400px;
  height: 400px; */
  /* background: #3faf82; */
  /* box-shadow: 1px 2px 10px 0px rgba(0,0,0,0.3); */
  /* display: none; */
  z-index: 9999;
  /* margin-top: 30px; */
} 

.btn {
  /* position: absolute;
  top: 50%;
  left: 50%; */
  transform: translate(-50%, -50%);
  width: 35px;
  height: 15px;
  cursor: pointer;
}

 .sp {
  display: none;
  width: 100%;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.3);
  border-radius: 3px;
  height: 4px;
  background: #fff !important;
  transition: all .3s;
  position: relative;
}

 .sp +  .sp {
  margin-top: 6px;
}

.active .sp:nth-child(1) {
  animation: ease .7s top forwards;
}

.not-active .sp:nth-child(1) {
  animation: ease .7s top-2 forwards;
}

.active .sp:nth-child(2) {
  animation: ease .7s scaled forwards;
}

.not-active .sp:nth-child(2) {
  animation: ease .7s scaled-2 forwards;
}

.active .sp:nth-child(3) {
  animation: ease .7s bottom forwards;
}

.not-active .sp:nth-child(3) {
  animation: ease .7s bottom-2 forwards;
}

@keyframes top {
  0% {
    top: 0;
    transform: rotate(0);
  }
  50% {
    /* top: 22px; */
    transform: rotate(0);
  }
  100% {
    top: 7px;
    /* margin-top: 15px; */
    transform: rotate(45deg);
  }
}

@keyframes top-2 {
  0% {
    top: 22px;
    transform: rotate(45deg);
  }
  50% {
    top: 22px;
    transform: rotate(0deg);
  }
  100% {
    top: 0;
    transform: rotate(0deg);
  }
}

@keyframes bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }
  50% {
    bottom: 22px;
    transform: rotate(0);
  }
  100% {
    bottom: 22px;
    margin-top: 15px;
    transform: rotate(135deg);
  }
}

@keyframes bottom-2 {
  0% {
    bottom: 22px;
    transform: rotate(135deg);
  }
  50% {
    bottom: 22px;
    transform: rotate(0);
  }
  100% {
    bottom: 0;
    transform: rotate(0);
  }
}

@keyframes scaled {
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes scaled-2 {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
/* responsive */
@media (max-width: 400px) {
  body {
    width: 100%;
    height: 100%;
    overflow-x: hidden !important;
    background-image:url('../img/bg_mobile.jpg') !important;

  }
  .about_us-container {
      grid-template-columns: 1fr;
      /* 1 columna en pantallas pequeñas */
      grid-template-rows: auto;
      /* Altura ajustada automáticamente */
  }
  #principal-content {
    flex-direction: column !important;
  }
  .ods-carousel-section {
    flex-direction: column !important;
    min-height: auto;
  }
  .tab-container {
    display: none;
  }
  .vacio {
    display: none;
  }
  .logo {
    width: 50%;
    padding-left: 15px !important;
  }
  .logo img {
    width: 100%;
  }
  .text-content {
    width: 100%;
    height: auto;
  }
  .text {
    font-size: 40px;
    height: 100%;
  }
  .text p {
    margin: 0;
  }
  .img-content {
    width: 100%;
    /* height: 60%; */
    /* margin-top: -30px; */
  }
  .img-gallery {
    width: 100%;
    height: 80%;
  }
  .h {
    justify-content: end;
  }
  .sp {
    display: block;
  }
  .opt-mobile {
    /* display: block;
     */
    transition: 0.3 ease-in-out;
  }
  .about_us-container {
    width: 100%;
  }
  .cardd {
      width: 70% !important;
  }
  .container {
    /* margin-right: 20px; */
    width: 70%;
    padding: 15px 20px;
  }
  .form .input {
    width: 81%;
  }
  .reg-container {
      flex-direction: column !important;
  }
  .reg-text, .reg-form {
      width: 100% !important;
  }
  .i1 {
      width: 70% !important;
  }
  .i3 {
      width:30% !important;
  }
  .video-presentation {
    padding: 0;
    margin: 0;
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
  }
  .presentation-video {
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    object-fit: cover;
  }
}
/* Scroll lateral */
::-webkit-scrollbar {
  width: 10px !important;
}
::-webkit-scrollbar-thumb {
  background: rgb(19 21 27 / 100%) !important;
  border-radius: 5px !important;
}
::-webkit-scrollbar-track {
  background: #eff6e0 !important;
}
/** {*/
/*    font-family: Sans-Serif ;*/
/*}*/