@import url('https://fonts.googleapis.com/css2?family=Nova+Square&display=swap');

:root {
    background-color: rgb(29, 26, 26);
    background-image: url('resources/bg.jpg');
    background-size: cover;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    font-family: 'Nova Square', cursive;
}

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

h2 {
    font-size: 4.2rem;
    margin-bottom: 4rem;
}
.container {
    width: 100vw;
    height: 100vh;
}

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

.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;
}

.hidden {
    display: none;
}

.btn {
    font-size: 2.4rem;
    padding: 2rem 0;
    width: 30rem;
    text-align: center;
    margin-bottom: 1rem;
    text-decoration: none;
    color: rgb(28, 26, 26);
    background: linear-gradient(90deg, rgb(18, 92, 255) 0%, rgb(0, 102, 255) 100%);
    border-radius: 8px;
}

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

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

#others-btn {
    background: linear-gradient(90deg, rgb(255, 247, 9) 0%, rgb(240, 221, 6) 100%);
}

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

#home {
    padding: 35px;
    background-color: rgba(29, 26, 26, 1);
    border-radius: 16px;
}

.fa-bars {
    font-size: 2.5rem;
    margin-right: 1rem;
}


/* End page*/
#end, #highScores {
    padding: 25px;
    background-color: rgb(29, 26, 26);
    border-radius: 8px;
}

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

input {
    margin-bottom: 1rem;
    width: 20rem;
    padding: 1.5rem;
    font-size: 1.8rem;
    border: none;
    box-shadow: 0 0.1rem 1.4rem 0 rgba(86, 185, 235, 0.5);
}

input::placeholder {
    color: #aaa;
}

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

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

#saveScoreBtn {
    border: none;
}

.fa-home {
    font-size: 2.5rem;
    margin-right: 1rem;
    color: rgb(28, 26, 26);
}

.footer-box {
    width: 100%;
    height: 5%;
    overflow: hidden;
}

footer {
    opacity: 1;
    font-style: italic;
    color: #ffb59f;
    background-color: rgba(29, 26, 26, 0.4);
    text-align: center;
    font-size: 1.5rem;
    padding: 7px 0px;
    padding-bottom: 15px;
    z-index: 5;
    transition: transform 300ms;
    transform: translateY(50px);
}


.footer-box:hover > footer {
    transform: translateY(0px);
}

#gummy {
    max-width: 20rem;
    max-height: 20rem;
    margin-bottom: 3rem;
}

#gummy h2 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
    margin-bottom: 1px;
    text-align: center;
}

#gummyimg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media only screen and (max-width: 600px) {
    .container-flex {
        height: 70%;
    }
    .footer-box {
        height: 30%;
    }
    footer {
        margin-top: 30%;
        font-size: 1.8rem;
        padding-bottom: 160px;
        transform: translateY(100%);
    }
    .footer-box:hover > footer {
        transform: translateY(0%);
    }
    * {
        overflow: hidden;
    }
    .container-end {
    height: 100%;
    }
}