@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
body{
    text-align: center;
    color: #ffffff;
    font-family: "Press Start 2P", system-ui;
    background-image: url(water.png);
    padding: 0;
    margin: 0;
}
#container{
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
    padding-bottom:50px;
}
#titlebar{
    background: #4824ab;
    background: linear-gradient(0deg, rgba(72, 36, 171, 1) 0%, rgba(110, 65, 224, 1) 50%, rgba(128, 88, 237, 1) 50%, rgba(188, 143, 255, 1) 100%);
    border-bottom: 1px solid rgb(61, 31, 143);
    border-top: 1px solid rgb(212, 197, 255);
    font-size: 24px;
    padding: 16px;
    position: sticky;
    top: 0px;
    text-align: left;
    opacity: 0.9;
    z-index: 1;
}
#titlebar h1{
    font-size: 24px;
    display: inline-block;
    margin: 0;
}
#nav{
    display: inline-block;
    float: right;
}
#nav a{
    transition: all .1s;
}
#nav a:hover{
    color: #fff;
}
a{
    color: #ffffffaa;
    text-decoration: none;
}
a:hover{
    color: #ffffff;
    height: 100%;
}
a:visited{
    color: #fff;
}
#message{
    background: #871313;
background: linear-gradient(0deg, rgba(135, 19, 19, 0.8) 0%, rgba(209, 40, 40, 0.8) 50%, rgba(255, 74, 74, 0.8) 50%, rgba(255, 145, 145, 0.8) 100%);
    border-top: 1px solid rgb(255, 162, 162);
    border-bottom: 1px solid rgb(106, 39, 39);
    font-size: 24px;
    padding: 16px;
    top: 0px;
    opacity: 0.9;
}
#panel{
    width: 800px;
    padding: 50px;
    padding-bottom: 20px;
    padding-top: 15px;
    margin-left: auto;
    margin-right: auto;
    background-color: #291e3ac7;
    margin-bottom: 12px;
    border-radius: 0px 0px 16px 16px;
    color: #ffffff;
    border: 1px solid rgb(63, 46, 112);
    border-top: none;
}
#topbar{
    background: #4824ab;
    background: linear-gradient(0deg, rgba(72, 36, 171, 1) 0%, rgba(110, 65, 224, 1) 50%, rgba(128, 88, 237, 1) 50%, rgba(188, 143, 255, 1) 100%);
    border-bottom: 1px solid rgb(61, 31, 143);
    border-top: 1px solid rgb(212, 197, 255);
    font-size: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
    margin: auto;
    margin-top: 12px;
    width: 900px;
    border-radius: 16px 16px 0px 0px;
}
#playinbrowser{
    background: #4824ab;
    background: linear-gradient(0deg, rgba(72, 36, 171, 1) 0%, rgba(110, 65, 224, 1) 50%, rgba(128, 88, 237, 1) 50%, rgba(188, 143, 255, 1) 100%);
    padding: 32px;
    border-bottom: 1px solid rgb(61, 31, 143);
    border-top: 1px solid rgb(212, 197, 255);
    border-radius: 16px;
    margin: 24px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition: all 0.1s;
    box-shadow: none;
}
#playinbrowser:hover {
    scale: 1.1;
    box-shadow: 0px 0px 24px 0px rgba(110, 65, 224, 1);
}
img {
    border-radius: 16px;
    transition: all 0.1s;
    box-shadow: none;
}
img:hover {
    scale: 1.1;
    box-shadow: 0px 0px 24px 0px rgba(110, 65, 224, 1);
}
#game{
    width: 800px;
    height: 600px;
    border: none;
    border-radius: 16px 16px 16px 16px;
    padding-top: 15px;
}
#download{
    width: auto;
    padding: 20px;
    background-color: #80808033;
    background-color: #80808033;
    border-radius: 8px;
    color: #ffffffaa;
    transition: all .1s;
    margin-top: 15px;
}
#downloadtext{
    margin: none;
    display: inline-block;
    padding: none;
}
#download:hover{
    transform: scale(1.05);
    cursor: pointer;
    background-color: #6e41e0aa;
    box-shadow: 0px 0px 24px 0px rgba(110, 65, 224, 1);
}
#version{
    color: #ffffff55;
    padding: none;
    margin: none;
}
#hidden{
    display: none;
}
#mobile{
    display: none;
}
button{
    font-size: medium;
    font-family: "Press Start 2P", system-ui;
    color: #ffffffaa;
    background: none;
    border: none;
}
button:hover{
    cursor: pointer;
}
#footer{
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(112, 112, 112, 0) 100%);
    padding: 16px;
    opacity: 0.8;
    color: #ffffffaa;
}

@media only screen and (max-width: 950px) {
    #title{
        text-align: center;
    }
    #nav{
        width: 100%;
        position: fixed;
        bottom: 0px;
        left: 0px;
        float: none;
        text-align: center;
        padding: 16px;
        background: #808080;
        background: linear-gradient(0deg, rgba(128, 128, 128, 0.9) 0%, rgba(158, 158, 158, 0.9) 50%, rgba(191, 191, 191, 0.9) 50%, rgba(252, 252, 252, 0.9) 100%);
    }
    #game{
        width: 100%;
        height: 400px;
        display: none;
    }
    #panel{
        width: auto;
        border-radius: 0;
    }
    #topbar{
        width: auto;
        border-radius: 0;
    }
    #pc{
        display: none;
    }
    #mobile{
        display: block;
    }
}