body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: linear-gradient(to right, #3552e1, #d5ace7, #5c0980);
  color: #333;
}

header {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(to right, #6a11cb, #eab8f7, #780a39);
  color: rgb(192, 136, 136),rgb(37, 15, 15);
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
  gap: 1.5rem;
}

.card {
  background: rgb(51, 7, 43),rgb(204, 153, 240),rgb(122, 155, 246);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  width: 300px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: linear-gradient(to bottom right, #fff, #e3f2fd);
}

footer {
  text-align: center;
  padding: 1rem;
  background: #333;
  color: white;
}

/* Aplicar fuente moderna */
body {
  font-family: 'Poppins', sans-serif; /* Puedes usar Google Fonts para importar esta fuente */
  margin: 0;
  background: linear-gradient(to right, #8d4900, #b13363,#e42525,#f5005e); /* Azul profundo */
  color: #f2f2f2; /* Blanco suave para texto */
}

/* Header con colores de neón y sombra */
header {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(to right, #eb5104, #f7882f, #ce3d60); /* Gradiente de colores neón */
  color: #fff;
  box-shadow: 0 10px 15px rgb(193, 43, 95);
  border-radius: 10px;
}

/* Estilo para las tarjetas */
.card {
  background: linear-gradient(145deg, #800080, #ff0099); /* Color morado a rosa neón */
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(197, 43, 100, 0.991);
  padding: 1.5rem;
  width: 300px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease-in-out;
  color: #ffffff;
}

.card:hover {
  transform: translateY(-8px);
  background: linear-gradient(to bottom right, #ff0080, #f5a8a8); /* Efecto de luz en el hover */
  box-shadow: 0 10px 20px rgba(236, 115, 29, 0.832);
}

.card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 5px rgb(195, 68, 4); /* Sombra suave para el texto */
}

/* Estilo para el footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #f54c03;
  color: #fff;
}

/* Añadir un estilo general para la modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(174, 54, 54, 0.965), rgba(255, 163, 97, 0.968); /* Fondo más oscuro */
  overflow: auto;
  transition: all 0.3s ease-in-out;
}

/* Contenido de la modal con bordes redondeados y sombras */
.modal-content {
  background-color: #2d2d2d;
  margin: 10% auto;
  padding: 20px;
  border: 2px solid #fff;
  width: 80%;
  max-width: 500px;
  position: relative;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  box-shadow: 0 5px 15px rgba(251, 99, 99, 0.96);
}

/* Animaciones para las modales */
@keyframes slideUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

/* Cuando la modal se muestra, se anima hacia arriba o hacia abajo */
.modal.show-up .modal-content {
  animation: slideUp 0.5s forwards;
}

.modal.show-down .modal-content {
  animation: slideDown 0.5s forwards;
}

/* Estilo del botón de cerrar con resplandor */
.close {
  color: #ff3366;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  text-shadow: 0 0 10px #ff3366; /* Efecto de resplandor en el botón */
}

.close:hover {
  color: #fff;
  text-shadow: 0 0 15px #fff, 0 0 20px #ff3366; /* Resplandor más fuerte al pasar el cursor */
}

/* Efecto de parpadeo en el texto del header */
header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 30px rgba(255, 255, 255, 0.5); /* Parpadeo de neón */
  animation: blink 1.5s infinite alternate;
}

/* Animación para parpadeo */
@keyframes blink {
  0% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 30px rgba(255, 255, 255, 0.5);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 25px rgba(255, 255, 255, 0.5);
  }
}
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #111;
    color: rgb(211, 136, 46); /* Color tipo LED */
    text-align: center;
    padding: 10px 0;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-shadow: 0 0 5px rgb(236, 73, 103), 0 0 10px rgb(189, 85, 32);
}
