@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* Reset de estilos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fondo de la página */
body {
  font-family: "Montserrat", "sans-serif";
  background-image: url("/img/UTU-background.jpg");
  background-size: cover;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Oscurece la imagen */
  z-index: -1;
}

/* CONTENIDO PRINCIPAL */
.content {
  margin-top: 100px;
  text-align: center;
}

@media (max-width: 768px) {
  .content {
    margin-top: 80px; /* O el valor que se ajuste a la altura de tu navbar en móviles */
  }
}

.forma {
  /* border: 5px solid red; */
  background: rgba(0, 0, 0, 0.6); /* Fondo negro semitransparente */
  padding: 10px 20px;
  border-radius: 8px;
  width: 100%;
  margin-top: 80px;
  color: white; /* Asegura que el color sea claro */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Sombra negra difuminada */
}

.title {
  font-size: 3rem;
  font-weight: bold;
}

.underline {
  width: 300px;
  height: 5px;
  background-color: #27c9ad;
  margin: 10px auto;
  border-radius: 5px;
}

/* Tarjetas */
.card-custom {
  width: 100%;
  max-width: 350px;
  background: rgba(255, 255, 255, 1);
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transform: translateY(0);
  transition: transform 4s ease-out, opacity 1.5s ease-out;
  margin: 15px auto;
}

.card-custom:hover {
  border-color: #21b09e;
}

/* Animación para tarjetas */
.card1 {
  animation: fadeIn 2.5s ease-out forwards;
}
.card2 {
  animation: fadeIn 2.5s ease-out 0.5s forwards;
}
.card3 {
  animation: fadeIn 2.5s ease-out 1s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.divider {
  width: 60%;
  height: 2px;
  background: #21b09e;
  margin: 10px auto;
}

/* Contenedor de audio */
.audio-container {
  margin-top: 40px;
}

.audio-container:hover {
  color: #27c9ad;
}

audio {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
}
