@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  text-align: left;
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  font-size: 1.5rem;
  background-color: #fbf9fa;
}

h2 {
  font-size: 1.8rem;
  margin: 1rem 0;
}

p {
  margin-bottom: 0;
}

.container {
  width: 60%;
  margin-top: 2rem;
}

.choice-container {
  display: flex;
  margin-bottom: 0.5rem;
  width: 100%;
  border: 2px solid rgb(177, 194, 207);
  background-color: #fbf9fa;
  align-items: center;
}

.choice-container:hover {
  cursor: pointer;
  box-shadow: 0 0.4rem 1.4rem 0 rgb(107, 129, 141);
  transform: translateY(-0.1rem);
  transition: transform 150ms;
}

.choice-prefix {
  padding: 0.8rem 0;
  text-align: center;
  font-weight: bold;
}

.choice-text {
  padding: 0.8rem 0;
  padding-left: 1.2rem;
  width: 87%;
  border-left: 2px solid rgb(177, 194, 207);
}

.correct {
  background-color: #28a745;
  color: #fbf9fa;
}

.incorrect {
  background-color: #dc3545;
}

/* HUD */
#hud {
  display: flex;
  justify-content: space-between;
}

.hud-prefix {
  text-align: center;
  font-size: 2rem;
}

.hud-main-text {
  text-align: center;
}

.hud-box {
  width: 25%;
}

#progressBar {
  width: 100%;
  height: 2rem;
  border: 0.3rem solid #6b818d;
  margin-top: 0.4rem;
}

#progressBarFull {
  height: 1.5rem;
  background-color: #6b818d;
}

@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 812px)
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) {

    .hud-box {
      width: 44%;
    }

    .choice-prefix {
      padding: 2rem auto;
    }

    .choice-text {
      border-left: 2px solid;
    }

    #progressBar {
      margin-top: 0.5rem;
    }
}
