body {
      font-family: Arial, sans-serif;
      background:url("https://img.freepik.com/foto-gratis/fondo-abstracto-borroso_58702-1514.jpg?semt=ais_hybrid&w=740&q=80");
    background-repeat: no-repeat;
    background-size: cover;
      padding: 20px;
    }
    h1 {
      text-align: center;
      color: #0c0404;
    }
    .pregunta {
      background: #507935a2;
      padding: 15px;
      margin: 10px 0;
      border-radius: 10px;
      box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }
    .incorrecta {
      border-left: 30px solid red;
      
    }
    .correcta {
      border-left: 30px solid green;
    }
    

  .boton {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 100px;
    background: #fff;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.boton:hover {
    background: #3d723d;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 15px #11ff00;
}

.contenedor-botones {
    text-align: center;
    margin-top: 20px;
}

.boton {
    display: inline-block;
    margin: 10px;
    padding: 10px 80px;
}



/* ❌ Quitar color verde en correctas */
.correcta {
  border-left: 0px solid transparent !important;
}

/* 🔥 ALERTA PERSONALIZADA */
.alerta-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.alerta-contenido {
  background: #ffffff;
  padding: 25px;
  width: 320px;
  border-radius: 15px;
  text-align: center;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 0 25px #4caf50;
}

.alerta-contenido p {
  font-size: 18px;
  margin-bottom: 15px;
}

.alerta-contenido button {
  background: #4caf50;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.alerta-contenido button:hover {
  background: #357a38;
  transform: scale(1.1);
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}


/* 🌟 ALERTA PERSONALIZADA */
.alerta {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.alerta-contenido {
  background: white;
  padding: 25px 35px;
  border-radius: 15px;
  text-align: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  animation: aparecer 0.3s ease;
}

.alerta-btn {
  background: #4caf50;
  padding: 10px 25px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  color: white;
  cursor: pointer;
}

.alerta-btn:hover {
  background: #3e8e41;
}

@keyframes aparecer {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 🌟 ALERTA PERSONALIZADA */
.alerta {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.alerta-contenido {
  background: white;
  padding: 25px 35px;
  border-radius: 15px;
  text-align: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  animation: aparecer 0.3s ease;
}

.alerta-btn {
  background: #4caf50;
  padding: 10px 25px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  color: white;
  cursor: pointer;
}

.alerta-btn:hover {
  background: #3e8e41;
}

@keyframes aparecer {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; 
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #ffffff;
    margin: 15% auto;
    padding: 20px;
    width: 350px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,255,0,0.4);
    animation: aparecer 0.3s ease;
}

.modal-content button {
    margin-top: 15px;
    padding: 10px 30px;
    border-radius: 10px;
    border: none;
    background: #4caf50;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.modal-content button:hover {
    background: #3a8f3d;
}

@keyframes aparecer {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}