@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;1,400&display=swap');

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-image: url("../images/maps.jpg");
    background-size: auto;
    background-color: rgb(0,0,0);
    text-align: center;
}

/* headings, logo and text */

.heading {
    color: rgba(230,236,240);
    overflow: visible;
    position: relative;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
}

#span-heading {
    text-align: center;
    font-size: 1.9rem;
    position: absolute;
    left: 20%;
    right: 20%;
    top: 22%;
    background: rgb(0,0,0);
}

#span-score {
    background: rgb(187 148 133 / 60%);
    padding: 0 1rem;
    text-transform: uppercase;
}

.span-how-to {
    background: rgb(255,210,0);
    padding: 0 1rem;
    text-transform: uppercase;
    font-weight: bold;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

#score {
    color: rgb(255,210,0);
    text-shadow: -1.5px 1px 1px rgb(0,0,0);
    font-weight: bold;
    letter-spacing: 0.3rem;
    margin-bottom: 0.6rem;
}

#finalScore {
    color: rgb(255,210,0);
    text-shadow: -1.5px 1px 1px rgb(0,0,0);
    font-weight: bold;
    letter-spacing: 0.3rem;
}

#question {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
}

.logo {
    height: 220px;
    width: 220px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: -8px 0px 3rem 8px rgb(187 148 133);
}

.choice-text {
    width: 100%;
}

#copyright {
    margin: 1.5rem 0 0 0;
    font-size: 0.8rem;
}

#end-text {
    font-size: 1.8rem;
    margin-bottom: 0;
}

/* game containers */

.game-area {
    background-color: rgba(230,236,240, .95);
    border-radius: 6px;
    box-sizing: border-box;
    width: 90%;
    max-width: 830px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    position: relative;
    margin-bottom: 2%;
}

.container {
    width: 85%;
    margin: auto;
    position: relative;
}

/* answers */

.choice-container {
    background-color: rgb(239, 239, 239);
    display: flex;
    margin: 0 auto;
    margin-bottom: 1rem;
    width: 50%;
    border-radius: 6px;
    min-width: 65%;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid black;
}

.choice-container:hover {
    cursor: pointer;
    box-shadow: 3px 7px 16px 5px rgb(187 148 133 / 60%);
    transition: transform 150ms;
    transform: scale(1.03);
}

.controls-area {
    width: 85%;
    margin: 0px auto;
}

.hide {
    display: none;
}

/* buttons */

.btn {
    background-color: rgb(239, 239, 239);
    width: 380px;
    max-width: 100%;
    height: 60px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0.8rem 0;
    text-align: center;
    border-radius: 6px;
    border: 1px solid black;
}

.btn:hover {
    cursor: pointer;
    box-shadow: 3px 7px 16px 5px rgb(187 148 133 / 60%);
    transition: transform 150ms;
    transform: scale(1.03);
}

.btn[disabled]:hover {
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.correct {
    background: rgb(255,210,0);
}

.incorrect {
    background: rgb(255,0,0);
}

#highscore-btn:hover {
    background: rgb(255,210,0);
    box-shadow: 3px 7px 16px 5px rgba(255, 255, 0, 50%);
}

/* HUD */

#hud {
    justify-content: space-between;
}

#progressCounter {
    font-weight: bold;
    font-size: 1.25rem;
    color: rgb(0,0,0);
    text-align: center;
    margin-bottom: 0.2rem;
}

#progressBar {
    height: 1.5rem;
    border: 0.15rem solid rgb(0,0,0);
    margin-top: 0.5rem;
    border-radius: 50px;
    overflow: hidden;
}

#progressBarFull {
    height: 100%;
    position: relative;
    background: rgb(255,210,0);
    width: 0%;
}

#plane {
    position: absolute;
}

/* layout */

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.justify-center {
    justify-content: center;
}

/* contact list */

.contact-list {
    list-style-type: none;
    display: flex;
    letter-spacing: 3.5rem;
    justify-content: center;
}

.contact-list i {
    color: rgb(0,0,0);
    font-size: 2.5rem;
}

.contact-list i:hover {
    color: rgb(255,210,0);
    font-size: 2.5rem;
}

/* high scores */

#highScoresList {
    margin-bottom: 1rem;
    padding: 0;
}

.high-score {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* end.html */

.end-form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 30rem;
}

input {
    margin-bottom: 1rem;
    width: 20rem;
    padding: 1.2rem;
    font-size: 1.4rem;
    border: none;
    box-shadow: 0 0.4rem 1.4rem 0 rgba(187,148,133, 0.6);
}

input::placeholder {
    color: rgb(170, 170, 170);
}

#username {
    margin-bottom: 1.5rem;
    width: 100%;
    outline: none;
}

/* media queries */

@media only screen and (max-width: 481px) {
    .logo {
        height: 180px;
        width: 180px;
        cursor: pointer;
    }
    #span-heading {
        font-size: 1.4rem;
    }
    h2 {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    #question {
        font-size: 1.4rem;
        margin-bottom: 1.8rem;
    }
    .choice-container {
        width: 90%;
    }
    #end-text {
        font-size: 1.6rem;
    }
    .contact-list {
        letter-spacing: 0;
        padding: 0;
        display: block;
    }
    .contact-list i {
        font-size: 3rem;
        margin: 0.5rem;
    }
    .contact-list i:hover {
        font-size: 4.2rem;
    }
}