
body {
  font-family: Verdana, sans-serif;
  color: #000;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f4f4f4;
}


header {
  width: 100%;
  background: linear-gradient(0deg, rgba(244,242,237,1) 0%, rgba(210,201,171,1) 15%, rgba(209,200,169,1) 36%, rgba(172,158,110,1) 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header a img {
  height: 100px;
  cursor: pointer;
}

header nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

header nav ul li a:hover {
  text-decoration: underline;
}


.container {
  max-width: 800px; 
  background: white;
  padding: 40px; 
  margin: 20px auto; 
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.container {
  display: none;
}

.title {
  font-size: 28px;
  margin-bottom: 30px;
}

.image-container {
  text-align: center;
  margin-bottom: 15px; 
}

.question-image {
  max-width: 100%;
  max-height: 350px; 
  width: auto;
  height: auto;
  border-radius: 10px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-field {
  width: 90%;
  max-width: 600px; 
  padding: 15px;
  margin: 15px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 18px;
}

.submit-button {
  background-color: #AC9E6E; /* Background color */
  color: white; /* Text color */
  border: none; /* No border */
  padding: 12px 20px; /* Padding for button */
  font-size: 18px; /* Text size */
  cursor: pointer; /* Pointer cursor */
  border-radius: 5px; /* Rounded corners */
  transition: 0.3s ease-in-out; /* Smooth transition */
  margin: 10px 0; /* Margin for spacing between buttons */
  display: inline-block; /* Make sure buttons are inline-block */
  text-align: center; /* Center text */
}

.submit-button:hover {
  background-color: #8c7b52; /* Darker background when hovered */
}

/* Make sure buttons inside choices-container are visible */
.choices-container button {
  background-color: #f1f1f1; /* Light gray background */
  color: #333; /* Dark text */
  padding: 12px 20px; /* Padding for the button */
  border: 1px solid #ccc; /* Light border */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor */
  font-size: 16px; /* Text size */
  display: block; /* Stack the buttons vertically */
  margin: 10px 0; /* Margin for spacing */
}

.choices-container button:hover {
  background-color: #ddd; /* Hover effect */
}

/* Adjust for small screens */
@media only screen and (max-width: 768px) {
  .submit-button {
      font-size: 16px; /* Smaller text on mobile */
      width: 100%; /* Make buttons take full width */
  }
}


.audio-button {
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 5px;
  background-color: #AC9E6E;
  color: white;
  border: none;
  cursor: pointer;
  margin: 10px auto;
  display: block;
  text-align: center;
}

.audio-button:hover {
  background-color: #8F855B;
}

#playAudioButton {
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 5px;
  background-color: #AC9E6E; 
  color: white; 
  border: none; 
  cursor: pointer;
  margin: 10px auto; 
  display: block;
}


.message {
  display: none;
  padding: 15px;
  margin-top: 15px;
  border-radius: 5px;
  font-size: 18px;
}

.correct-message {
  background-color: #d4edda;
  color: #155724;
}

.wrong-message {
  background-color: #f8d7da;
  color: #721c24;
}

.continue-button {
  display: none;
  background-color: #AC9E6E;
  color: white;
  padding: 12px 20px;
  border: none;
  font-size: 18px;
  cursor: pointer;
  margin-top: 15px;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
}

.continue-button:hover {
  background-color: #8c7b52;
}


/* MOBIILI */
@media only screen and (max-width: 768px) {
  .container {
      width: 90%;
      padding: 30px;
  }

  .input-field {
      width: 100%;
  }
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;

}

.selection-container {
  text-align: center;
  margin: 20px 0;
}
.selection-button {
  background-color: #AC9E6E;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
  margin: 5px;
}
.selection-button:hover {
  background-color: #8c7b52;
};

a{
  background-color: #000;
  color: #000;
}
.submit-button {
  border: 1px solid red; /* Lisää punainen reuna nappeihin */
}
