body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(./img/fondo.jpeg);
}


.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

#introduction-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh; /* Ajusta la altura según el tamaño de la ventana */
}

#introduction-container h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

#introduction-container h3 {
  font-size: 1.2em;
  margin-bottom: 20px;
}

#start-button {
  padding: 10px 20px;
  font-size: 1.2em;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#start-button:hover {
  background-color: #45a049;
}


.square-container {
  width: 600px; 
  height: 500px;
  /* margin-left: 24%; */
  /* background-color: #113259; */
  border-radius: 10px;
  text-align: center; 
  padding: 20px;
  margin: 0 auto;
  flex-grow: 1;
  overflow-y: auto;
}

#question {
  font-size: 24px;
  margin-bottom: 20px;
}

#options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px; /* Espacio entre las opciones */
}

.option {
  margin: 10px;
  padding: 10px 20px;
  background-color: #df9d3b; /* Amarillo */
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-align: center; /* Asegura que el texto esté centrado */
}

.option:hover {
  background-color: #94641b; /* Amarillo más oscuro */
}

#result {
  font-size: 18px;
  margin-top: 2px;
  text-align: center; /* Centra el texto del resultado */
  
}

#image-container {
  margin-top: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
}



#next-button, #restart-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #4caf50; /* Verde */
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block; /* Asegura que el botón sea un bloque */
  margin-left: auto;
  margin-right: auto; /* Centra el botón horizontalmente */
  z-index: 2;
}

#next-button:hover, #restart-button:hover {
  background-color: #45a049; /* Verde más oscuro */
}

/* Animaciones */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.fadeIn {
  animation-name: fadeIn;
}

.fadeInUp {
  animation-name: fadeInUp;
}

footer {
  background-color: rgba(0, 0, 0, 0.05);
  text-align: center;
  flex-shrink: 0; /* Evita que el footer se encoja */
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .square-container {
    max-width: 100%;
  }

  
}

  
  
  