@font-face {
    font-family: 'Amsterdam';
    src: url('../assets/Amsterdam.woff2') format('woff2'),
        url('../assets/Amsterdam.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Dream Avenue';
    src: url('../assets/DreamAvenue.woff2') format('woff2'),
        url('../assets/DreamAvenue.woff') format('woff');
    font-display: swap;
}

:root {
    --primary-color: #e4aec4;
    --primary-color-dark: #bf91a4;
    --secondary-color: #477e59;
    --secondary-color-dark: #254730;
    --primary-bg: rgb(248, 241, 220);
    --secondary-bg: #dcead1;
    --accent-1: #e0d8c1;
    --accent-2: #a39c89;
    --accent-3: #fbf7ec;
    --font-size-regular: 1rem;
    --banner-height: 25vh;
    --nav-shadow-opacity: 0;
    overflow-x: hidden;
}

html,
body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-size: var(--font-size-regular);
    font-family: 'Dream Avenue';
    -webkit-text-stroke: 0.05rem;
    letter-spacing: 0.05rem;
    margin: 0;
    background-color: var(--primary-bg);
}

h1 {
    font-family: 'Amsterdam';
    text-align: center;
    -webkit-text-stroke: 0;
    color: var(--primary-color);
}

h2 {
    text-align: center;
    -webkit-text-stroke: 0;
    color: var(--secondary-color);
}

button {
    font-family: 'Dream Avenue';
    -webkit-text-stroke: 0.05rem;
    letter-spacing: 0.05rem;
    font-size: var(--font-size-regular);
}

input {
    font-family: 'Dream Avenue';
    -webkit-text-stroke: 0.05rem;
    letter-spacing: 0.05rem;
    font-size: var(--font-size-regular);
}

label {
    color: var(--secondary-color);
    font-size: var(--font-size-regular);
}

fieldset {
    color: var(--secondary-color);
    font-size: var(--font-size-regular);
}

a {
    color: var(--secondary-color);
    text-align: center;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

a:hover {
    color: var(--secondary-color-dark);
}

a:visited {
    color: var(--primary-color-dark);
}

sup {
    font-size: 0.5em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    top: -0.75rem;
}

.hero-title-1 {
    font-family: 'Amsterdam';
    fill: var(--primary-color);
    font-size: 30px;
}

.hero-title-2 {
    font-family: 'Dream Avenue';
    fill: var(--secondary-color);
    font-size: 15px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: color-mix(in srgb,
            var(--primary-bg) 75%,
            transparent);
    box-shadow:
        0 0.25rem 1rem rgba(0, 0, 0, var(--nav-shadow-opacity));
}

.nav-links {
    display: flex;
    overflow: hidden;

    justify-content: center;

    max-height: 0;
    padding: 0;
    padding-bottom: 1rem;
    margin: 0;
    opacity: 0;
    list-style: none;
    gap: 1rem;

    transition: max-height 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.nav-links a:visited {
    color: var(--secondary-color);
}

.nav-links.scrolled {
    max-height: 3rem;
    opacity: 1;
}

.navbar-static {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: color-mix(in srgb,
            var(--primary-bg) 75%,
            transparent);
    box-shadow:
        0 0.25rem 1rem rgba(0, 0, 0, 0.15);
}

.hero-banner-static {
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner-static svg {
    height: 100%;
    max-width: 100%;
}

.spacer {
    height: min(calc(100vw * 0.35), 30vh);
}

.spacer-static {
    height: calc(10vh + 3rem);
}

.header-box {
    display: flex;
    justify-content: center;
}

.hero-banner {
    display: flex;
    justify-content: center;
    width: max(calc(var(--banner-height) * 3.333), 33.333vh);
    height: auto;
    min-height: 10vh;
}

.hero-banner svg {
    width: 100%;
    height: auto;
    display: block;
}

.picture-window {
    margin: 1rem;
    display: flex;
    justify-content: center;
    margin-bottom: 10vh;
}


.picture-frame {
    position: relative;
    border-radius: 30vw 30vw 0 0;
    overflow: hidden;
}

.picture-frame::after {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: inherit;

    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);

    pointer-events: none;
}

.picture-frame img {
    display: block;
    max-width: 50vw;
    max-height: 60vh;
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.submit-button {
    padding-top: calc(var(--font-size-regular) * 0.6);
    padding-bottom: calc(var(--font-size-regular) * 0.5);
    padding-left: calc(var(--font-size-regular) * 1.5);
    padding-right: calc(var(--font-size-regular) * 1.5);

    border-radius: 0;
    border: none;

    background-color: var(--primary-color);
    color: var(--accent-3);

    transition: 0.2s ease-in-out;
    box-shadow: 0.25rem 0.25rem 1rem rgba(0, 0, 0, 0.15);

}

.submit-button:hover {
    background-color: var(--primary-color-dark);
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.15);

}

.loader {
    position: absolute;
    inset: 0;

    min-width: 100%;
    height: 10vh;
    min-height: 100%;

    background: var(--accent-3);
    color: var(--secondary-color);

    z-index: 100;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 1rem;

    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.loader-alt {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    background: var(--accent-1);
}

.small-caption {
    font-size: x-small;
    color: var(--accent-1);
}

.loader-alt .small-caption {
    font-size: x-small;
    color: var(--accent-2);
}

.footer {
    position: relative;
    z-index: 1;
    font-size: calc(var(--font-size-regular) * 0.75);
    display: flex;
    background: var(--primary-color);
    color: var(--accent-3);
    height: auto;
    padding-top: calc(var(--font-size-regular) * 1);
    padding-bottom: calc(var(--font-size-regular) * 1);
    box-shadow: 0 -0.25rem 1rem rgba(0, 0, 0, 0.15);
}

.footer-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-section>span>sup {
    font-size: calc(var(--font-size-regular) * 0.25);
}

.footer-title-1 {
    font-family: 'Amsterdam';
    fill: var(--accent-3);
    font-size: 30px;
}

.footer-title-2 {
    font-family: 'Dream Avenue';
    fill: var(--accent-3);
    font-size: 15px;
}

.footer-logo {
    max-width: 20vw;
}

.bg-accent-3 {
    background: var(--accent-3);
}

custom-footer {
    display: block;
    z-index: 10;
}

@media (orientation: portrait),
(max-width: 768px) {
    .footer-logo {
        max-width: 40vw;
    }
}