html {
    box-sizing: border-box;

    color:#e8e6e3;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;

    scroll-behavior: smooth;
}

.pixelated {
    image-rendering: pixelated;
}

iframe {
    height: auto;
    width: 100%;
    margin-bottom: 8px;
    border-radius: 3px;
}

iframe.video {
    aspect-ratio: 16 / 9;
}

iframe:fullscreen {
    border-radius: 0;
}

* {
    box-sizing: inherit;
    scroll-margin-top: 60px;
}

ul {
    list-style: square;
}

li {
    font-size: small;
}

body {
    background-color: #181a1b;

    position: relative;

    margin: 0;

    padding: 20px;
}

h1,
h2 {
  font-weight: normal;
}

h1 {
    margin: 0;
  
    font-size: xx-large;
    line-height: 1;
}

h2 {
margin: 25px 0 15px 0;

font-size: 1.9em;
}

h3, span {
font-size: inherit;
font-weight: bold;
}

p {
    font-size: small;
}

li {
    margin-top: 8px;
}

img {
    max-width: 100%;
    width: 100%;
    margin-bottom:6px;
    vertical-align: middle;
}

#headerImage {
    display: block;
    border-radius: 3px;
}

#axtitle, #axtitle:visited, #axtitle:active {
    color:#e8e6e3;
    text-decoration: none;
    display: block;
    padding-bottom: 6px;
}

#header {
    margin-bottom: 20px;
    display: flex;
}

#header div:not(:first-child) {
    padding-left: 10px;
}

.content {
    margin: auto;
    max-width: 800px;
}

.navItem {
    display: none;

    padding: unset;
    margin: 10px;
}

.block {
    display: inline-block;
    line-height: 1.5;
    font-size: small;
    width:49%;
    vertical-align: top;
}

#headlogo, .award {
    height:auto;
    width: auto;
    max-width: 60px;

    vertical-align: middle;
}

hr {
    border:none;
    border-bottom: #bfbfbf24 1px solid;
}

nav {
    overflow: hidden;
    
    position:fixed;
    top:0;
    left:0;

    background-color: #181a1b;

    width: 100%;

    border-bottom: #bfbfbf 1px solid;

    height: auto;
}

nav a {
    display: block;
    padding:10px;
}

.gallery {
    margin: 8px;
    margin-top:16px;
    margin-bottom:16px;
}

@media only screen and (min-width: 800px) {
    .block {
        display: block;
        width: auto;
    }

    .gallery img {
        max-width: 49%;
        margin: 2px;
        margin-bottom: 6px;
    }
    .navItem {
        display: block;
        text-wrap: nowrap;
        white-space:nowrap;
        
        transition: all 0.1s;

        height: 100%;

        padding:10px;
        margin:0px;
    }

    
    nav > :nth-child(2) {
        margin-left: auto;
    }

    nav > :last-child {
        margin-right: auto;
    }

    .navItem:hover {
        background-color: rgba(255,255,255,0.2);
        text-decoration: none;
    }

    #menu {
        display: none;
    }
    nav {
        background-color: RGBA(24, 26, 27, 0.6);
        backdrop-filter: blur(10px);
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;    
    }

    .grid {
        display: flex;
    }
    
    .grid div:not(:first-child) {
        padding-left: 25px;
    }

    a:hover {
        color:#e8e6e3;
        text-decoration: underline;
    }
}

a {
    color:#bfbfbf;
    text-decoration: none;
}

a:hover {
    cursor: pointer;
}

body {
    margin-top:35px;
}

/* chrome shitass built in scrollbar */
/* why can't you be more like firefox? */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-track:hover {
    background: #181a1b;
}

::-webkit-scrollbar-thumb {
    background: #bfbfbf6a;
    border-radius: 25px;
    border: solid 2px #181a1b;

}

::-webkit-scrollbar-thumb:hover {
    background: #bfbfbf;
}