@font-face {
    font-family: 'Pixo';
    src: url('../assets/fonts/fnt_pixo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Magazine';
    src: url('../assets/fonts/fnt_magazine.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MachineCompany';
    src: url('../assets/fonts/fnt_machinecompany.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@keyframes slideBg {
    0% {background-position: 0 0;}
    100% {background-position: 0 1000px;}
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: MachineCompany;
    
    background-image: 
        linear-gradient(
            to right, 
            rgba(0, 0, 0, 1), 
            rgba(0, 0, 0, 0), 
            rgba(0, 0, 0, 1)
            ), 
        url('../assets/bgs/bg_main.gif');
    
    background-attachment: fixed; 
    background-position: center;
    background-repeat: repeat; 
    background-size: cover;
    image-rendering: pixelated;
    
    animation: slideBg 45s linear infinite forwards;
}
header {
    text-align: center;
    text-shadow: 1px 1px 3px #000;
    max-width: 60%;
    margin: 1%;
    margin-left: auto;
    margin-right: auto;
}
nav, footer {
    text-align: center;
    background-color: rgba(75, 12, 163, 0.5);
    text-shadow: 1px 1px 3px #000;
    
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    
    padding-top: .5%;
    padding-bottom: .5%;
}
nav {
    box-sizing: border-box;
    height: auto;
    max-height: 10%;
    
    padding: 1%;
    
    /*border: 2px solid rgba(255, 255, 255, 0.5);*/
}
#main-contents {
    display: flex;
    flex-direction: row;
    justify-content: center;

    max-width: 60%;
    margin: auto;
    /*overflow: hidden;*/
}
main {
    background-color: rgba(0, 0, 0, 0.75);
    flex: 1;
    text-align: center;
}
.sidebar {
    background-color: rgba(0, 0, 0, 0.75);
    width: 25%;
}
.sidebar div {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    margin-bottom: 5%;
    
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.25s ease;
}
.sidebar div:hover {
    color: rgba(255, 255, 255, 1);
}

main p {
    padding: 2.5%;
}

h1 {
    display: inline;
    margin: 1%;
    
    text-align: center;
    font-family: Pixo;
    font-size: 200px;
    text-shadow: 1px 1px 3px #000;
}
h2 {
    text-align: center;
    font-family: Magazine;
    font-size: 48px;
    text-shadow: 1px 1px 3px #000;
}
h3 {
    text-align: center;
    font-family: Magazine;
    font-size: 36px;
    text-shadow: 1px 1px 3px #000;
}
a {
    color: #4cc9f0;
    transition: color 0.25s ease;
    text-decoration: none;
}
a:hover {
    color: #f72585;
}
section {
    margin: 1%;
}
li {
    list-style-type: none;
}

.navlink {
    padding: 10px;
    font-family: Magazine;
    
    font-size: 36px;
    color: #fff;
    text-shadow: 1px 1px 3px #000;
    text-decoration: none;
        
    transition: color 0.1s ease, text-shadow 0.1s ease, font-size 0.25s ease;
}
.navlink:hover {
    font-size: 34px;
    color: #fff;
    text-shadow: 1px 2px 15px #000;
    text-decoration: none;
}
.navsep {
    font-family: Pixo;
    font-size: 32px;
    display: inline;
}

.chatbox {
    width: 90%;
    margin: auto;
    
    height: 300px;
}
.adspace {
    width: 40%;
    height: auto;
    object-fit: contain;
}
.idtag {
    width: 40%;
    height: auto;
    object-fit: contain;
}

#footerclock {
    display: inline;
}
#footerclocknum {
    display: inline;
    font-family: Magazine;
    font-size: 24px;
    padding: 1%;
}

#footerbanners {
    padding: 2%;
}
.button {
    border: 2px solid;
    border-color: #4cc9f0;
    transition: border-color 0.25s ease;
    
    image-rendering: pixelated;
}
.button:hover {
    border-color: #f72585;
}