*, *::before, *::after {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
}

/* --hue sets the backroundcolor of the body. The neutral is the general color, and wrong/correct is responscolors based on your answers. Note that this feature is not active at the moment since there is a background image instead*/
:root {
    --hue-neutral: 190; 
    --hue-wrong: 0;
    --hue-correct: 140;
}

body {
    --hue: var(--hue-neutral);
    padding: 0;
    margin: 0;
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: hsl(var(--hue), 100%, 30%);
}

/* If body has class correct/wrong the background color changes to green/red */
body.correct {
    --hue: var(--hue-correct);
}

body.wrong {
    --hue: var(--hue-wrong);
}

.container {
    width: 800px;
    max-width: 80%;
    margin-top: auto;
    margin-bottom: auto;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 0 10px 2px;
}

.text-container {
    padding: 10px;
    text-align: center;
}

.answer-text {
    font-size: clamp(0.5rem, 5vw, 1.5rem);
    padding: 10px 20px;
}

.answer-image {
    padding: 20px 0px;
}

.score-text {
    font-size: larger;
    padding: 10px 20px;
}

.final-text {
    padding: 0px 20px;
}

.btn-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px;
    margin: 20px 0;
}

.btn {
    --hue: var(--hue-neutral);
    border: 1px solid hsl(var(--hue), 100%, 50%);
    background-color: hsl(var(--hue), 100%, 90%);
    border-radius: 5px;
    padding: 5px 10px;
    color: black;
    outline: none;
}

.btn:hover {
    border-color: midnightblue;
}

.btn.correct {
    --hue: var(--hue-correct);
    border: 1px solid hsl(var(--hue), 100%, 40%);
    background-color: hsl(var(--hue), 100%, 80%);
}

.btn.wrong {
    --hue: var(--hue-wrong);
    border: 1px solid hsl(var(--hue), 100%, 40%);
    background-color: hsl(var(--hue), 100%, 80%);
}

.start-btn, .next-btn, .info-btn, .finish-btn {
    font-size: clamp(0.5rem, 5vw, 1.5rem);
    font-weight: bold;
    padding: 10px 20px;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hide {
    display: none;
}
