/* GERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica;
}

body {
  background-color: #242940;
  color: #fff;
}

.hide {
  display: none !important;
}

#main-title {
  padding: 40px 0;
  text-align: center;
  background-color: #2d425a;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

/* Score Container */

#score-container {
  background-color: #cddde8;
  color: #000;
  text-align: center;
  width: 300px;
  margin: 50px auto;
  padding: 25px;
  border-radius: 20px;
}

#score-container p {
  font-size: 14px;
  margin: 20px 0;
}

#score-container #display-score {
  font-size: 32px;
  font-weight: bold;
}

#correct-answers {
  font-weight: bold;
  color: #40b576;
}

#questions-qty {
  font-weight: bold;
  color: #075ea4;
}

#restart {
  background-color: #e78230;
  color: #fff;
  font-weight: bold;
  height: 50px;
  border-radius: 25px;
  border: 2px solid transparent;
  width: 180px;
  text-transform: uppercase;
  margin-top: 20px;
  cursor: pointer;
  transition: 0.5s;
}

#restart:hover {
  background-color: transparent;
  border-color: #e78230;
  color: #e78230;
}

/* Quizz container */

#quizz-container {
  width: 500px;
  margin: 150px auto;
  border: 1px solid #cddde8;
  padding: 25px;
  border-radius: 25px;
}

#question {
  text-align: center;
  margin-bottom: 25px;
  font-size: 20px;
}

#question-number {
  font-weight: bold;
}

#answers-box button {
  display: flex;
  align-items: center;
  margin: 15px 0;
  width: 300px;
  height: 50px;
  border-radius: 25px;
  background-color: #cddde8;
  border: 2px solid transparent;
  color: #fff;
  text-align: left;
  padding-left: 5px;
  color: #000;
  cursor: pointer;
  transition: 0.5s;
}

#answers-box button:hover {
  background-color: #e78230;
  color: #fff;
}

#answers-box .btn-letter {
  font-size: 30px;
  font-weight: bold;
  background-color: #e78230;
  color: #fff;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
  flex: 1 1 0;
  max-width: 40px;
}

.question-answer {
  flex: 1 1 0;
  margin-left: 10px;
  font-size: 16px;
}

#quizz-container .wrong-answer,
#quizz-container .wrong-answer .btn-letter {
  background-color: #e62210;
  color: #fff;
}

#quizz-container .correct-answer,
#quizz-container .correct-answer .btn-letter {
  background-color: #40b576;
  color: #fff;
}

/* RESPONSIVO */

@media (max-width: 450px) {
  #quizz-container {
    border: none;
    width: 100%;
  }

  #answers-box button {
    width: 100%;
  }

  #score-container {
    width: 90%;
  }
}
