/*@import url("https://fonts.googleapis.com/css2?family=Plaster&family=Rubik+80s+Fade&family=Rubik+Dirt&family=Rubik+Doodle+Triangles&display=swap");*/
@import url("https://fonts.googleapis.com/css2?family=Rubik+Mono+One&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");

:root {
    --orange: oklch(0.6915 0.1661 53.52);
    --charcoal: oklch(0.3 0 0);

    /* @link https://utopia.fyi/type/calculator?c=360,18,1.2,1240,20,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

    --fs--2: clamp(0.7813rem, 0.7736rem + 0.0341vw, 0.8rem);
    --fs--1: clamp(0.9375rem, 0.9119rem + 0.1136vw, 1rem);
    --fs-0: clamp(1.125rem, 1.0739rem + 0.2273vw, 1.25rem);
    --fs-1: clamp(1.35rem, 1.2631rem + 0.3864vw, 1.5625rem);
    --fs-2: clamp(1.62rem, 1.4837rem + 0.6057vw, 1.9531rem);
    --fs-3: clamp(1.944rem, 1.7405rem + 0.9044vw, 2.4414rem);
    --fs-4: clamp(2.3328rem, 2.0387rem + 1.3072vw, 3.0518rem);
    --fs-5: clamp(2.7994rem, 2.384rem + 1.8461vw, 3.8147rem);
}

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

/*html {
    scrollbar-gustter: stable;
}*/

body {
    margin: 0;
    font-family:
        "Lexend",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        "Open Sans",
        "Helvetica Neue",
        sans-serif;
    line-height: 1.6; /* Make the line-height more reader friendly */
    color: var(--charcoal);
}

.page-layout {
    min-block-size: 100svb;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1; /* Set tighter line heights on headings & interactive elements */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

h1 {
    font-size: var(--fs-4);
}

h2 {
    font-size: var(--fs-3);
}

h3 {
    font-size: var(--fs-2);
}

body {
    font-size: var(--fs-0);
}

input,
button,
textarea,
select {
    font: inherit; /* Inherit fonts for inputs and buttons */

    font-size: max(16px, 1em); /* prevents zoom on focus in iOS */
}

img {
    /* video, iframe, svg (careful) */
    display: block;
    max-inline-size: 100%;
    block-size: auto;
}

.text-center {
    text-align: center;
}

.prose > * + * {
    /*variable spacing for text flow*/
    margin-block-start: 1em;
}

.header {
    display: flex;
    align-items: center;
    margin-block: 1rem;
    gap: 2rem;
    line-height: 0;
}

.header div:last-child {
    margin-inline-start: auto;
}

main {
    margin-block-end: 2rem;
}

.footer {
    padding: 0.5rem 1rem;
    background: var(--orange);

    background-image: url(img/bandana-paisley3.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: black;
}

footer .ig-link {
    margin-inline-start: auto;
    padding-inline-end: 0.5rem;
    font-family: "Lexend", sans-serif;
    /*font-size: 1.5em;*/
    font-weight: 800;
}
footer .ig-link a {
    text-decoration: none;
    color: black;
}
footer .ig-link a:visited {
    color: black;
}
footer .ig-link a:hover {
    color: darkred;
}
footer .ig-logo {
    display: inline;
    line-height: 0;
    height: 2rem;
    filter: opacity(0.75);
}

.wrapper {
    inline-size: min(1200px, 100% - 2rem);
    margin: 0 auto;
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.center-grid {
    display: grid;
    height: 100%;
    place-items: center;
}

.auto-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-inline: auto;
}

.auto-flex > * {
    flex-grow: 1;
    inline-size: 300px;
}

/*.rubber-logo {
    display: inline;
    height: 3rem;
    filter: grayscale(100%);
}*/

.zach {
    font-family: "Rubik Mono One", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: black;
    filter: drop-shadow(1px 1px 0.5px var(--orange));
}

.zach-alt {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-size: 0.95em;
    font-kerning: normal;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--orange);
    margin-inline-start: -0.22em;
    margin-inline-end: -0.25em;
    /*filter: drop-shadow(1px 1px 0.5px black);*/
}

.zach-splash {
    font-size: var(--fs-5);
}
