body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  
}

#quiz-container, #result-container {
  max-width: 700px;
  width: 100%;
  margin: 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1, h2 {
  text-align: center;
}

#question {
  font-size: 1.5em;
  margin-bottom: 20px;
}

#question-number {
  font-size: 1.2em;
  margin-bottom: 20px;
  text-align: center;
}

.choices {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.choices li {
  margin-bottom: 15px;
}

.choices input[type="radio"] {
  margin-right: 10px;
}

button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.correto {
  color: green;
  background-color: #d4edda;
  padding: 5px;
  border-radius: 5px;
}

.incorreto {
  color: red;
  background-color: #f8d7da;
  padding: 5px;
  border-radius: 5px;
}

#result-container ul {
  list-style-type: none;
  padding: 0;
}

#result-container li {
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 1px solid #eaeaea;
}

#result-container .question {
  font-weight: bold;
}

#result-container .answer {
  margin-left: 10px;
  display: block;
  margin-top: 5px;
}

#result-container .status {
  font-weight: bold;
}

#timer-container {
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

#timer {
  font-size: 1.5em;
  color: #007bff;
  text-align: center;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navigation button {
  flex: 1;
  margin: 0 10px;
}

#corner-image {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 125px; /* Adjust the size as needed */
  height: auto;
  z-index: 1000;
  max-width: 20vw; /* Prevents resizing beyond 10% of viewport width */
  max-height: 20vh; /* Prevents resizing beyond 10% of viewport height */
}



/* Specific styles for the "New Test" button on the review page */
#restart-btn {
  background-color: orange;
}

#restart-btn:hover {
  background-color: darkorange;
}

#message-btn {
  background-color: orangered;
}

#message-btn:hover {
  background-color: orangered;
}

#print-btn {
  float: right;
}


/* Media query for smaller screens */
@media (max-width: 768px) {
  #timer-container {
    padding: 5px 10px;
    font-size: 1em;
  }



  #corner-image {
    bottom: 5px;
    left: 5px;
    width: 80px;
  }

  

  .navigation button {
    flex: 1;
    margin: 0 5px;
  }
}

/* Hide elements when printing */
@media print {
  #timer-container, #corner-image, #print-btn {
      display: none;
  }
}
