:root {
--border-color: black;
--button-link-color: white;
--hover-color: slateblue;
--main-color: black;
}

* {
    box-sizing: border-box;
    font-family: "Lucida Console", "Courier New", monospace;
    scroll-behavior: smooth;
}

.hidden {
    display: none;
}

.active {
    display: block;
}

ul {
    list-style-type: none;
}

.wrapper {
    padding: 0 15px;
}

body {
    background: lightgoldenrodyellow;
    background-image: linear-gradient(180deg,slateblue, palegoldenrod);
    display: flex;
    flex-direction: column;
    margin: 0vh;
    min-height: 100vh;
}

header {
    align-items: center;
    color: var(--main-color);
    display: flex;
    justify-content: flex-start;
    margin: 0vh;
    overflow: hidden; 
    text-align: center;
    width: 100%;
}

#home {
    text-align: center;
    width: 100%;
}

img {
    align-items: center;
    display: block;
    height: auto;
    margin: 2vh auto;
    max-width: 100%;
}

#headerLogo {
    max-width: 15vh;
}

#questionImage, #progressImage {
    border-color: var(--border-color);
    border-radius: 10px;
    border-style: outset;
}

#progressImage {
    border-style: inset;
}

button {
    align-items: center;
    background: var(--button-link-color); 
    border-radius: 10px;
    padding: 3vh;
    transition-duration: 0.4s;
} 

button:focus, button:hover {
    background-color: var(--hover-color);
    color: var(--button-link-color);
    outline: 2px solid #000;
    outline-offset: 2px;
}

#spotifyContent {
    padding: 5px;
}

#spotifyLink {
    flex-grow: 1;
    transition-duration: 0.4s;
}

#spotifyLink:hover {
    background-color: var(--hover-color);
    color: var(--button-link-color);
}

#quiz, #questionText, #choicesText, #quizComplete, #errorScreen, #completeTextContainer {
    align-items: center;
    padding: 1vh;
    text-align: center;
    width: 100%;
} 

#errorContainer{
    padding-bottom: 3vh;
}

#choicesText {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#results {
    display: flex;
    flex-direction: column;
    text-align: center;
}

#buttonHolder, #resultsContent p, #videoContent {
    align-content: space-between;
}

#buttonHolder ul{
    display: flex; 
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
}

#buttonHolder li{
    display: flex;
    flex-direction: column;
}

#videoContent {
    padding: 5px;
}

footer {
    align-items: center;
    margin: 0vh;
    padding: 1vh;
    text-align: center;
    width: 100%; 
}

footer a {
    padding: 0.40vh;
}

.video-container {
    max-width: 560px;
    margin: auto;
}

.video-container iframe {
    width: 100%;
    height: auto;
}

@media screen and (min-width: 768px) {
    .wrapper {
        max-width: 720px;
        margin: 0 auto;
        padding: 0;
    }

    #choicesText {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 10px;
    }

    .video-container iframe {
        width: 560px;
        height: 315px;
    }
}

@media screen and (min-width: 1400px) {
    .wrapper {
        max-width: 1320px;
        margin: 0 auto;
        padding: 0;
    }

    #results {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 10px;
        text-align: center;
    }
}
