/* ////////////////////////////// BIENVENIDA /////////////////// */
/* Sección bienvenida */
.bienvenida {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

/* Video de fondo */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Capa oscura */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.75);
  top: 0;
  left: 0;
  z-index: 0;
}

.contenidoWelcome {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  opacity: 1;
  transform: translateY(40px);
  transition: all 1s ease;
}

.contenidoWelcome.visible {
  opacity: 1;
  transform: translateY(0);
}

h1 {
  font-size: 3em;
  margin-bottom: 15px;
}
.tituloWelcome{
  color: bisque;
}

.resaltado {
  color: #e53935;
  font-weight: bold;
}

/* Frase escribiéndose */
.frase-escribiendo {
  font-size: 1.3em;
  min-height: 40px;
  margin-bottom: 30px;
  white-space: nowrap;
  overflow: hidden;
}

/* Botón */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #c70000;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.btn:hover {
  background-color: #fff;
  color: #e53935;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }

  .frase-escribiendo {
    font-size: 1em;
  }

  .btn {
    padding: 10px 20px;
  }
  h1#titulo-principal{
        text-align: center;
        padding: 90px 20px 0px;
        color: bisque;
        top: 0;
    }
}
/* //////////////////// FIN BIENVENIDA ///////////////////////////// */

.desliza-container {
      text-align: center;
      animation: fadeInUp 1.5s ease-out;
      position: relative;
      top: 20vh;
    }

    .desliza-text {
      font-size: 20px;
      margin-bottom: 10px;
      animation: blink 1.5s infinite;
      letter-spacing: 1px;
    }

    .flecha {
      font-size: 40px;
      animation: bounce 1.5s infinite;
      color: #00eaff;
      display: inline-block;
    }

    /* Animaciones */
    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(10px); }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ////////// card de cursos /////////////// */
      .materias-container {
    display: grid
;
    flex-wrap: wrap;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
    justify-items: anchor-center;
    padding: 0;
}

.materia-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 2% 4%;
    width: 90%;
    text-align: center;
    transition: transform 0.2s ease;
    display: flex;
    justify-content: space-between;
}

.materia-card:hover {
  transform: translateY(-5px);
}

.materia-titulo {
  font-size: 1.2em;
  font-weight: bold;
  color: #29427B;
  margin-bottom: 10px;
}

.materia-vencimiento {
  color: #D32F2F;
  font-size: 0.95em;
  margin-bottom: 15px;
}

.btn-ingresar {
  background-color: #29427B;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.2s ease;
      align-content: center;
}

.btn-ingresar:hover {
  background-color: #1f2e57;
}

    /* /////////////////////////////////////// */