:root {
    --star-opacity: 0.2;
}

html {
    /* The page is a fixed splash with nothing to scroll, so suppress the
       browser gestures that would otherwise hijack a finger drag:
       overscroll = pull-to-refresh reload, touch-action = double-tap zoom. */
    overscroll-behavior: none;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: linear-gradient(45deg, #012265, #000c24);
    min-height: 100vh;
    color: white;
    font-family: 'Liberation Serif', 'Times New Roman', Times, serif;
}

/* Static starfield plate behind the interactive canvas, at the same 20% the
   other pages use so the three read as one site. */
.sky {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('stars.png');
    background-size: cover;
    background-position: center;
    opacity: var(--star-opacity);
}

#stars {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.stack {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 2;
}

.title {
    position: relative;
    text-align: center;
    pointer-events: none;
}

/* Sits above the wordmark the same way the old <p>YKMUN</p> did. aspect-ratio
   reserves the box before the bitmap decodes, so the h1 does not jump. */
.title .mark {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(64px, 13vw, 190px);
    height: auto;
    aspect-ratio: 1;
}

.title h1 {
    margin: 0;
    font-size: 10vw;
}