@font-face {
    font-family: 'vga8x16';
    src: url('/fonts/Web437_IBM_VGA_8x16.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'depixelbreitfett';
    src: url('/fonts/depixel/depixelbreitfett.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
p,a {font-size:1.1rem;}
h1 {font-size:1rem; font-family: depixelbreitfett;}
h2 {font-size:1.25rem; font-family: vga8x16;}
h3 {font-size:.9rem; font-family: vga8x16;}
a {color: rgb(80, 80, 80);}
a:hover {
    background-color: rgb(238, 238, 238);
}
* {
    margin:0;
    padding: 0;
    word-break: break-all;
}

html {
    display:flex;
    justify-content: center;
    background-size: 20px 20px;
    /* background: linear-gradient(0deg,#778393 0%, #cad1d9 100%); */
    background-image:
        linear-gradient(to right, #f0f0f0 2px, transparent 2px),
        linear-gradient(to bottom, #f0f0f0 2px, transparent 2px);
    /* background-repeat: no-repeat; */
    height:100%;
}

body {
    font-family: vga8x16;
    gap: 5px;
    margin: 0;
    padding:5px;
    max-width: 1320px;
}

header {
    color: black;
    border: 2px solid black;
    border-radius: 5px;
    background-color: white;
    font-family: depixelbreitfett;
    flex:1;
    margin-bottom: 5px;
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

input[type=button] {
    color:black;
    font-family: vga8x16;
    border:2px solid black;
    background-color: white;
    padding: 3px;
}
input[type=button]:hover {
    background-color: rgb(240, 240, 240);
}
input[type=button]:active {
    background-color: rgb(230, 230, 230);
}

main {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(434px, 1fr)); */
    grid-template-columns: 1fr auto;
    color: black;
    gap: 5px;
}

.block {
    height: min-content;
    border: 2px solid black;
    border-radius: 5px;
    padding: 5px;
    background-color: white;
}
.block img {
    max-width: 100%;
    height: auto;
    display: block;
    flex:1;
}

.nav-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-list li {
    border-bottom: 1px dotted #000000;
}

.nav-list a {
    padding: 2px;
}

.nav-list h1 {
    border-bottom: 1px dotted #000000;
}

.nav-list li:last-child {
    border-bottom: none;
}

.sidebar {
    display:flex;
    flex-direction: column;
    gap: 5px;
    height: min-content;
    width: 320px;
}

.fesh-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:5px;
}

.fesh-grid img {
    border: 2px solid black;
    border-radius: 5px;
}

span {
    display: inline-flex;
    gap:5px;
    /* align-items: center; */
    word-break: break-all;
}
span img {
    height: 100%;
}
.mello-container {
    display:flex;
    flex-direction: column;
}
.mello {
    image-rendering: pixelated;
}

@media (max-width: 768px) {
    main {
        display: grid;
        grid-template-columns: 1fr;
    }
    .sidebar {
        width: 100%;
    }
}
/* check if they're on mobile */
@media (pointer:none), (pointer:coarse) {
    #lungfish-button {
        display: none;
    }
}
.grabbable {
    cursor:grab;
}
.grabbable:active {
    cursor:grabbing;
}

.commentform {
    border: 2px solid black;
    width: min-content;
}