:root {
    --text: #333;
    --text-light: #555;
    --card-contrast: #fff;
    --background: #f7f7fa;
    --card-contrast-transparent: #ffffffdd;
    --primary: rgb(127, 109, 70);
    --primary-light: #000000;
    --primary-contrast: #fff;
    --image-radius: 8px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Host Grotesk', sans-serif;
    font-stretch: expanded;
    background: var(--background);
    color: var(--text);
}
/* general settings */
main {
    width: 1400px;
    max-width: 90vw;
    margin: auto;
    padding: 64px 0;
}
h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
table {
    width: 100%;
    border-collapse: collapse;
}
table td, table th {
    text-align: left;
    padding: 4px 4px 4px 4px;
}
table thead tr:last-child * {
    border-bottom: 1px solid var(--text);
}
main table tbody tr * {
    color: var(--text-light);
}
ul li {
    margin-left: 2ch;
    color: var(--text-light);
}
p {
    color: var(--text-light);
    margin-bottom: 16px;
}
/* header */
header {
    backdrop-filter: blur(2px);
    z-index: 3;
    background: var(--card-contrast-transparent);
    color: var(--text);
    display: flex;
    align-items: center;
    width: 1400px;
    padding: 16px 32px;
    max-width: 90vw;
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 1px 1px 2px #ddd;
    justify-content: space-between;
}
header a {
    text-decoration: none;
    color: var(--text);
}
header a:hover {
    color: var(--primary);
    text-decoration: underline;
}
header [data-type="always-on"] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}
header [data-type="always-on"] button {
    background: transparent;
    border-radius: 100%;
    padding: 0;
    margin: 0;
    width: 40px;
    border: none;
    height: 32px;
}
header button[data-type=menu-toggle] {
    display: none;
}
header li {
    margin-left: 0;
}
header nav {
    font-weight: 400;
}
header nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 32px;
}
@media screen and (max-width: 900px) {
    header {
        width: 100%;
        top: 0;
        max-width: 100%;
        flex-direction: column;
        transform: none;
        left: 0;
        padding-bottom: 0;
    }
    header [data-type="always-on"] > a {
        display: none;
    }
    header * {
        width: 100%;
    }
    header button[data-type=menu-toggle] {
        display: initial;
    }
    header nav ul {
        margin-top: 16px;
        gap: 16px;
    }
    header nav ul {
        flex-direction: column;
        justify-content: left;
        height: 0;
        overflow: hidden;
        transition: .5s ease-in-out height;
    }
    header nav.toggled ul {
        height: 148px;
    }
}
/* footer */
footer {
    background: var(--primary);
}
footer ul {
    list-style: none;
}
footer ul > * {
    margin-top: 12px;
}
footer a {
    text-decoration: none;
    color: var(--text);
}
footer a {
    color: var(--primary-contrast);
}
footer a:hover {
    text-decoration: underline;
}
footer {
    color: var(--primary-contrast);
}
footer p {
    color: var(--primary-contrast);
    max-width: 400px;
}
footer > article {
    max-width: 90vw;
    width: 1400px;
    margin: auto;
    display: grid;
    row-gap: 32px;
    column-gap: 64px;
    grid-template-columns: 1fr 1fr;
    padding: 64px 0;
}
footer table td, footer table th {
    text-align: left;
}
footer table td {
    padding-left: 16px;
    padding-bottom: 8px;
}
footer .subfooter {
    width: 100%;
    padding: 8px 12px;
    font-size: 0.875rem;
    background: #615783;
    color: #c1c1d0;
    text-align: center;
}
@media screen and (max-width: 560px) {
    footer > article {
        grid-template-columns: 1fr;
    }
}
/* full screen banner && banner */
@keyframes header-keyframes {
    0% {
        scale: 0.8;
        opacity: 0;
    }
    50% {
        scale: 1.2;
    }
    100% {
        scale: 1;
        opacity: 1;
    }
}
[data-type="banner"],
[data-type="full-screen-banner"] {
    position: relative;
    min-height: 100dvh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url('/assets/background-large.jpg');
    display: grid;
    align-content: center;
    justify-content: center;

    color: var(--primary-contrast);
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}
[data-type="banner"] {
    min-height: unset;
    max-height: 100dvh;
    height: 500px;
    color: var(--primary-contrast);
}
@media screen and (min-width: 1900px) {
    [data-type="banner"],
    [data-type="full-screen-banner"] {
        background-image: url('/assets/background.jpg');
    }
}
[data-type="full-screen-banner"] > article {
    animation-name: header-keyframes;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
}
[data-type="banner"],
[data-type="full-screen-banner"] > article > * {
    text-shadow: 2px 2px 2px #000, 2px 2px #000;
}
[data-type="banner"] h1 {
    font-size: min(4rem, 15vw);
}
[data-type="full-screen-banner"] > article > h1 {
    font-size: 10rem;
    line-height: 1em;
}
[data-type="full-screen-banner"] > article > span {
    font-size: 2rem;
    padding: 0;
    margin: 0;
}
/* on-scroll-visible */
@keyframes on-scroll-keyframes {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
[data-on-scroll="false"] {
    opacity: 0;
}
[data-on-scroll="true"] {
    animation-fill-mode: forwards;
    animation-name: on-scroll-keyframes;
    animation-duration: .5s;
    animation-timing-function: ease-in;
}
/* gallery */

[data-type=gallery] {
    position: relative;
}
[data-type=gallery] > div.content {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    scroll-snap-type: x mandatory;
}
[data-type=gallery] > div.content img {
    object-fit: contain;
    border-radius: 8px;
}
[data-type=photo-left],
[data-type=photo-right],
[data-type=gallery-left],
[data-type=gallery-right] {
    background: #f7f7f7aa;
    border-radius: 100%;
    cursor: pointer;
}
[data-type=photo-left],
[data-type=gallery-left] {
    position: absolute;
    padding: 6px 4px 4px 12px;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
}
[data-type=photo-right],
[data-type=gallery-right] {
    position: absolute;
    padding: 6px 8px 4px 8px;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
}

/* random stuff */
.clear-links a {
    text-decoration: none;
}
.clear-links a:hover {
    text-decoration: none;
}