* {
    box-sizing: border-box;
}

:root {
    --primary: #0a0808c5;
    --secondary: #460779;
    --tertiary: rgb(185, 56, 211);
    --white: rgb(255, 255, 255);
}

body {
    background: #ededed;
    color: var(--secondary);
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Display of quiz sections */
.hide {
    display: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-around;
    margin: auto;
    width: 85%;
}

header h2 {
    padding-left: 20px;
    font-size: 20px;
    display: inline;
}

.timer {
    font-size: 20px;
    color: var(--primary);
    padding-right: 20px;
}

.view-high-scores {
    float: left;
}

/*Main content */
.container {
    padding: 20px;
    flex-direction: column;
    width: 50%;
    margin: auto;
}

h1 {
    color: var(--primary);
    font-size: 50px;
    font-weight: bold;
}

p {
    color: var(--primary);
    font-size: 30px;
}


.questions {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 20px;
    margin: auto;
}


/*Button Styling */
.btn {
    background: var(--secondary);
    color: var(--white);
    padding: 10px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 3px grey;
    margin-top: 10px;
}

.btn:hover {
    background: var(--tertiary);
    border-radius: 10px;
    box-shadow: 0 2px grey;
    cursor: pointer;
}

.btn-grid {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-gap: 5px;
    margin: 20px 0;
}

/* media query for smaller screens */
@media screen and (max-width: 1024px) {

    .btn {
        width: 100%;
        font-size: 3.0vw;
    }

    #question {
        font-size: 4.5vw;
    }

    h1 {
        font-size: 4.5vw;
    }

    p {
        font-size: 3.0vw;
    }

}