@font-face {
    font-family: "Qaaxee";
    src: url("Qaaxee.ttf") format("truetype");
}

body {
    margin: 0;
    padding: 0;
    font-family: "Qaaxee", Consolas;
    font-size: 160%;
    color: white;

    text-shadow: -4px 0 black, 0 4px black, 4px 0 black, 0 -4px black;
    image-rendering: pixelated;
    background-color: #9F683B;
    background-image: url("bbg.gif");
    background-size: 1150px;
}

#everything {

    margin: 0;
    margin-top: 5vh;
    margin-bottom: 5vh;
    padding-top: 4px;
    position: absolute;
    width: 937px;
    transform-origin: top left;
    height: 832.5px;


}

#gamebox {
    padding: 10px;
    position:absolute;
    right: 80px;
    top: 115px;
    width: 350px;
    height: 580px;
    z-index: -5;
    background-image: url("gamebox.png");
    background-repeat: no-repeat;
}

#gamecontent {
    width: 335px;
    height: 570px;
    margin: 5px;
    margin-left: 10px;
    overflow-y: scroll;
}

.panel {
    width: 100%;
    height: 100%;

}

#header {
    background-image: url("header.png");
    background-repeat: no-repeat;
    width: 100%;
    height: 99.8906px;
    margin-bottom: 7.12px;
}

#nav {
    float: left;
    width: 24%;
    margin-right: 7.12px;
    height: 724.266px;
}

#main {
    padding-left: 2.5%;
    padding-right: 2.5%;
    padding-top: 16px;
    float: left;
    background-image: url("main.png");
    background-repeat: no-repeat;
    width: 70.2%;
    height: 77%;
    margin-bottom: 7.12px;
}

#space {
    height: 628px;
    width: 664px;
    overflow-y: scroll;
    margin-bottom: -15px;
}

#footer {
    float: left;
    background-image: url("footer.png");
    background-repeat: no-repeat;
    overflow: hidden;
    width: 75%;
    height: 6.9%;
    padding-top: 18px;
    color: black;
    text-shadow: none;

}

::-webkit-scrollbar {
    width: 8px;
}

.game {
    image-rendering: optimizeQuality;
    width: 120px;
    height: 160px;
    box-shadow: 0 0 0 3px #000, 0 0 0 6px gray, 0 0 0 9px #000;
    margin: 7px;
}

.game:hover {
    box-shadow: 0 0 0 3px #000, 0 0 0 6px #D9995A, 0 0 0 9px #000;
}

::-webkit-scrollbar-track {
    background-color: #555;
}

::-webkit-scrollbar-thumb {
    background: #ffffff;
}

::-webkit-scrollbar-thumb:hover {
    background: #adadad;
}

.navlink {
    width: 224.875px;
    height: 10%;
    margin-bottom: 7.12px;
    background-size: 224.875px 100%;
}

.buttontext {
    margin-left: 70px;
    padding-top: 23px;
}

a {
    text-decoration: none;
    color: white;
}

#home {
    background-image: url("home.png");
    background-repeat: no-repeat;
}

#home:hover {
    background-image: url("homehl.png");
    color: #D9995A;
}

#music {
    background-image: url("music.png");
    background-repeat: no-repeat;

}

#music:hover {
    background-image: url("musichl.png");
    color: #D9995A;
}

#art {
    background-image: url("art.png");
    background-repeat: no-repeat;
}

#art:hover {
    background-image: url("arthl.png");
    color: #D9995A;
}

#ww {
    background-image: url("ww.png");
    background-repeat: no-repeat;
}

#ww:hover {
    background-image: url("wwhl.png");
    color: #D9995A;
}

#board {
    background-image: url("board.png");
    background-repeat: no-repeat;
}

#board:hover {
    background-image: url("boardhl.png");
    color: #D9995A;
}

#ring {
    background-image: url("ring.png");
    background-repeat: no-repeat;
}

#ring:hover {
    background-image: url("ringhl.png");
    color: #D9995A;
}

#guest {
    background-image: url("guest.png");
    background-repeat: no-repeat;
}

#guest:hover {
    background-image: url("guesthl.png");
    color: #D9995A;
}

.key:hover {
    opacity: 70%;
}

#gamelogo {
    margin-bottom: 10px;
}

#gameui {
    margin-bottom: 10px;
}

#gametext {
    font-size: 20px;
    margin-bottom: 10px;
    color: lightgrey;

}

#tennascreen {
    background-color: #222;
    width: 102px;
    height: 70px;
    background-size: cover;
    filter: none;
    position: absolute;
    float: left;
    margin-left: 62px;
    margin-top: 78.7px;
}

#gloob {
    position: absolute;
    margin-left: 43px;
    margin-top: -5px;
    filter: drop-shadow(5px 5px 5px #222);
}

#groov:hover {
    cursor: pointer;
}