body {
    background-color: #222;
}

.logo1 {
    position: static;
    top: 0px;
    margin: 0 auto;
    margin-top: auto;
    margin-top: 50px;
    font-family: Arial;
    font-size: 28px;
    font-weight: bold;
    display: block;
    line-height: 37px;
    text-align: center;
    border: none;
    width: 130px;
    height: 37px;
    color: #eee;
    text-shadow: 0 0 5px #222;
}

header.logo.hide {
    transform: translateY(-120%);
    transition: transform 200ms ease;
}
header.logo {
    transition: transform 200ms ease;
}

main {
    text-align: center;
}

.logo2 {
    margin-left: 2px;
    font-family: Arial;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    border: none;
    border-radius: 2px;
    background: var(--accent);
    padding: 0px 2px 0px 2px;
    outline: none;
    box-shadow: 0 0 5px #222;
    background: #f7a848
}       
        
footer {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}

p, h1, h2, h3, h4, h5, h6, a {
    font-family: 'Inter';
    color: #eee;
    text-align: center;
}

@font-face {
    font-family: 'Inter';
    src: url(/static/fonts/Inter_28pt-Regular.ttf)
}

.gif-grid{
    display: grid;
    grid-template-columns: repeat(9, 88px);
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0 auto;
    width: fit-content;
    max-width: 100%;
}

.gif-grid img,
.gif-grid a img{
    width: 88px;
    height: 31px;
    object-fit: contain;
    image-rendering: pixelated;
    display: block;
    margin: 0;
    border-radius: 0;
}

footer{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 10px;
    width: 100%;
    text-align: center;

    max-height: 40vh;
    overflow-y: auto;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
