h1 {
    color: black;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Kumbh Sans", sans-serif;
}

.navbar {
    background: black;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}
.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

#navbar__logo {
    background-color: darkblue;

    background-image: radial-gradient(lightseagreen 0%, cornsilk 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}
#navbar__logo:hover {
    background-image: radial-gradient(cornsilk 0%, lightseagreen 100%);
    transition-duration: 1.0s;
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: snow;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}


.navbar__links:hover {
    color: lightseagreen;
    transition: all 0.3s ease;
}


@media screen and (max-width: 960px){
    .navbar__container{
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        grid-auto-rows: 60px;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.3s ease;
        height: 210px;
        z-index: -1;
    }

    .navbar__menu.active {
        background: black;
        top: 100%;
        opacity: 1;
        transition: all 0.3s ease;
        z-index: 99;
        height: 210px;
        font-size: 1.5rem;
        border-radius: 0 0 12px 12px;
    }

    #navbar__logo {
        padding-left: 25px;
    }
    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in;
        background: snow;
    }

    .navbar__item {
        width: 100%;

    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


}

/* Main Section */
.main {
    background-color: antiquewhite;
    height: fit-content;
    min-height: 100vh;
    z-index: 0;
}
.main.light {
    background-color: antiquewhite;
    height: fit-content;
    min-height: 100vh;
    z-index: 0;
}
.main.dark {
    background-color: midnightblue;
    height: fit-content;
    min-height: 100vh;
    z-index: 0;
}
body. {
    background-image: linear-gradient(to bottom, antiquewhite 0%, black 100%);
}

.main__container {
    display: grid;
    grid-template-columns: auto;
    align-items: flex-start;
    justify-self: center;
    margin: 0 auto;
    height: fit-content;
    min-height: 100vh;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 20px 50px;
}

.main__content h1 {
    font-size: 3rem;
    background-color: lightseagreen;
    background-image: linear-gradient(to top, seagreen 0%, lightseagreen 50%, lightseagreen 75%, lightseagreen 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;

}
.main__content__snake {
    margin-right: auto;
    margin-left: auto;
    align-items: center;
    text-align: center;
}
.main__content__snake canvas {
    z-index: 99;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.main__content h2 {
    font-size: 2rem;
}
.main__content p {
    text-align: center;
}

.main__content p {
    font-size: 1rem;
}
.game__over p {
    font-size: 2rem;
    color: snow;
    z-index: 99;
}
