html
{
    height: 100%;
}

@font-face {
    font-family: "Andada-Bold";
    src: url("../Andada-Bold.otf") format("opentype");
}

body
{
    background-color: #222;

    margin: 0;
    min-height: 100%;

    font-family: 'Andada-Bold';
    text-align: justify;
    text-align-last: center;
    text-shadow: 0 0 5pt #000;
}

.background
{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
    transition-duration: 0ms;
}

.background1
{
    filter: blur(1px) drop-shadow(0 0 1vw #c830cc);
}

.background2
{
    filter: blur(1px) drop-shadow(0 0 1vw #e32d91);
}

h1
{
    text-shadow: 0 0 2pt #d8d9dc;
}

h2
{
    color: #4775e7;
    text-shadow: 0 0 2pt #4775e7;
    margin-bottom: 0;
    padding-bottom: 0;
}

.button
{
    color: #d8d9dc;
    text-decoration: none;
    background-image: linear-gradient(#4775e7, #478fe7, #4775e7);
    background-size: 100% 200%;
    padding: 10pt;
    border-radius: 3pt;
    box-shadow: 0 0 10pt #4775e7;
    text-shadow: 0 0 5pt #d8d9dc;
    transition: .3s;
}

.button:hover
{
    color: #000;
    background-position: 0 100%;
    box-shadow: 0 0 13pt #4775e7;
    text-shadow: 0 0 5pt #000;
}

.redButton
{
    background-image: linear-gradient(#ff0000, #ff3c00, #ff0000);
    box-shadow: 0 0 10pt #ff0000;
}

.redButton:hover
{
    box-shadow: 0 0 13pt #ff0000;
}

.header > .button:nth-child(3), .hamburgerMenu > .button:nth-child(2)
{
    background-image: linear-gradient(#4ea6dc, #4ec0dc, #4ea6dc);
    box-shadow: 0 0 10pt #4ea6dc;
}

.header > .button:nth-child(3):hover, .hamburgerMenu > .button:nth-child(2):hover
{
    box-shadow: 0 0 13pt #4ea6dc;
}

.header > .button:nth-child(4), .hamburgerMenu > .button:nth-child(3)
{
    background-image: linear-gradient(#d54773, #d56173, #d54773);
    box-shadow: 0 0 10pt #d54773;
}

.header > .button:nth-child(4):hover, .hamburgerMenu > .button:nth-child(3):hover
{
    box-shadow: 0 0 13pt #d54773;
}

.header > .button:nth-child(5), .hamburgerMenu > .button:nth-child(4)
{
    background-image: linear-gradient(#e32d91, #e34791, #e32d91);
    box-shadow: 0 0 10pt #e32d91;
}

.header > .button:nth-child(5):hover, .hamburgerMenu > .button:nth-child(4):hover
{
    box-shadow: 0 0 13pt #e32d91;
}

.header > .button:nth-child(6), .hamburgerMenu > .button:nth-child(5)
{
    background-image: linear-gradient(#8971e1, #898be1, #8971e1);
    box-shadow: 0 0 10pt #8971e1;
}

.header > .button:nth-child(6):hover, .hamburgerMenu > .button:nth-child(5):hover
{
    box-shadow: 0 0 13pt #8971e1;
}

p
{
    margin: 0;
}

#level
{
    font-size: 30px;
}

img
{
    filter: drop-shadow(0 0 5pt #000);
    transition: .3s;
}

img:hover
{
    filter: drop-shadow(0 0 7pt #000);
}

.highlight
{
    color: #4ea6dc;
    text-shadow: 0 0 5pt #4ea6dc;
}

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

.header
{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20pt;
    background-color: #454551;

    position: sticky;
    top: 0;

    z-index: 1;
}

.logo
{
    height: 50pt;
}

.content
{
    display: flex;
    flex-direction: column;
    align-items: center;
    
    color: #d8d9dc;

    padding-top: 20pt;
    gap: 20pt;

    max-width: 80vw;

    align-self: center;
}

.header, .content div
{
    box-shadow: 0 0 10pt #000;
}

.text
{
    max-width: 80%;
    background-color: #0007;
    padding-bottom: 20pt;
    padding-left: 5vw;
    padding-right: 5vw;
    border-radius: 3pt;

    backdrop-filter: blur(5px);
}

.back
{
    position: fixed;
    bottom: 20pt;
    left: 20pt;
}

.game
{
    border: 5pt solid #d8d9dc;
    border-radius: 3pt;
    width: fit-content;
}

canvas
{
    max-width: 80vw;
    max-height: 60vh;
}

#sokoban_game
{
    vertical-align: bottom;
}

.belowgame
{
    display: flex;
    box-shadow: none !important;
    gap: 10px;
}

.belowgame > select, .belowgame > p
{
    padding: 10px;
    border-radius: 3pt;

    background-color: #0002;
    box-shadow: inset 0 0 10px #0005;
    backdrop-filter: blur(10px);
    border-width: 0;

    color: #d8d9dc;
    font-family: "Andada-Bold";

    transition: .3s;
}

option
{
    color: #000;
    background-color: #bbb;
}

select:hover
{
    background-color: #7772;
}

button
{
    border: none;
}

.hamburgerMenuButton
{
    background: none;
    display: none;
}

.hamburgerMenu
{
    flex-direction: column;
    position: fixed;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    padding: 50px;

    background-color: #0007;
    border-radius: 3pt;

    backdrop-filter: blur(5px);

    box-shadow: 0 0 10pt #000;

    z-index: 1;

    gap: 20px;
}

@media screen and (max-width: 550px)
{
    body
    {
        font-size: 10px;
    }

    .header .button
    {
        display: none;
    }

    .hamburgerMenuButton
    {
        display: block;
        color: #d8d9dc;
        font-size: 60px;
    }

    .hamburgerMenu
    {
        display: flex;
    }

    .belowgame
    {
        flex-direction: column;
    }
}