@import url("gold.css");
@import url("https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&family=Funnel+Display:wght@300..800&family=Imperial+Script&display=swap");

:root {
    --m: 1.1rem;
    interpolate-size: allow-keywords;
}

body {
    font-family: "Funnel Display", system-ui;
    text-align: center;
}

/*mobile first*/

main {
    grid-template-columns: 1fr;
    gap: 1rem;
    img {
        width: 100%;
    }
}

/*and desktop*/
@media (width > 600px) {
    main {
        grid-template-columns: repeat(3, 1fr);
    }
}

header {
    position: sticky;
    top: 0px;
    background: #ffffff67;
    border-radius: 0% 0% 50% 50%;
    backdrop-filter: blur(5px);
}

a:has(h1) {
    text-decoration: none;
}

h1 {
    font-family: "Imperial Script", system-ui;
}

h2 {
    font-family: "Alumni Sans Pinstripe", system-ui;
}

hr {
    margin-block: var(--m);
}

.full {
    img {
        max-width: 100dvi;
        aspect-ratio: initial;
    }
}

@media (width > 600px) {
    .full {
        img {
            max-height: 100dvb;
        }
    }
}

@view-transition {
    navigation: auto;
}
