.quiz-quest {
    width: 800px;
    height: 500px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll; /*scroll instead of hidden*/
    margin: 0 auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ffb94f transparent; /* thumb color + transparent track */
}

.quiz-quest h3{
    font-family: 'Press Start 2P', monospace;
        color: #a06041;
        padding-top: 10px;
        padding-bottom: 10px;
        border-radius: 5px;
        text-align: center;
        font-size: 25px;
        width:800px;
        margin-top:45px;
        margin-bottom:0;
        justify-self:center;
}

.quiz-stats {
    display: flex;
    align-self: center;
    justify-content: space-between;
    background: rgba(226, 183, 64, 0.7);
    box-shadow: 5px 5px 10px rgba(160, 96, 65, 0.4);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    margin-bottom:0;
}

.quiz-question {
    flex: 1;
    display: flex;
    flex-direction: column;
    color:black;

}

.quiz-question h4{
    
    margin-left:35px;
}
.quiz-options {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
    margin: 1px 0;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color:   #e2b740;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
    align-self:center;
    width:700px;
}

.quiz-option:hover {
    background: #f5d069
}

.quiz-option input[type="radio"] {
    margin-right: 10px;
     accent-color: #a06041;
}

.option-text {
    flex: 1;
}

.quiz-controls {
    text-align: center;
    padding: 15px 0;
    margin:0;
}

.quiz-warning {
    color: #e74c3c;
    text-align: center;
    font-weight: bold;
    margin: 10px 0;
}

.quiz-results {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ffb94f transparent; /* thumb color + transparent track */
    height:500px;
    overflow-y: auto;
    text-align: center;
}

.success-message {
    align-self: center;
    color: #27ae60;
    padding-bottom:90px;
    width:800px;
    border-bottom: 2px solid #a06041;
}

.quiz-results h3{
    
    margin:20px;
    color: #27ae60;
    font-size:50px;
    margin-top:100px;
    margin-bottom: 60px;
}

.score-display {
    text-align: center;
    background: #34495e;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
}

.answers-review {
    color:black;
    margin: 15px 0;
    justify-content:center;
}

.answers-review h4{
    color: #a06041;
    font-size:40px;
}

.answer-item {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
}

.answer-item.correct {
    background: #27ae60;
    border-left: 4px solid #2ecc71;
}

.answer-item.wrong {
    background: #e74c3c;
    border-left: 4px solid #c0392b;
}

.answer-item .explanation {
    font-style: italic;
    color: #ecf0f1;
    margin-top: 5px;
}

.learned-item strong {
    color: #a06041;
}

.learned-item .explanation {
    margin:0 auto;
    background-color: rgba(160, 96, 65, 0.5);
    width:650px;
    border-radius: 25px;
}

.quiz-complete {
    text-align: center;
    padding: 15px 0;
    border-top: 2px solid #a06041;
}

