body {
    margin: 0;

    background-color: #20242c;
    color: #eee;

    font-family: sans-serif;

    overflow-x: hidden;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Homestuck';
    src: url('/assets/fonts/Homestuck-Regular.woff2') format('woff2');
}

hr {
    border: solid 1px #ffffff40;
    margin: 2rem 0rem;
}

li {
    margin: 0.5rem 0rem; 
}

.hidden {
    display: none;
}

.icon {
    height: 1em;
    translate: 0em 0.15em;
    margin: 0em 0.15em;
    user-select: none;
}

.noticebox {
    display: flex; 
    flex-direction: column;
    gap: 0.5rem;

    padding: 1.5rem;
    line-height: 1.5;
    
    color: color-mix(in srgb, #ffffff 75%, var(--noticebox-color) 25%);
    background-color: color-mix(in srgb, #00000000 90%, var(--noticebox-color) 10%);
    border: solid 2px color-mix(in srgb, #00000000 75%, var(--noticebox-color) 25%);

    * > a {
        color: color-mix(in srgb, #ffffff 35%, var(--noticebox-color) 45%) !important;
        &:hover {
            color: color-mix(in srgb, var(--noticebox-color) 70%, #ffffff 30%) !important;
        }
        text-wrap: nowrap
    }
}

.rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;    
}
.columns {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.linkbox {
    background-color: #40444a;
    display: flex;
    text-decoration: none;
    gap: 1rem;

    padding: 0.5rem 1rem;

    border: 2px solid #ffffff22;

    align-items: center;

    transition: border 0.1s, background-color 0.1s;
    
    img {
        object-fit: cover;
        height: 8rem;
        aspect-ratio: 16 / 9;  
    }

    div {
        font-size: smaller;
        color: #eee;
        height: 100%; 

        padding: 1rem 0.5rem;
        
        span {
            line-height: 1.5;   
        }

        h2 {
            margin-top: 0;
        }

        font-size: 100%;
        height: 100%;
    }

    &:hover {
        border: 2px solid #ffffff44;
        background-color: #44484d;
        transition: border 0.1s, background-color 0.1s;
    }

    @media (max-width: 600px) {
        flex-direction: column;
        gap: 0rem;

        padding: 0rem;

        div {
            padding: 1rem;
        }

        img {
            height: auto;
            width: 100%;
        }
    }
}

.filter-items {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;

    div {
        background-color: #eeeeee22;

        input {
            display: none;
        }

        label {
            display: flex;    
            padding: 0.5rem 0.75rem;
            
            border-radius: 0.5rem;
            cursor: pointer;
        }

        &:has(input:checked) {
            background-color: #2266cc;
        }        
    }

    button {
        width: 6rem;
        border: none;
        outline: none;
        opacity: 75%;
    }
}

.pesterlog {
    border: dotted 2px #788;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0rem;
    display: flex;
    flex-direction: column;
    font-family: monospace;
}