 /* Reset global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
  margin: 0;
  padding: 0;
}

        
/* Estilos generales */
body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color:#2c3e50; /* color base, puedes cambiar */
  line-height: 1.6;
  
}

/* Opcional: para títulos más pesados */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}
header {
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero-container {
  width: 100%;
  background-color: #2C7E87; /* opcional, para contraste */
  text-align: center;
}

.hero-img {
  width: 100%;
  height: auto; /* mantiene toda la imagen visible */
  display: block;
}

.hero-text-container {
  padding: 1rem 1.5rem;
  background-color: #2C7E87; /* color personalizado para fondo del texto */
  color: white;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 0 0 15px 15px; /* bordes redondeados solo abajo */
  
}


.custom-hr {
  border: none;
  border-bottom: 2px solid #000; /* línea negra */
  width: 10px;                  /* ancho de la línea */
  margin: 0 auto 0.2rem auto;      /* centrado y margen inferior */
}
.resaltado {
  background-color:#6bb3b9; /* color coral suave de la paleta */
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}



section.container-fluid {
  margin-top: 0;
  padding-top: 0;
}
/* La sección ocupa todo el ancho de la pantalla */
 .text-container {
  width: 100%;
  max-width: 100%;
  padding: 1.5rem 2rem;
  margin: 0 auto 1.5rem auto;
  box-sizing: border-box;
  /* background-color: #fff0f6; opcional */
  text-align: center;
}
@media (min-width: 992px) {
  .fs-lg-3 {
    font-size: 1.35rem !important;
  }
}


.line {
  width: 100%;              /* Ancho limitado */
  height: 1px;
  background-color: #918c8c;
  margin: 1rem auto;         /* Centrar y separar */
  border-radius: 1px;
}


  /* Justificar el texto */
  .text-justify {
    text-align: center;
  }

  /* Opcional: estilos para el párrafo */
  .text-container p.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4a4a4a;
    font-family: 'Poppins', sans-serif; /* Ajusta a tu fuente */
    margin: 0;
  }



header img {
  width: 100%;           /* Siempre ocupa todo el ancho */
  height: auto;          /* Altura automática para mantener proporción */
  max-height: 600px;     /* Limita altura en pantallas pequeñas */
  object-fit: cover;     /* Cubre el contenedor recortando lo que sobra */
  object-position: top;  /* Muestra la parte superior de la imagen */
  display: block;        /* Elimina espacios en línea */
}
/*Carrusel */
.swiper {
      width: 100vw;
      /* max-width: 900px; */
      margin: 0;
      padding: 0;
    }
    .swiper-slide img {
      width: 100%;
      border-radius: 8px;
      object-fit: contain;
      object-position: center;
      height: 400px;
    }
    /* Quita el filtro que aplica el color azul */
.swiper-button-prev,
.swiper-button-next {
  filter: none !important; /* Quita filtro para que el color funcione */
}

/* Cambia el color de las flechas */
.swiper-button-prev::after,
.swiper-button-next::after {
  color: #259ece !important; /* Color rosa */
  font-size: 24px;           /* Ajusta tamaño si quieres */
}

/* Opcional: cambia el color al pasar el mouse */
.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: #259ece !important; /* Rosa más claro en hover */
}
/* Color de los puntos normales */
.swiper-pagination-bullet {
  background-color: #259ece !important; /* Rosa */
  opacity: 0.5;                         /* Puedes ajustar la opacidad */
}

/* Color del punto activo */
.swiper-pagination-bullet-active {
  background-color: #259ece !important; /* Rosa más intenso */
  opacity: 1;
}
.btn-custom {
  min-width: 250px;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  color: white;
  background-color: #e754a0; /* rosa fuerte */
  border: none;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #7e3f8f; /* violeta oscuro al pasar el mouse */
  color: white;
}


.btn {
   width: auto;           /* Ancho automático según contenido */
  max-width: 300px;      /* Máximo ancho para que no sea muy grande */
  padding-left: 1.5rem;  /* Ajustá padding para que quede lindo */
  padding-right: 1.5rem;
  background-color:#195e66; /*transparent / Sin fondo */
  color: white;                /* Color del texto (gris oscuro Bootstrap) */
  box-shadow: 0 4px 6px rgba(187, 174, 174, 0.3)
}

.btn:hover, 
.btn:focus {
 background-color: #36929B; /* transparent --> Sin fondo */
  color: white;                 /* Color texto al pasar mouse */
  box-shadow: none;              /* Sin sombra */
  border-left: none !important;
  border-right: none !important;
  /* border-top: 1px solid currentColor; */
  /* border-bottom: 1px solid currentColor; */
}
.btn-custom {
  min-width: 250px;
  font-weight: 600;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(240, 237, 237, 0.795);
 background-color: #2c7e87a8; /* color */
  color:  #0d4958ea;
  border: 1px solid #2C7E87; /* borde en color principal */
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-custom:hover {
   color: #2C7E87; /* texto en color principal */
  background-color:#2c7e871e; /* color hover*/
  
}

/* Wrapper para los botones */
.botones-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem; /* espacio entre botones */
}

/* Media query para pantallas menores a 576px */
@media (max-width: 575.98px) {
  .btn-custom {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    width: 90%; /* que ocupen casi todo el ancho */
  }

  .botones-wrapper {
    flex-direction: column;
    align-items: center;
  }
}



.btn1 {
   width: auto;           /* Ancho automático según contenido */
  max-width: 300px;      /* Máximo ancho para que no sea muy grande */
  padding-left: 1.5rem;  /* Ajustá padding para que quede lindo */
  padding-right: 1.5rem;
  background-color:transarent; /*transparent / Sin fondo */
  color: #1b6b74;                /* Color del texto (gris oscuro Bootstrap) */
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;;    /* Línea arriba con color del texto */
  border-bottom: none !important;; /*Línea abajo con color del texto
  border-radius: 0;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  box-shadow: none; /* Quita sombra si la tuviera */
}

.btn1:hover, 
.btn1:focus {
 background-color: transparent; /* transparent --> Sin fondo */
  color: #2c3e50;                 /* Color texto al pasar mouse */
  box-shadow: none;              /* Sin sombra */
  border-left: none !important;
  border-right: none !important;
  /* border-top: 1px solid currentColor; */
  /* border-bottom: 1px solid currentColor; */
}





/* Pantallas grandes */
@media (min-width: 768px) {
  header img {
    max-height: 550px;   /* Más alto en pantallas grandes */
  }
}

.nombre-text-personaliz {
  position: relative;
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem;         /* Puedes ajustar el tamaño */
  font-weight: 700; 
  /*color: #181717;            Un color elegante, puedes cambiarlo*/
  letter-spacing: 0.06em;
  display: inline-block;
  vertical-align: middle;
  margin-top:0;
  margin-bottom: 0;
}
/* Media query para pantallas pequeñas */
@media (max-width: 600px) {
  .nombre-text-personaliz {
    
    font-size: 2.8rem;    /* Tamaño reducido para móviles */
  }
}
.text-with-gorro {
  position: relative;
  display: inline-block;
}

.gorro-img {
  position: absolute;
  left: -55px;     /* ajustá para que quede sobre la E */
  top: -45px;  /* ajustá para que quede arriba del texto */
  height:80px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}





#countdown {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  flex-wrap: wrap; /* Cambiar de nowrap a wrap */
  max-width: 100vw;
  width: 100%;
  /* padding: 0 0.8rem; */
  box-sizing: border-box;
  margin: 1rem auto;
}



.countdown-card {
  min-width: 150px;
  padding: 1.2rem 1rem;
  text-align: center;
  /* border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
  /* background-color:#fdcae1; color de fondo */
  color: whitesmoke;
  user-select: none;
  transition: transform 0.3s ease;
}

.countdown-card:hover {
  transform: scale(1.05);
}

.countdown-card span {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.countdown-card span {
  font-size: 2.5rem; /* tamaño base para pantallas grandes */
  font-weight: 700;
  display: block;
  line-height: 1;
}
.countdown-finished {  
  color: #2531df;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.countdown-finished-text {
  flex-basis: 100%;   /* Ocupa toda la fila */
  /* font-family:"Bebas Neue", sans-serif;; */
  text-align: center;
  margin-bottom: 1rem;
  /* animation:blink 1s step-start infinite; */
  /* color:rgb(158, 19, 49); */
  font-size: 1rem;
  /* Sombra para resaltar el texto */
 /* text-shadow: 2px 2px 5px rgba(202, 199, 199, 0.973); */
}
.countdown-today-text{
  flex-basis: 100%;   /* Ocupa toda la fila */
 
  text-align: center;
  margin-bottom: 0.5rem;
  /* color:red; */
  /* font-weight: bold; */
  font-size: 1rem;
  /* Sombra para resaltar el texto */
 /* text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.836); */
}



.modal-backdrop.show {
  background-color: rgba(255, 255, 255, 0.3); /* color blanco semitransparente */
  backdrop-filter: blur(8px); /* desenfoque */
  -webkit-backdrop-filter: blur(8px); /* para Safari */
}


.modal-left {
  flex: 1;
  background: white;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.modal-left p.lead {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.modal-left button#btnIngresar {
  margin-top: 1rem;
  align-self: center; /* Centra el botón horizontalmente */
}
.modal-right{
        flex: 2;
        background-image: url('assets/IMG_8835.webp');
        background-size: cover;
        background-position:top center;
        width: 100%;
        border-left: #717274 2px solid;
      
}

.modal-left h5,
.modal-left p.lead,
.modal-left button#btnIngresar {
  opacity: 0;
  transform: translateY(20px);
  animation: slideFadeIn 1s ease forwards;
}

.modal-left h5 {
  animation-delay: 0.3s;
}

.modal-left p.lead {
  animation-delay: 1s;
}

.modal-left button#btnIngresar {
  animation-delay: 1.7s;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .modal-right {
    display: none; /* Oculta la imagen en pantallas pequeñas */
  }
 
}


@media (max-width: 767px) {
  .modal-left {
    padding: 1rem;
  }
  .modal-left p.lead {
    font-size: 1rem;
  }
  .modal-left button#btnIngresar {
    width: 100%;
  }
}

.modal-custom-content {
  background-color:#1b6b74e1;
  color: white;
  text-align: center;
  padding: 4rem 1rem 2rem; /* más padding abajo para espacio para el botón */
  border-radius: 10px;
  position: relative;
  max-width: 100vh;   /* menos ancho */
  min-height: 80%;  /* más alto */
  margin: 0 auto;     /* centrar horizontal */
}

.modal-custom-content p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}


.modal-custom-content .modal-footer {
  position: absolute;
  bottom: -35px; /* botón justo fuera del cuadro */
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  padding: 0;
  margin: 0;
  width: auto;
}

.modal-custom-content .modal-footer button.btn1 {
  padding: 0.5rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  background-color: #fff;
  color: #2c7e87;
  border: none;
  box-shadow: 0 4px 8px rgba(44, 126, 135, 0.4);
  transition: background-color 0.3s ease;
}

.modal-custom-content .modal-footer button.btn1:hover {
  background-color: #e6f0f1;
}



/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
  .countdown-card {
    min-width: 100px;       /* Cards un poco más anchas */
    padding: 0.2rem 0.2rem;   /* Más padding para que se vean más grandes */
    margin: 0 0.1rem;       /* Menos espacio horizontal entre cards */
  }

  .countdown-card span {
    font-size: 1.2rem;      /* Números un poco más grandes */
  }

  .countdown-card .label {
    font-size: 0.85rem;     /* Etiquetas un poco más grandes */
  }

  /* Si usas flexbox en el contenedor, controla el gap así: */
  #countdown {
    gap: 0;            /* Reduce el espacio entre cards */
    padding: 0 ;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .countdown-card {
    min-width: 80px; /* o un valor menor para que quepan */
    padding: 0.8rem 0.5rem;
  }
  .countdown-card span {
    font-size: 1.8rem; /* reducir tamaño de número para que quepa mejor */
  }
}


img.responsive-gif {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto;
}


.responsive-gif {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}


@media (max-width: 540px) { /* pantallas pequeñas, móviles */
  img.img-fluid.w-100 {
    transform: scale(1.1); /* aumenta un 10% */
    transform-origin: center center; /* zoom desde el centro */
  }
}


.video-container {
  position: relative;
  width: 100%;
  max-width: 900px; /* ancho máximo en pantallas grandes */
  margin: 0 auto;
  aspect-ratio: 16 / 9; /* Mantiene la proporción */
}

/* En pantallas pequeñas (menores o iguales a 600px) */
@media (max-width: 600px) {
  .video-container {
    max-width: 100%; /* Quitar límite máximo */
    width: 100%;     /* Ocupa todo el ancho */
    padding: 0 0.5rem; /* Opcional: un poco de padding para que no pegue a los bordes */
    box-sizing: border-box;
  }
}

#player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#loader {
  transition: opacity 0.5s;
}
#loader.hide {
  opacity: 0;
  pointer-events: none;
}

.youtube {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  background-color: #f8f3f3;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  margin: 2rem auto;
  border-radius: 8px;
  overflow: hidden;
}
.youtube .play-button i {
  font-size: 64px;      /* Cambia el tamaño aquí según lo que necesites */
  color: #fff;          /* Blanco */
  transition: transform 0.2s;
}

.youtube .play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;         /* Asegura que el botón ocupe todo el espacio del contenedor */
}
/* Cuando el modal está abierto, aplica blur al contenido */
.blur-bg {
  filter: blur(30px) brightness(0.5);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
}

/*galeria polaroid */
.polaroid {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  padding: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.polaroid:hover {
  transform: scale(1.05);
}

.polaroid img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
.polaroidh {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  padding: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.polaroidh:hover {
  transform: scale(1.05);
}

.polaroidh img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16/9;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.nombre-egresado {
  margin-top: 0.5rem;
  font-weight: 600;
  color: #2C7E87;
  font-size: 1rem;
}

/* Ajuste de altura en pantallas pequeñas */
@media (max-width: 576px) {
  .polaroid img {
    aspect-ratio: 3/4;
    object-fit: contain;
    object-position: center;
    height:25%;
    padding: 0.1rem;
  }
  .polaroidh img {
    aspect-ratio: 16/9;
    height: auto;
  }
  .nombre-egresado {
    font-size: 0.9rem;
  }
}

