:root{
    --link-color: #2c9080;
    --border-color: #383838;
}

@font-face{
    font-family:"Pixelated MS Sans Serif";
    font-style:normal;
    font-weight:700;
    src:url(../fonts/ms_sans_serif_bold.woff) format("woff");
    src:url(../fonts/ms_sans_serif_bold.woff2) format("woff2")
}

@font-face{
    font-family:"Pixelated MS Sans Serif";
    font-style:normal;
    font-weight:400;
    src:url(../fonts/ms_sans_serif.woff) format("woff");
    src:url(../fonts/ms_sans_serif.woff2) format("woff2")
}

@font-face {
    font-family: "NEC_APC3";
    src: url("../fonts/Web437_NEC_APC3_8x16.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "NEC_APC3";
    src: url("../fonts/Web437_Nix8810_M16.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}


body {
    font-family: "NEC_APC3",Tahoma;
    
    background-color: #797979;
    background-image: url(../images/background.png);
    background-repeat: repeat;
    background-position: left top;
    background-blend-mode: overlay;
    
    padding-top: 10px;
    padding-bottom:26px;
    
    text-rendering: optimizespeed;
    image-rendering: pixelated;
    
}


main{
    width: 60vw;
    min-width: 700px;
    max-width: 1000px;
    margin: 0 auto;
    
    @media (max-width: 750px){
        min-width: calc(100vw / 1.125);
    }
    
}

.mainlayout{
    display: flex;
    
    column-gap: 10px;
    row-gap: 10px;
    flex-direction: row;
    
    @media (max-width: 1000px){
        flex-direction: column-reverse;
    }
}

.mobile-hide{
    @media (max-width: 1000px){
        display: none;
    }
}

.rowsplit{
    display: grid;
    grid-template-columns: subgrid;
    grid-auto-rows: min-content;
    
    columns: 1;
    row-gap: 10px;
    
    width: 100%;
}

.content{    
    background-color: #000000d3;
    color: white;
    overflow: hidden;
    
    padding: 10px 15px;
    
    border: 2px solid var(--border-color);
    border-radius: 4px;
    
}

.titlebar {
    margin: 0px 0px 10px 0px;
    
    .nav{
        vertical-align: bottom;
    }
}

h1,h2,a{
    color: var(--link-color);
}

a{
    text-decoration: underline;
}

a:hover{
    background-color: var(--link-color);
    color: white;
    border-radius: 6px;
}

hr{
    width: 100%;
}

.chatbox{
    display: grid;
    grid-template-columns: auto auto;
}

.no-indent{
    margin-top: -10px;
    margin-bottom: -40px;
}

.text-center{
    text-align:center;
    width: auto;
}

.fit-image{
    width: 100%;
    aspect-ratio: auto;
}

.div-inline{
    display: inline;
    
    p{
        display: inline;
    }
}

.squeeze{
    width: auto;
    img{
        width: 100%;
        image-rendering: optimizespeed;
    }
}

.rndText{
    min-height: 38px;
}

#rndShit{
    text-align: center;
}
