@import url('https://fonts.googleapis.com/css?family=Bebas%20Neue:700|DM%20Sans:400');

:root {
    --text: #0a0a0a;
    --background: #f5f5f5;
    --primary: #3e5e60;
    --secondary: #e6e6e6;
    --accent: #d1d1d1;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'DM Sans';
}

body h1 {
    margin: 20px;
    text-align: center;
    font-size: 350%;
    font-family: 'Bebas Neue';
}

#startButtonDiv {
    width: 100%;
    display: flex;
    justify-items: center;
    align-items: center;
    height: 75vh;
}

#startButton {
    font-size: 500%;
    padding: 24px;
    border-radius: 20px;
    margin: auto;
    font-family: 'DM Sans';
    background-color: var(--secondary);
    border-color: var(--primary);
}





#nextButtonDiv {
    display: flex;
    justify-content: flex-end;
}

#nextButton {
    display: none;
    font-size: 120%;
    border-radius: 8px;
    padding: 4px 8px 4px 8px;
    font-family: 'DM Sans';
    margin-right: 2%;
}

button {
    cursor: pointer;
    border-color: var(--primary);
}

button:disabled {
    cursor: not-allowed;
}

#timer {
    text-align: right;
    font-size: 200%;
    padding: 2%;
    margin: 0;
    color: var(--primary);
}

#quizzes {
    margin: 5%;
    font-size: 150%;
}

input[type='radio'] {
    accent-color: var(--primary);
    margin: 15px;
    transform: scale(1.5);
}

#resultSection {
    display: none;
    font-size: 300%;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 70vh;
}

#resultSection p {
    margin: 0;

}

#resultSection span {
    color: var(--primary);
}

#restartButton {
    font-size: 124%;
    width: fit-content;
    padding: 24px;
    border-radius: 16px;

}

#loading {
    text-align: center;
    font-size: 300%;
}

@media screen and (max-width: 576px) {
    #startButton {
        font-size: 250%;
        padding: 12px;
        border-radius: 12px;
    }

    #quizzes {
        margin: 1%;
        font-size: 110%;
    }

    #timer {
        font-size: 120%;
        padding: 1%;
    }

    #restartButton {
        font-size: 100%;
        width: fit-content;
        padding: 16px;
        border-radius: 16px;

    }

    #resultSection {
        font-size: 175%;
    }

    #loading {
        text-align: center;
        font-size: 200%;
    }
}