@font-face {
    font-family: "MinecraftFont";
    src: 
        local("MinecraftFont"),
        url(fonts/Minecraft-Seven_v2.ttf);
}


body {
    background-image: url(./img/background.png);
    background-size: 32px;
    background-blend-mode: hue;
    image-rendering: pixelated;
    margin: 0;
    padding: 0;
    font-family: minecraftfont;
}

/* HEADER */

header {
    position: fixed;
    z-index: 5;
    top: 7px;
    left: 7px;
}

header > img {
    width: 64px;
    height: 64px;
}

/* NAV STUFF */

nav {
    left: 50%;
    transform: translate(-50%);
    top: 0;
    height: 64px;
    width: auto;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.62);
    display: flex;
    align-items: center;
    justify-content: center; 
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0), rgba(183, 85, 15, 0.363)),
        url(./img/nav-background.png);
    background-size: 32px;
    image-rendering: pixelated;
    z-index: 4;
    border-inline: 4px solid rgba(122, 122, 122, 0.267);
    box-shadow: inset 0px -4px 0px rgba(122, 122, 122, 0.267);
    filter: drop-shadow(0 4px #00000044);
}

nav > div > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav > div > ul li {
    display: inline-block;
    padding: 0 10px;
}

nav > div > a {
    text-decoration: none;
}

.BottomNav {
    position:absolute;
    z-index: -10;
    width: auto;
    height: 64px;
    top: 64px;
    background-image: 
        linear-gradient(rgba(64, 20, 14, 0.363), rgba(109, 27, 12, 0.363)),
        url(./img/nav-background.png);
    background-size: 32px;
    image-rendering: pixelated;
    border-inline: 4px solid rgba(122, 122, 122, 0.267);
    box-shadow: inset 0px -4px 0px rgba(122, 122, 122, 0.174);
    filter: drop-shadow(0 4px #00000044);
}

nav button {
    appearance: none;
    color:white;
    text-shadow: 1.6px 1.6px 0 #3e3e3e;
    font-family: minecraftfont;
    background-color: black;
    background-image: url(./img/center-button.png);
    background-repeat: repeat-x;
    background-size: auto 112%;
    image-rendering: crisp-edges;
    background-position: center;
    font-size: 16px;
    min-width: 100px;
    height: 38px;
    border-image: url(./img/button.png) 10 / 20px;
}

nav button:hover {

    background-image: url(img/center-button-selected.png);
    background-repeat: repeat-x;
    background-size: auto 112%;
    image-rendering: crisp-edges;
    background-position: center;
    border-image: url(./img/button-highlighted.png) 10 / 20px;
}

nav button:active {
    background-color: black;
    background-image: url(./img/center-button-disabled.png);
    background-repeat: repeat-x;
    background-size: auto 112%;
    image-rendering: crisp-edges;
    background-position: center;
    border-image: url(./img/button-disabled.png) 10 / 20px;
}

.BottomNav button {
    min-width: 80px;
    width: auto;
    max-width: 150px;
}

/* Main */

main {
    background-color: rgba(0, 0, 0, 0.565);
    position: relative;
    min-height: calc(100vh - 100px);
    width: 75%;
    padding: 10px;
    padding-top: 80px;
    padding-bottom: 80px;
    margin-left: auto;
    margin-right: auto; 
    z-index: 3;
    color:rgb(255, 255, 255);
    text-shadow: 1.6px 1.6px 0 #3e3e3e;
    text-align: center;
}

.guitest {
    background-clip: padding-box;
    background-color: #c6c6c6;
    width: 256px;
    height: 128px;
    border: 10px solid;
    border-image-source: url('./img/inventory.png');
    border-image-slice: 25% 25%;
    border-image-repeat: repeat repeat;
    margin: 20px;
}

.guitest > img {
    width: 32px;
}

/* Footer */

footer {
    left: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    max-height: 120px;
    min-height: 80px;
    width: 100%;
    background-image: 
        linear-gradient(rgba(183, 85, 15, 0.363),rgba(0, 0, 0, 0)),
        url(./img/nav-background.png);
    background-size: 32px;
    image-rendering: pixelated;
    position: relative;
    z-index: 5;
    box-shadow: inset 0px 4px 0px rgba(122, 122, 122, 0.267);
    filter: drop-shadow(0 -4px #00000044);
    display: flex;
    align-items: center;
    justify-content: center; 
    color:rgba(255, 255, 255, 0.401)
}

/* Servers */

.server-listing {
    position: relative;
    padding: 0;
    margin: 0;
    margin-left: auto;
    margin-right: auto; 
    display: flex;
    align-items: center;
    justify-content: center; 
}

.server-description {
    padding: 10px;
    margin: 0;
    background-color: #3e3e3e3e;
}

.server-description > img {
    max-width: 500px;
    min-width: 300px;

    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.server-description > p > a{
    text-decoration: none;
    color:rgb(0, 128, 255);
    text-shadow: 1.6px 1.6px 0 rgba(0, 128, 255, 0.4);
}

.cinderquest-server-header {
    text-align: center;
    text-shadow: 0px 0px 16px #adadad5a;
    background-image: linear-gradient(rgb(255, 81, 0), rgb(14, 119, 75));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Staff */

.Staff-Warning {
    color:#3e3e3e;
    text-shadow: 1.6px 1.6px 0 #3e3e3e3e;
    text-align: center;
}

.Staff-User {
    background-color: #3e3e3e3e;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center; 
}

.Staff-Skin {
    background-color: rgba(0, 255, 255, 0.418);
    text-align: center;
    width: 150px;
    height: 220px;
}

.Skin-Box {
    background-color: #3e3e3e;
}


.Skin-Box > canvas {
    background-color: #93939364;
}

.Staff-Description {
    background-color: rgba(240, 248, 255, 0.473);
    width: calc(100% - 120px);
    height: 220px;
}

@media (max-width: 1000px) {
    main {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        padding-top: 10px;
    }
    nav {
        width: 100%;
    }
    nav > div > ul li {
    display: inline-block;
    padding: 0 1px;
    }
    header > img {
        width: 0;
    }
    .server-listing > p{
        position: absolute;
        width: 0;
        top: -1000px;
    }
    nav button {
        min-width: 80px;
    }
}

/* PER SITE STYLE */

.LiveMap {
    height: 100vh;
    background-color: #0000005d;
}