* {
 padding: 0;
 margin: 0;
 box-sizing: border-box;
}

:root {
 font-size: 62.5%;
}


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

.bar-container {
 height: 20px;
 width: 30px;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 cursor: pointer;
 z-index: 999;
}


nav>ul {
 list-style: none;
}

.bar {
 margin-bottom: 5.5px;
 width: 25px;
 border: solid 1px black;
 border-radius: 4px;
}

.hero {
 max-width: 900px;
 margin: 0 auto;
}

.hero>h2 {
 margin-bottom: 1.4rem;
}

/* .cards-container {
 background-image: linear-gradient(to bottom right, rgba(179, 255, 179, 0.4), rgb(137, 235, 137));
} */

.subject_card {
 padding: 20px;
}

p.multiple span::before {
 margin: 10px auto;
 content: "";
 display: block;
 height: 2px;
 width: 100%;
 background: black;
}

p.multiple a {
 display: block;
}

#multipleSpan .subject_card {
 padding: 5px;
}

.quizCard {
 border: 1px solid black;
 width: 100%;
 border-radius: 5px;
 box-shadow: 0 0.4rem 0.8rem 0 rgb(218, 213, 213);
 text-decoration: none;
 color: #000;
 background-color: #fff;
 cursor: pointer;
 padding: 20px;
 margin-bottom: 10px;
}

.choice-container {
 width: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
 cursor: pointer;
 height: 100%;
}

#question {
 font-size: 2.5rem;
}

.choice-prefix {
 display: flex;
 justify-content: center;
 align-items: center;
 padding: 10px;
 background-color: green;
 color: #fff;
 border-radius: 50%;
 margin-right: 10px;
 margin-left: 3px;
 font-size: 1.5rem;
 width: 40px;
 height: 40px;
 border: 2px solid #fff;
}

.choice-text {
 width: 100%;
 font-size: 1.5rem;
 height: 100%;
 padding: 20px;
}

.card:not(:last-child) {
 margin-bottom: 10px;
}


.hide {
 display: none;
}



.incorrect {
 background-color: #dc3545;
 transition: background-color 150ms;
}

.selected-answer {
 background: rgb(146, 146, 146);
 transition: background-color 150ms;
}

.correct {
 background-color: #2ba745;
 transition: background-color 150ms;
}

.unavailable {
 cursor: not-allowed;
 background: lightgrey !important;
 transform: none !important;
 box-shadow: none !important;
}

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

#question::before {
 content: "";
 display: block;
 height: 3px;
 background: black;
 width: 80%;
 margin: 1rem auto;
 border-radius: 30%;
}

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

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

#score {
 font-size: 3rem;
 color: green;
}

#counter {
 margin: 1rem;
 text-align: center;
}

.countDown {
 font-size: 2rem;
}

#question-container {
 display: flex;
 max-width: 84%;
 flex-wrap: wrap;
 margin: 2rem auto;
}

@media screen and (min-width: 401px) {
 #question-container {
  max-width: 95%;
 }
}

#questionBtn {
 font-size: 1.1rem;
 border: 1px solid black;
 margin: 0.5rem 1rem;
 width: 4rem;
 text-align: center;
}

.buttons {
 display: flex;
 justify-content: space-between;
 margin: 1rem auto;
 width: 90%;
}

#previousBtn {
 background: #2ba745;
 color: #fff;
}

#nextBtn {
 background: #2ba745;
 color: #fff;
}

#progressBar {
 display: none;
 /* width: 15rem;
 height: 3rem;
 border: 0.3rem solid green;
 border-radius: 20px;
 margin-top: 1.5rem; */
}

/* #progressBarFull {
 height: 2.7rem;
 background-color: green;
 border-radius: 10px;
} */