:root {
    --orange: #a34c00;
    --beige: #ab732f;
    --lallow: #f5d56e;
    --yellow: #e0ae49;
    --grolive: #989370;
    --pavement: #5f554b;
    --grey: #55504e;
}

body {
    touch-action: none;
    overflow: hidden;
    font-size: 0.9em;
}

main {
    max-width: 800px;
    font-family: sans-serif;
    margin: 2em auto;
    line-height: 1.6;
    color: #111111;
    opacity: 1;
    transition: opacity 0.5s ease;

    display: flex;
    flex-direction: column;
    gap: 1em;
    height: 90vh;
    width: fit-content;
    overflow-y: scroll;
}

a {
    color: var(--lallow);
    cursor: pointer;
}

a:visited {
    color: var(--yellow);
}

a:hover {
    color: white;
}

article {
    width: 800px;
    max-width: 80vw;
}

article.blog_preview {
    padding: 1em;
}

article.blog_preview:hover {
    background: white;
    color: var(--orange);
}

main.loading {
    opacity: 0;
}

h1 { margin-top: 0 }

dialog {
    font-family: sans;
    border: none;
    background: var(--orange);
    color: white;
}

section {
    position: fixed;
    cursor: grab;
    aspect-ratio: 1 / 1;
    width: fit-content;
    max-width: min(20em, 80vw);
    padding: 1em;
    user-select: none;

    display: flex;
    flex-direction: column;
    justify-content: center;

    .delete {
        float: right;
    }
}

@media (max-width: 500px) {
    section { 
        position: inherit;
        aspect-ratio: 1 / 1;
    }

    section.secret {
        display: none;
    }

    section.contact {
        display: none;
    }
}


section.orange {
    color: white;
    background: var(--orange);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

section.beige {
    color: white;
    background: var(--beige);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

section.grey {
    color: white;
    background: var(--grey);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

/* section.grey:hover { */
/*     filter: invert(1) */
/* } */

section.grolive {
    color: white;
    background: var(--grolive);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

section.contact {
    color: white;
    background: var(--pavement);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}


section.support {
    background: var(--grolive);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.links {
    display: flex;
    justify-content: space-evenly;
}
