@import url('https://fonts.googleapis.com/css2?family=Bungee+Shade&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee+Inline&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee+Outline&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap'); 

:root {
    --background-color: black;
    --font-color: white;
}

* {
    text-align: center;
    flex-wrap: wrap;
    scroll-behavior: smooth;
}

body {
    /* background-color: var(--background-color); */
    background-image: url(./background-image.jpg);
}

main {
    display: flex;
    flex-wrap: wrap;
    height: 70vh;
    justify-content: center;
    align-items: center;
}

/* Pop quiz title  */
h1 {
    font-family: 'Bungee Shade', cursive;
    color: white;
    font-size: 75px;
    padding: 27px;
    flex-wrap: wrap;
    
}

/* time left title  */
h2 {
    text-align: center;
    font-size: 45px;
    font-family: 'Bungee Outline', cursive;
    color: white;
    padding: 50px;
    flex-wrap: wrap;
}

/* footer text  */
h3 {
    text-align: center;
    font-size: 13px;
    bottom: 10px;
    font-family: 'Bungee Shade', cursive;
    color: white;
}

/* contains starting timer  */
.container{
    display: block;
    flex-wrap: wrap;
}

/* starting timer button */
.bbutton {
    margin: 80px 0 0;
    font-size: 35px;
    width: 25%;
    color: black;
    background-color: rgba(254, 253, 253, 0.910);
    flex-wrap: wrap;
    font-family: 'Bungee', cursive;
}

.hide {
    display: none;
}

/* main box that contains time left, questions, select, and score  */
#card {
    border: 2px double white;
    background-color: rgba(0, 0, 0, 0.3);
    width: 1025px;
    height: 575px;
    flex-wrap: wrap;
}

/* time left, questions, select, and score */
#box {
    margin: 20px;
    padding: 25px;
    flex-wrap: wrap;
}

/* submit button
.sbutton {
    margin: 40px;
    font-size: 20px;
    color: black;
    flex-wrap: wrap;
    font-family: 'Bungee', cursive;
} */

#result {
    font-size: 35px;
    color: white;
    font-family: 'Bungee', cursive;
    margin: 40px;
    padding: 20px;
}

/* reset button */
.rbutton {
    margin: 80px 0 0;
    font-size: 35px;
    width: 25%;
    color: black;
    background-color: rgba(254, 253, 253, 0.910);
    flex-wrap: wrap;
    font-family: 'Bungee', cursive;
    display: none;
}


/* scoreboard  */
#score {
    font-size: 35px;
    color: white;
    display:inline-flex;
    font-family: 'Bungee Outline', cursive;
    flex-wrap: wrap;
    display: none;
}



#leaderboard {
    font-size: 35px;
    color: white;
    display:inline-flex;
    font-family: 'Bungee Outline', cursive;
    flex-wrap: wrap;
    border: 2px double white;
    background-color: rgba(0, 0, 0, 0.3);
    width: 1025px;
    height: 575px;
    flex-wrap: wrap;
    display: none;
}

/* questions  */
#questions {
    text-align: center;
    font-size: 35px;
    font-family: 'Bungee Inline', cursive;
    color: white;
    margin: 15px;
    flex-wrap: wrap;
}

/* contains true/false */
#answers {
    justify-content: center;

}

/* true/false buttons */
.btn {
    font-size: 23px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    font-family: 'Bungee', cursive;
    display: block;
    width: 100%;
    margin: 10px 0 0;
    padding: 5px;
}

/* changes to a pointer when hovering over buttons */
.btn:hover {
    cursor: pointer;
    color: black;
    background-color: rgba(255, 255, 255, 0.817);
}

.bbutton:hover {
    cursor: pointer;
}

.sbutton:hover{
    cursor: pointer;
}

@media screen and (max-width: 768px) {

    h1,
    footer {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    main,
    body {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        height: 50%;
    }
}

