@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;
}

palmframe-widget {
    color-scheme: dark;
}

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

/*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 {
    padding: 0 var(--s) var(--m) var(--s);
    background: #ffffff67;
    border-radius: 0% 0% 50% 50%;
    backdrop-filter: blur(5px);
}

@media (width > 600px) {
    header {
        position: sticky;
        top: 0px;
    }
}

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

h1 {
    font-family: "Imperial Script", system-ui;
    font-weight: bold;
    margin-top: -1rem;
}

.logo {
    display: inline;
    width: var(--xxl);
    height: var(--xxl);
    aspect-ratio: 1/1;
    /* margin-left: 0.2ch; */
    translate: 0% 30%;
}

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

hr {
    margin-bottom: var(--m);
    max-width: 60%;
}

.button {
    border: 1px solid black;
    cursor: pointer;
}

footer {
    margin-top: var(--xl);
}

/*à enlever*/
::marker {
    content: "";
}

input[type="textarea"] {
    height: 5rem;
}

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

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

@view-transition {
    navigation: auto;
}
