@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap');

/* Variáveis CSS para cores e tamanhos */
:root {
  --grey: #fff;
  --vermelho: #e30613;
  --dark: #191A23;
  --black: #000;
  --gap-large: 40px;
  --gap-small: 20px;
  --font-size: 20px;
  --border-radius: 10px;
  --transition-speed: 0.3s;
}

.correct-answer {
  background-color: #d4edda;
  /* Verde claro */
  color: #155724;
}

.incorrect-answer {
  background-color: #f8d7da;
  /* Vermelho claro */
  color: #721c24;
}

.feedback {
  margin-top: 10px;
  font-weight: bold;
}


.explanation {
  margin-top: 5px;
  font-style: italic;
  color: #555;

}

.score {
  margin-top: 20px;
  font-size: 1.2em;
  font-weight: bold;
}

.performance-feedback {
  margin-top: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}

.performance-feedback.good {
  color: #4CAF50;
}

.performance-feedback.average {
  color: #FFC107;
}

.performance-feedback.poor {
  color: #F44336;
}



#insights {
  margin-top: 30px;
}

.insights-informations {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 20px;
  flex-direction: row;
  width: 90%;

}

canvas {
  margin-top: 3rem;
  width: 60%;
  max-width: 25rem;
  max-height: 25rem;
}

.insight-img {
  width: 50%;
  margin-top: 3rem;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
  .insights-informations {
    flex-direction: column;
    align-items: center;
  }

  canvas {
    width: 80%;
    max-width: 20rem;
    max-height: 20rem;
  }

  .insight-img {
    width: 80%;
  }

  button {
    width: 100%;
    padding: 15px;
  }
}