:root {
    --primary: #2ecc71;
    --secondary: #27ae60;
    --background: #f0fff4;
    --text: #2c3e50;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: var(--background);
    color: var(--text);
  }
  
  .quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
  }
  
  .start-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
  }
  
  .start-button {
    background: var(--primary);
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    margin-top: 20px;
  }
  
  .start-button:hover {
    transform: scale(1.05);
    background: var(--secondary);
  }
  
  .start-title {
    color: var(--text);
    text-align: center;
    margin-bottom: 20px;
  }
  
  .start-image {
    max-width: 400px;
    height: auto;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .question-container {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .question-image {
    margin-bottom: 20px;
  }
  
  .options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
  }
  
  .option {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
    text-align: center;
    border: none;
    font-size: 1.1em;
  }
  
  .option:hover {
    transform: scale(1.05);
    background: var(--secondary);
  }
  
  .progress-bar {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    margin: 20px 0;
  }
  
  .progress {
    height: 100%;
    background: var(--primary);
    border-radius: 5px;
    transition: width 0.3s ease;
  }
  
  .question-counter {
    text-align: left;
    margin: 10px 0;
    color: #666666;
    font-size: 0.9em;
  }
  
  .result-container {
    text-align: center;
    display: none;
  }
  
  .result-image {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
  }
  
  /* Update restart button styles to include font family */
  .restart-button {
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    margin-top: 20px;
    display: inline-block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .restart-button:hover {
    transform: scale(1.05);
    background: var(--secondary);
  }
  
  /* Add styles for return home button */
  .return-home-button {
    background: var(--secondary);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    margin-top: 20px;
    margin-left: 10px;
    display: inline-block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .return-home-button:hover {
    transform: scale(1.05);
    background: var(--primary);
  }
  
  .button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .quiz-image {
    max-width: 300px;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  /* Responsividade para dispositivos pequenos */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .quiz-container {
    padding: 15px;
  }

  .start-title {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .start-image {
    max-width: 60%;
    height: auto;
  }

  .start-text {
    max-width: 80%;
    text-align: center;
  }

  .start-button {
    font-size: 1.2em;
    padding: 15px 30px;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .option {
    font-size: 1em;
    padding: 15px;
  }

  .progress-bar {
    height: 8px;
  }

  .question-counter {
    font-size: 0.8em;
  }

  .result-image {
    width: 150px;
    height: 150px;
    font-size: 2.5em;
  }

  .button-container {
    flex-direction: column;
    gap: 15px;
  }

  .return-home-button, .restart-button {
    width: 100%;
    font-size: 1em;
  }
}

/* Responsividade para dispositivos muito pequenos (smartphones) */
@media (max-width: 480px) {
  .start-title {
    font-size: 1.3em;
  }

  .start-button {
    font-size: 1em;
    padding: 10px 20px;
  }

  .option {
    font-size: 0.9em;
    padding: 10px;
  }

  .question-counter {
    font-size: 0.7em;
  }

  .quiz-image {
    max-width: 40%;
    margin: 10px auto;
  }

  .start-text {
    max-width: 60%;
    text-align: center;
  }
}
