﻿:root {
    --asian-red: #cf0c30;
}

body {
    background-color: var(--asian-red);
    color: white;
    font-family: Lora;
    margin: 0;
}

h1 {
    text-transform: uppercase;
    letter-spacing: 7px;
    padding-bottom: 1rem;
    border-bottom: 1px solid white;
    margin-bottom: 1rem;
    display: inline-block;
}

header, footer {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

picture.ornament {
    display: block;
    margin-bottom: 10vh;
    overflow: clip;
}

picture.ornament img {
    min-width: 1024px;
    width: 100%;
    display: block;
}

.prose {
    text-align: left;
    max-width: 30rem;
    margin: 0 auto;
}

nav {
    max-width: 60rem;
    margin: 0 auto;
    padding: 2rem 0;
}

.wide-prose {
    text-align: left;
    max-width: 60rem;
    margin: 0 auto;
    padding: 0 10px;
}

.wide-prose img {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

.wide-prose h2 {
    margin-top: 5rem;
}

a:not(.gallery) {
    color: #fffe99;
    text-decoration: underline;
}

a:not(.gallery):hover {
    text-decoration: underline 3px;
}

h1 {
    font-weight: normal;
}

nav {
    text-align: center;
}

footer {
    margin-top: 10rem;
    text-align: center;

    & #psa {
        margin-top: 4rem;
        text-align: left;

        & > h2 {
            font-size: 1rem;
        }
    }
}

.prose li {
    margin: 1rem 0;
}

img {
    object-fit: contain;
}

.gallery img {
    max-width: 500px;
    max-height: 500px;
}

#frontpage {
    columns: 2 25rem;
    max-width: 60rem;
    margin: 0 auto;
    margin-top: 4rem;

    & > section {
        & {
            margin-top: 0;
        }

        break-after: column;
    }

    & section:first-child {
        padding-bottom: 10rem;
    }

    & .essay {
        text-align: center;

        &::before {
            height: 10rem;
            border-left: 1px solid white;
            width: 2px;
            display: block;
            content: ' ';
            float: left;
            padding-left: 2rem;
        }
    }
}

header.banner {
    unset: all;
    width: 100vw;
    position: absolute;
    top: min(14vw, 80px);
    left: max(-28vw, -220px);
    background: #af001b;
    height: 8vh;
    max-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-45deg);
    font-weight: bold;
    font-family: Helvetica, "Arial";
    font-size: 0.8rem;
    letter-spacing: 2px;
    border-top: 2px dashed #eee;
    border-bottom: 2px dashed #eee;
    box-shadow: 0 0 0 min(2vh, 20px) #af001b, 2px 1px 6px 4px rgba(10, 10, 0, .5);
    white-space: pre-wrap;
    line-height: 1.3;
}
