body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(270deg, #ffcb05, #3b4cca, #ff0000);
  background-size: 600% 600%;
  color: red;
  text-align: center;
  animation: moviendoFondo 10s ease infinite;
}

h1 {
  font-size: 3em;
  margin-top: 20px;
  text-shadow: 2px 2px 5px black;
}

@keyframes moviendoFondo {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

select {
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-size: 1em;
  margin: 15px;
}

#timer {
    font-size: 1.4em;
    font-weight: bold;
    background: #3b4cca;
    color: #ffcb05;      
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    border: 3px solid #ffffff;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}


#pregunta {
    background: white;  
    color: #333;        
    padding: 30px;
    border-radius: 20px;
    width: 80%;
    max-width: 600px;    
    margin: 20px auto;
    font-size: 1.4em;
    font-weight: bold;
    border: 5px solid #3b4cca;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.3);
    line-height: 1.4;
}

#respuestas {
  margin-top: 20px;
}

#respuestas button {
    background: #f0f0f0;
    border: 2px solid #ccc;
    font-weight: bold;
    color: #3b4cca;
    width: 70%;
    max-width: 400px;
}


#respuestas button:hover {
    background: #3b4cca;
    color: white;
    border-color: #ffcb05;
}


button {
    padding: 12px 20px;
    margin-top: 20px;
    border-radius: 12px;
    border: none;
    background: #ff0000;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #cc0000;
    transform: scale(1.1);
}

#resultado {
    font-size: 1.5em;
    margin-top: 20px;
    font-weight: bold;
}

@media (max-width: 768px) {
    #pregunta {
        width: 90%;
    }
    #respuestas button {
        width: 80%;
    }
}
