@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

* {
    box-sizing: border-box;
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100, "YTLC" 500;
    line-height: 1.25;
    -webkit-text-size-adjust: none;
}

body {
    background-color: var(--page-color);
    color: var(--primary-color);
    font-size: 16px;
    margin: 0;
}

body[no-transitions] * {
    transition: none !important;
}

a {
    color: var(--primary-color);
    display: block;
    opacity: 1;
    text-decoration: none;
    /* transition: opacity var(--default-animation); */
}

/* a:hover:not([disabled]) {
    opacity: 0.5;
    transition: opacity var(--fast-animation);
} */

button {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

picture {
    display: flex;
}

main {
    padding-top: calc(8px + 52px + 8px);
    min-height: 3000px;
}

section {
    padding: 32px calc(env(safe-area-inset-right) + 16px) 32px calc(env(safe-area-inset-left) + 16px);
    max-width: calc(1024px + 32px + 32px);
    margin: 0 auto;
    min-height: 80svh;
}

.button {
    align-items: center;
    border-radius: calc(var(--control-length) / 2);
    display: flex;
    font-weight: 600;
    height: var(--control-length);
    padding: 0 24px;
    position: relative;
    transition: transform var(--default-animation);
    width: fit-content;
}

.button::before {
    background-color: var(--background-color);
    border-radius: calc((var(--control-length) - 2px) / 2);
    box-shadow: 0px 0px 0px 1px var(--header-inner-shadow-color) inset;
    content: '';
    display: flex;
    height: calc(100% - 2px);
    outline: 1px solid var(--border-color);
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    z-index: -1;
}

.button.prominent {
    background-color: var(--brand-color);
    border: 1px solid rgba(0, 0, 0, 0.125);
    color: white;
}

.button.prominent::before {
    display: none;
}

.button::after {
    background-color: var(--hover-color);
    border-radius: calc(var(--control-length) / 2);
    content: '';
    display: flex;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity var(--default-animation);
    width: 100%;
    z-index: 1;
}

.button:hover:not([disabled])::after {
    opacity: 1;
    transition: opacity var(--fast-animation);
}

.hero {
    display: flex;
    text-align: center;
}

.hero-content {
    margin: auto;
}

.hero-title {
    font-size: max(40px, min(12.5vw, 15vh, 80px));
    line-height: 1;
    margin: 24px 0;
}

.hero-detail {
    font-size: 20px;
    margin: 8px 0;
    text-wrap: balance;
}

.hero-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 32px 0;
}

@media screen and (min-width: 640px) {
    .hero-detail {
        font-size: 24px;
    }
}

.noscript {
    background-color: rgb(255, 45, 85);
    font-weight: 600;
}

.noscript section {
    color: white;
    text-align: center;
}

.background-image {
    color: white;
    position: relative;
    text-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}

.background-image .hero-detail {
    text-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
}

.background-image > .background-content {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1)), url(/assets/Background1.jpg);
    background-position: center;
    background-size: cover;
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}