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

:root {
    --primary: #000a99;
    --secondary: #757eff;
    --tertiary: #b3b8ff;
}

header {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#viewHS {
    color: var(--secondary);
}

#viewHS, #timer, .headers, .instructions, .text, .formLabel, .startbutton, .allDone, .score, .question, .choice1, .choice2, .choice3, .choice4 {
    font-family: Arial, Helvetica, sans-serif;
}

.startbutton:hover, .choice1:hover, .choice2:hover, .choice3:hover, .choice4:hover, .formSubmit:hover{
    background: var(--secondary);
}

.headers, .allDone {
    font-size: 2.5rem;
}

.allDone {
    margin-bottom: 15px;
}

.question {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

p {
   font-size: 1.2rem;
}

.instructions {
    margin: auto;
}

#viewHS {
    margin-left: 50px;
}

#timer {
    margin-right: 50px;
}

#wrapper {
    margin-top: 100px;
}

#main-container{
    display: flex;
    flex-direction: column;
    margin: 0 300px;
}

.highscoreContainer {
    margin: 100px 300px;
}

.endContainer {
    margin: 0 300px;
}

#introHeader, .instructions, .startbutton{
    text-align: center;
}

.btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#mpc {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.startbutton, .choice1, .choice2, .choice3, .choice4, .formSubmit, .btn {
    outline: none;
    border: none;
    padding: 10px 15px;
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    border-radius: 12px;
}

.choice1, .choice2, .choice3, .choice4 {
    margin-bottom: 10px;
    width: 100%;
}

.result {
    border-top: rgb(175, 175, 175) solid;
    border-top-width: 1px;
    margin: 0 300px;
    font-size: 24px;
    color: rgb(175, 175, 175);
    font-style: oblique;
}

.initialsForm {
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    flex: 1;
}

.formLabel {
    margin: 0 10px 0 0;
    padding: 10px 0;
}

.formSubmit {
    margin-left: 10px;
}

input {
    font-size: 1.2rem;
}

.scoreList {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 5px 0;
    border-top: 2px solid black;
    padding: 5px;
}

.score:nth-child(2n-1) {
    background-color: var(--secondary);
}

.score {
    background-color: var(--tertiary);
    width: 100%;
    color: white;
    font-size: 25px;
    padding: 5px 0 5px 10px;
}

.btn {
    margin-right: 20px;
}

@media screen and (max-width: 1024px) {
    #main-container, .result, .endContainer {
        margin: 0 100px;
    }

    .highscoreContainer {
        margin: 100px 100px;
    }

    .headers, .allDone {
        font-size: 32px;
    }

    .question {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    #main-container, .result, .endContainer {
        margin: 0 30px;
    }

    .highscoreContainer {
        margin: 100px 30px;
    }

    .headers, .allDone {
        font-size: 32px;
    }

    .question {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }
}

@media screen and (max-width: 425px) {
    #main-container, .result, .endContainer {
        margin: 0 30px;
    }

    #viewHS {
        margin-left: 30px;
    }

    #timer {
        margin-right: 30px;
    }

    .highscoreContainer {
        margin: 100px 30px;
    }

    .headers, .allDone {
        font-size: 22px;
    }

    .question, .result {
        font-size: 16px;
    }

    p, .score {
        font-size: 14px;
    }

    .startbutton, #mpc button, .btn, .formSubmit {
        font-size: 14px;
    }

    .btn {
        padding: 10px 15px;
        margin: 0;
    }
    
    .initialsForm{
        display: flex;
        flex-wrap: wrap;
    }

    #hsButtonDiv{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .formLabel {
        width: 50%;
        padding-top: 0px;
    }

    .initialsForm input {
        width: 100%;
        margin-bottom: 10px;
    }

    .formSubmit {
        margin-left: 0;
    }
}
