@media screen and (width < 500px) {
    #menu {
        max-height: 44px;
    }
    #menu img{
        display: none;
    }
    #gamebox {
        margin-left: 5px !important; 
        margin: 5px;
        width: calc(100% - 10px);
    }
    #controlsBox{
        display: none;
    }
    #game {
        display: none;
    }
    #gameScreenSizeWarning {
        display: block !important;
    }
    #gamebox h1 {
        width: 100%
    }
    #CClicense {
        margin-top: 10px;
    }
}
#gameScreenSizeWarning {
    display: none;
}
body{ 
    background-color: lightgray;
    font-family: "Kode Mono";
    margin: 0px;
}
#gamebox {
    margin-left: calc(50% - 240px);
    max-width: 480px;
}
h1 {
    max-width: 500px;
    width: 500px;
    font-size: 30px;
}
#menu {
    height: 50px;
    background-color: black;
    margin: none;
    color: white;
    width: 100%;
}
#gameConsole{
    font-family: "Kode Mono";
    color: white;
    outline: none;
    caret-color: white;
    z-index: 2;
    background-color: rgba(0,0,0,0.5);
    position: relative;
    top: -30px;
    width: 300px;
    padding: none;
    border: none;
    border-bottom: 1px solid black;
    visibility: hidden;
    padding-left: 5px;
}
#console-text {
    padding-left: 5px;
    font-size: small;
    color: white;
    z-index: 2;
    background-color: rgba(0,0,0,0.5);
    max-height: 300px;
    overflow: auto;
    width: 300px;
    padding: none;
    border: none;
    visibility: hidden;
    white-space: pre-line;
    margin: none;
    position: absolute;
    top: 215px;
}
#game{
    position: relative;
}
a:visited{
    color: darkturquoise;
}
a{
    color: darkturquoise;
}
a:hover {
    color:aqua;
}
.nohover:hover{
    color: darkturquoise
}
#menu h2{
    float: left;
    margin: 5px;
    margin-top: 9px;
}
#menu img{
    float: left;
}
#gameNameTextBox{
    font-family: "Kode Mono";
    color: white;
    outline: none;
    caret-color: white;
    z-index: 2;
    background-color: #264272;
    position: absolute;
    top: 68px;
    left: 78px;
    width: 314px;
    visibility: hidden;
    padding: none;
    border: none;
    border-bottom: 1px solid white;

    padding-left: 5px;
}
#newTab {
    fill: darkturquoise
}
.linkImage {
    margin: -5px;
    width: 20px;
    height: 20px;
}
.button {
    background-color: rgb(81, 101, 101);
    padding-left: 5px;
    padding-right: 5px;
}
.button:hover {
    background-color: lightslategrey
}
.antialiasing {
    image-rendering: pixelated;
}
