/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
/* @import "tailwindcss"; */



body {
    width: 100vw;
    min-height: 100vh;
    background-image: url("/assets/arcade-ed5ce954.jpg");
    background-color: var(--color-bg-main);
    background-blend-mode: darken;
    overflow: hidden;
    overflow-y: scroll;
}

#document-container {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
    min-height: 100vh;
    min-height: 100svh;
}

#flex-container>footer {
    margin-top: auto;
}

@font-face {
    font-family: 'arcade-classic';
    src: url("/assets/arcade-classic-dad40850.TTF");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'arcade';
    src: url("/assets/arcade-21f76025.TTF");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'arcade-karmatic';
    src: url("/assets/arcade-karmatic-01dfbe5e.TTF");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pixelforge';
    src: url("/assets/PixelForge-d4d9ce68.otf");
}

.classic {
    font-family: 'arcade-classic';
}

.karmatic {
    font-family: 'arcade-karmatic';
}

.arcade {
    font-family: 'arcade';
}

.title {
    font-size: 1.875rem;
    font-family: 'arcade-karmatic';
    text-align: center;
    margin: 0.75rem auto;
}

.myContainer {
    background-color: var(--color-bg-main);
    background-blend-mode: darken;
    padding: 1rem;
    margin: 1rem auto;
    border-color: red;
    border-width: 2px;
    border-style: dotted;
    color: white;
}

nav {
    padding: 0.8rem 1rem;
    margin: 1rem;
    border-color: purple;
    border-style: dotted;
    border-width: 2px;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex: 0 0 1;
    background-color: var(--color-bg-main);
    background-blend-mode: darken;
    text-align: center;
    font-size: 1.2rem;
}

.mousetrail-dot {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform, opacity, left, top;
}

.highlight {
    color: var(--color-amber-200);
    text-decoration-color: red;
    text-shadow: azure -0.5px 0.8px 0.1px;
}

details {
    inline-size: 50ch;

    @media (prefers-reduced-motion: no-preference) {
        interpolate-size: allow-keywords;
    }

    &::details-content {
        opacity: 0;
        block-size: 0;
        overflow-y: clip;
        transition: content-visibility 1s allow-discrete, opacity 1s, block-size 1s;
    }

    &[open]::details-content {
        opacity: 1;
        block-size: auto;
    }
}

.sentence {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.article-break {
    padding-top: 1.25rem;
}

.page-number {
    text-decoration: none;
    padding: 0.5rem 1rem;
    text-align: center;
    /* min-width: 10rem; */
    /* flex: 0 25%; */
    border-width: 1px;
    margin: 0.5rem 0.5rem;
}

@media(min-width: 672px) {
    .page-number {
        margin: 0.5rem 0.5rem;
    }
}

.navlink {
    text-decoration: none;
    padding: 0.5rem 3rem;
    text-align: center;
    min-width: 10rem;
    flex: 0 25%;
}

@media (min-width: 1104px) {
    .navlink {
        min-width: 0rem;
        padding: 0.5rem 0rem;
        margin: auto;
        flex-grow: 1;
    }
}