﻿@font-face {
    font-family: "Cubao Wide";
    src: url("fonts/Cubao_Free_Wide.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Cubao Narrow";
    src: url("fonts/Cubao_Free_Narrow.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Eyesome Script";
    src: url("fonts/Eyesome Script.otf") format("opentype");
    font-display: swap;
}

:root {
    --black: #000;
    --yellow: #fbff00;
    --yellow-soft: #f7ec47;
    --ink: #030303;
    --display: "Cubao Wide", Impact, sans-serif;
    --script: "Eyesome Script", cursive;
    --day: "Cubao Regular", Impact, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background: var(--black);
}

body {
    min-height: 100vh;
    background: var(--black);
    color: var(--yellow);
    font-family: var(--display);
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
    border-radius: 4px;
}

.poster {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 16px;
    overflow-x: hidden;
}

.hero {
    position: relative;
    container-type: inline-size;
    width: min(100%, calc((100vh - 32px) * 16 / 9), 1500px);
    aspect-ratio: 16 / 9;
    min-height: auto;
}

.brand {
    position: absolute;
    top: 3.5%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--black);
    font-family: var(--display);
    font-size: 8.8cqw;
    line-height: .78;
    text-transform: uppercase;
    text-shadow:
        .34cqw 0 0 var(--yellow),
        -.34cqw 0 0 var(--yellow),
        0 .34cqw 0 var(--yellow),
        0 -.34cqw 0 var(--yellow),
        .24cqw .24cqw 0 var(--yellow),
        -.24cqw .24cqw 0 var(--yellow),
        .24cqw -.24cqw 0 var(--yellow),
        -.24cqw -.24cqw 0 var(--yellow),
        0 0 14px rgba(251, 255, 0, .72);
    -webkit-text-stroke: 1.95cqw var(--yellow);
    paint-order: stroke fill;
}

.hero-grid {
    position: absolute;
    inset: 0;
}

.mascot-wrap {
    position: absolute;
    left: 25.15%;
    top: 18.7%;
    width: 25.7%;
    filter: drop-shadow(0 0 8px rgba(251, 255, 0, .6));
}

.mascot {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
}

.info-panel {
    position: absolute;
    inset: 0;
    display: grid;
    justify-items: stretch;
    gap: 2cqw;
    padding-top: 0;
}

.tagline {
    position: absolute;
    left: 66.5%;
    top: 25.9%;
    transform: translateX(-50%);
    color: var(--yellow-soft);
    font-family: var(--script);
    font-size: 3.4cqw;
    line-height: .72;
    text-align: center;
    text-shadow: 0 0 10px rgba(251, 255, 0, .42);
    white-space: nowrap;
}

.hours {
    position: absolute;
    left: 47.5%;
    top: 32.88%;
    list-style: none;
    width: 21.25cqw;
    min-width: 0;
    display: grid;
    gap: .7cqw;
}

.hours li {
    width: 100%;
    min-width: 0;
    min-height: 3.5cqw;
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    padding: .5cqw;
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 0 0 0 1px rgba(251, 255, 0, .12), 0 0 14px rgba(251, 255, 0, .14);
}

.day,
.time {
    height: 100%;
    min-width: 0;
    display: grid;
    place-items: center;
    line-height: 1;
}

.day {
    border-radius: 999px;
    background: var(--ink);
    color: var(--yellow);
    font-family: var(--day);
    font-size: 1.06cqw;
    letter-spacing: 0.1cqw;
    padding-bottom: .1cqw;
    
}

.time {
    color: var(--ink);
    font-size: .97cqw;
    text-transform: uppercase;
    white-space: nowrap;
}

.poster-footer {
    position: absolute;
    left: 50%;
    bottom: 2%;
    transform: translateX(-50%);
    width: 78%;
    margin-top: 0;
    text-align: center;
}

.poster-footer h1 {
    color: var(--yellow);
    font-size: 2.66cqw;
    font-weight: 400;
    line-height: .9;
    text-transform: uppercase;
}

.poster-footer address {
    margin-top: 1cqw;
    color: var(--yellow);
    font-family: var(--display);
    font-size: 1.37cqw;
    font-style: normal;
    line-height: 1.25;
    text-transform: uppercase;
}

@media (max-width: 720px) and (orientation: portrait) {
    .poster {
        place-items: start center;
        padding: 12px;
    }

    .hero {
        width: 100%;
        min-height: 100vh;
        aspect-ratio: auto;
    }

    .brand {
        top: 2%;
        font-size: clamp(3rem, 17vw, 4.25rem);
    }

    .info-panel {
        inset: auto;
        left: 8%;
        top: 14%;
        width: 84%;
        grid-template-columns: 100%;
    }

    .tagline {
        position: static;
        transform: none;
        font-size: clamp(1.5rem, 8vw, 2.4rem);
        white-space: nowrap;
    }

    .hours {
        position: static;
        width: 100%;
    }

    .hours li {
        min-height: 32px;
    }

    .day {
        font-size: clamp(.46rem, 2.8vw, .72rem);
    }

    .time {
        font-size: clamp(.54rem, 2.8vw, .72rem);
    }

    .mascot-wrap {
        left: 28%;
        top: 44%;
        width: 45%;
    }

    .poster-footer {
        width: 96%;
        bottom: 2.4%;
    }

    .poster-footer h1 {
        font-size: clamp(1rem, 5.7vw, 1.4rem);
    }

    .poster-footer address {
        font-size: clamp(.55rem, 3vw, .76rem);
    }
}
