@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  background: #1C1E6D;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/* ===== NAVBAR GENERAL ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #1C1E6D;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===== CONTENEDOR DE NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== LOGO ===== */
.navbar img.logo {
  height: 40px;
  object-fit: contain;
}

/* ===== LISTA DE ENLACES ===== */
.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

/* ===== CADA ITEM DE LA LISTA ===== */
.navbar ul li {
  padding: 0 10px;
}

/* ===== ENLACES ===== */
.navbar ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  position: relative;
  transition: color 0.3s ease;
}

/* ===== LÍNEA DEBAJO ENLACE ===== */
.navbar ul li a::after {
  content: '';
  width: 0%;
  height: 2px;
  background-color: #4B58F4;
  position: absolute;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
  width: 100%;
}

/* ===== SECCIÓN DEBAJO DEL NAVBAR ===== */
section {
  padding-top: 60px;
}

h2, .text1 {
  color: white;
  text-align: center;
  font-size: 100px;
  margin-top: 0;
  margin-bottom: 50px;
  line-height: 1;
  padding: 0;
}

/* ===== BOTÓN AZUL ===== */
.text2 {
  border: 2px solid #586EFF;
  background-color: #586EFF;
  padding: 10px 20px;
  width: 600px;
  border-radius: 35px;
  color: #FFFFFF;
  opacity: 0.9;
  text-align: center;
  margin: 0 auto;
  white-space: nowrap;
  line-height: 1.2;
  display: block;
  font-size: 30px;
}

/* ===== IMAGEN LOGO DEBAJO ===== */
.l {
  width: 250px;
  height: 170px;
  display: block;
  margin: auto;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #1A1B4B;
  color: #FFFFFF;
  padding: 30px 20px;
  text-align: center;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links li a {
  color: #CCCCFF;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

/* ===== ANIMACIÓN puff-in-center ===== */
@-webkit-keyframes puff-in-center {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
@keyframes puff-in-center {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
.puff-in-center {
  -webkit-animation: puff-in-center 0.7s ease-out both;
  animation: puff-in-center 0.7s ease-out both;
}

/* ===== ANIMACIÓN scale-in-hor-left ===== */
@keyframes scale-in-hor-left {
  0% {
    transform: scaleX(0);
    transform-origin: 0% 0%;
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    transform-origin: 0% 0%;
    opacity: 1;
  }
}
.scale-in-hor-left {
  animation: scale-in-hor-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/* ===== BLOQUE INFORMATIVO SIN BORDE ===== */
.dpt {
  border: none; /* SIN BORDE */
  border-radius: 15px;
  padding: 20px;
  background-color: #ffffff;
  text-align: left;
  width: 320px;
  margin: 40px 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  line-height: 1.5;
}

/* ===== TEXTO CON DEGRADADO ===== */
.gradient-text {
  background: linear-gradient(90deg, #FF7E5F, #FEB47B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 1.8em;
}

/* ===== FONDO ALTERNATIVO ===== */
.obc {
  background-color: #B2C2D9;
  padding: 20px;
}

/* ===== NOTIFICACIÓN FIJA ===== */
.notificacion {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #586EFF;
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  max-width: 300px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 9999;
}

.notificacion.mostrar {
  opacity: 1;
  pointer-events: auto;
}

.notificacion-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 5px;
}

@media (max-width: 768px) {
  /* Ajustar tamaño de título grande */
  h2, .text1 {
    font-size: 40px;
    margin-bottom: 30px;
  }

  /* Botón azul ocupa casi todo el ancho */
  .text2 {
    width: 90%;
    max-width: none;
    font-size: 24px;
    padding: 12px 15px;
  }

  /* Imagen logo más pequeña y centrada */
  .l {
    width: 150px;
    height: auto;
  }

  /* Contenedor del texto .dpt más ancho y margen centrado */
  .dpt {
    width: 90%;
    max-width: none;
    margin: 20px auto;
    font-size: 14px;
  }

  /* Ajustar padding en secciones para que no quede muy pegado al nav */
  section {
    padding-top: 70px;
  }

  /* Navbar: aumentar altura y tamaño de fuente para mejor tactilidad */
  .navbar {
    height: 60px;
    padding: 0 15px;
  }

  .navbar ul li a {
    font-size: 16px;
    padding: 10px 8px;
  }

  /* Footer: tamaño más pequeño */
  .footer p {
    font-size: 12px;
  }

  /* Notificación más pequeña y con menos padding */
  .notificacion {
    font-size: 14px;
    padding: 10px 15px;
    max-width: 250px;
  }

  /* Gradiente texto un poco más pequeño */
  .gradient-text {
    font-size: 1.4em;
  }
}

.hechas {
  text-align: right;
  padding: 20px;
  align-items: flex-start;
}

