body {
    background-color: rgb(29, 26, 26);
    letter-spacing: .5px;
}

/* set font size at 62.5% so 1rem is equal to 10px */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    font-family: 'Be Vietnam Pro', sans-serif;
}

h1 {
    font-size: 5.4rem;
    color: white;
    margin-bottom: 5rem;
}

h2 {
    font-size: 4.2rem;
    margin-bottom: 4rem;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem;
}

/* flexbox for align and grid for project */
.flex-column {
    display: flex;
    flex-direction: column;
}

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

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

.text-center {
    text-align: center;
}

/* for Javascript showand hide function */
.hidden {
    display: none;
}

.show {
    display:flex;
}

/* button styles */
.btn {
    font-size: 2.4rem;
    padding: 2rem 0;
    width: 30rem;
    text-align: center;
    margin-bottom: 1rem;
    text-decoration: none;
    color: white;
    background: linear-gradient(9deg, rgb(18, 92, 255) 0%, rgb(0, 102, 255) 100%);
    border-radius: 4px;
}

.btn:hover {
    cursor: pointer;
    box-shadow: 0 0.4rem 1.4rem 0 rgba(8, 114, 244, 0.6);
    transition: transform 150ms;
    transform: scale(1.03);
}

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

/* highscrore button styles */
#dev-btn {
    background: linear-gradient(9deg, rgb(255, 247, 9) 0%, rgb(240, 221, 6) 100%);
    color: black;
}

#dev-btn i {
    color: black;
    font-size: 2.5rem;
    margin-left: 1rem;

}

#dev-btn:hover {
    cursor: pointer;
    box-shadow: 0 0.4rem 1.4rem 0 rgba(255, 255, 0, 0.5);
}

.fa-crown {
    font-size: 2.5rem;
    margin-left: 1rem;
    color: white;
}

/* Game Board */
.game-board {
    color: #fff;
}

/* answer elements */
.choice-container {
    display: flex;
    margin-bottom: 0.8rem;
    width: 100%;
    border-radius: 4px;
    background: rgb(18, 93, 255);
    font-size: 3rem;
    min-width: 80rem;
}

.choice-container:hover {
    cursor: pointer;
    box-shadow: 0 0.4rem 1.4rem 0 rgba(6, 103, 247, 0.5);
    transform: scale(1.02);
    transition: transform 100ms;
}

.choice-prefix {
    padding: 2rem 2.5rem;
    color: white;
}

.choice-text {
    padding: 2rem;
    width: 100%;
}

/* correct and incorrect answer input selections after selecting answers */
.correct {
    background: linear-gradient(32deg, rgb(11, 223, 36) 0%, rgb(41, 232, 111) 100%)
}

.incorrect {
    background: linear-gradient(32deg, rgba(230, 29, 29, 1) 0%, rgba(224, 11, 11, 1) 100%)
}

/* heads up display */

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

.hud-prefix {
    text-align: center;
    font-size: 2rem;
}

.hud-main-text {
    text-align: center;
}

/* progressbar for progression of game styles */
#progressBar {
    width: 20rem;
    height: 3rem;
    border: 0.2rem solid rgb(11, 233, 36);
    margin-top: 2rem;
    border-radius: 50px;
    overflow: hidden;
}

#progressBarFull {
    height: 100%;
    background: rgb(11, 233, 36);
    width: 0%;
}

/* End of game screen */

.btn-home {
    background: linear-gradient(9deg, rgb(255, 247, 9) 0%, rgb(240, 221, 6) 100%);
    color: black;
}

.btn-home i {
    color: black;
}

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

#end-text {
    font-size: 2.4rem;
    color: #fff;
    text-align: center;
}

.fa-home {
    margin-left: 1rem;
    font-size: 2rem;
    color: white;
}



/* media queries */

/* for screens 768px wide and smaller */
@media screen and (max-width:840px) {
    .container .choice-container {
        min-width: 30rem;
    }
}


/* for screens 768px wide and smaller */
@media screen and (max-width:768px) {
    .container .game-board .choice-container {
        min-width: 30rem;
    }

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

    .btn {
        width: 75%;
    }
}

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

    .container .game-board .choice-container {
        min-width: 5rem;
    }

    .btn {
        width: 50%;
    }
}

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

    #game {
        width: 100%;
    }

    #question {
        margin-top: 0;
    }

    #score {
        margin-bottom: 1rem;
    }

    .final-score {
        text-align: center;
        font-size: 4rem;
    }
  
    h1 {
        text-align: center;
        font-size: 2rem
    }

    p {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }

    .container .choice-container {
        min-width: 10rem;
    }
    #hud {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    
    .hud-prefix {
        display: block;
        text-align: center;
        font-size: 2rem;
    }
    
    .hud-main-text {
        text-align: center;
    }

    #progressText {
        margin-bottom: 2rem;
    }

    
    /* progressbar for progression of game styles */
    #progressBar {
        display: block;
        width: 20rem;
        height: 3rem;
        border: 0.2rem solid rgb(11, 233, 36);
        margin-top: 2rem;
        border-radius: 50px;
        overflow: hidden;
        margin: 0 auto;
    }
    .hud-prefix {
        margin-top: 2rem;
    }
    
    #progressBarFull {
        height: 100%;
        background: rgb(11, 233, 36);
        width: 50%;
    }
    
}