:root {
    /* Background colors */
    --text: #470b1c;
    --body: #f2efe9;
    --light: #fbfbf9;

    --accent: #d02550;
    --accent-hover: #ff5a83;
    --accent-active: #951233;
    --accent-dark: #68152c;

    /* Accent colors */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-spacing: 0;
    font-family: "Roboto", sans-serif;
    font-style: normal;
}

.wordmark {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--body);
    color: var(--text);
}

img {
    display: block;
}

video {
    display: block;
}

p {
    font-size: clamp(1rem, 2.5vw, 1.325rem);
}

i {
    font-style: italic;
}

b {
    font-weight: bold;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--accent);

    &:hover {
        color: var(--accent-hover);
    }

    &:active {
        color: var(--accent-active);
    }
}

h1 {
    font-size: clamp(2.25rem, 7vw, 5.5rem);
    margin: 0 16px;

    /* color: var(--accent); */
    @supports (background-clip:text) or (-webkit-background-clip:text) {
        color: transparent;
        background-clip: text;
        -webkit-background-clip: text;
        background-image: linear-gradient(50deg, rgba(250, 181, 52, 1) 0%, rgba(245, 121, 59, 1) 20%, rgba(240, 55, 101, 1) 50%, rgba(207, 74, 240, 1) 80%, rgba(144, 72, 232, 1) 100%);
        ;
        background-size: cover;
        background-position: center;
    }
}

h2 {
    font-size: clamp(1.25rem, 4vw, 2.75rem);
    margin: 0 12px;
    color: var(--light);
}

h3 {
    font-size: clamp(1rem, 2.5vw, 1.75rem);
}

li {
    list-style: none;
}

.arrow {
    transform: translateY(-1px);
    font-size: clamp(0.75rem, 2.5vw, 1.125rem);
}

.arrow::before {
    content: "\25B2";
}

.bullet-list {
    padding-left: 24px !important;

    & li {
        list-style-type: disc;
        margin-block: 4px;
    }
}

.bullet-sublist {
    padding-left: 12px;

    & li {
        list-style-type: circle;
        font-size: 1.125em;
        margin-block: 2px;
    }
}

button {
    color: currentColor;
    border: none;
    cursor: pointer;
}

a.anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
    height: 0;
    width: 0;
}

/* START - Scroll to top button */

#scroll-top {
    --set-offset: 20px;
    --set-height: 60px;
    position: fixed;
    bottom: calc(var(--set-height) * -1 - var(--set-offset));
    right: 30px;
    z-index: 5;
    border: none;
    outline: none;

    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--light);
    background: #fcc66f;
    background: linear-gradient(50deg, rgba(250, 181, 52, 1) 0%, rgba(245, 121, 59, 1) 20%, rgba(240, 55, 101, 1) 50%, rgba(207, 74, 240, 1) 80%, rgba(144, 72, 232, 1) 100%);
    ;
    cursor: pointer;
    height: var(--set-height);
    padding: 0px calc(var(--set-height) / 3);
    border-radius: calc(var(--set-height) / 2);
    scale: 1;
    transition:
        scale 0.25s ease,
        bottom 0.125s ease;

    .content {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: rgba(255, 255, 255, .25);
        background: linear-gradient(165deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 40%);
        opacity: 0;
        background-blend-mode: multiply;
        transition: opacity 0.125s linear;
    }
}

#scroll-top:hover {
    scale: 1.0625;

    .bg {
        opacity: 1;
    }
}

#scroll-top:active {
    scale: 0.925;
}

@media screen and (prefers-reduced-motion: no-preference) {
    #scroll-top:hover .content .arrow.up {
        animation: 1s ease-in-out 0s infinite forwards bounce;
    }

    @keyframes bounce {

        0%,
        100% {
            transform: translateY(-1px);
        }

        50% {
            transform: translateY(-6px);
        }
    }
}

.show-mobile {
    display: none;
}

/* END - Scroll to top button */

header {
    z-index: 10;
    display: flex;
    position: fixed;
    width: 100%;
    height: 80px;
    padding: 20px 28px;
    background-color: var(--light);
    font-size: clamp(1.25rem, 3vw, 2rem);
}

#header-bg {
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: -20px -28px;
    background-color: var(--light);
    box-shadow: 0px -25px 50px rgba(0, 0, 0, 0.5);
    transition: opacity 0.25s linear;
}

.header-content {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

#header-logo {
    font-weight: bold;
    transition: transform 0.25s ease;
}

nav {
    display: flex;
    justify-content: flex-end;
    flex-flow: row wrap;
    gap: clamp(12px, 2.5vw, 24px);
    text-align: center;
    background: #fcc66f;

    @supports (background-clip:text) or (-webkit-background-clip:text) {
        color: transparent;
        background-clip: text;
        -webkit-background-clip: text;
        background-image: linear-gradient(50deg, rgba(247, 174, 72, 1) 0%, rgba(242, 110, 44, 1) 20%, rgba(240, 70, 112, 1) 50%, rgba(240, 65, 199, 1) 80%, rgba(175, 110, 255, 1) 100%);
        /* background-image: linear-gradient(50deg, rgba(252, 198, 111, 1) 0%, rgba(255, 163, 117, 1) 20%, rgba(255, 135, 165, 1) 49%, rgba(224, 133, 255, 1) 79%, rgba(163, 135, 255, 1) 100%); */
        background-size: cover;
        background-position: center;
    }
}

.nav-link {
    background: none;
    font-size: inherit;
    transition: color 0.125s linear;

    &:hover {
        color: rgba(255, 255, 255, 0.33);
    }

    &:active {
        color: rgba(169, 2, 99, 0.25);
    }
}

#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.125) 50%, rgba(0, 0, 0, 0.5) 100%);
    border: solid 0px var(--light);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 80vh;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    /* gap: 0.5vh; */
    height: 100%;
    position: absolute;
}

.hero-vid {
    z-index: -1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--light);
}

.hero-vid video {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-cta {
    --set-height: 60px;
    overflow: hidden;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--light);
    background: #fcc66f;
    background: linear-gradient(50deg, rgba(250, 181, 52, 1) 0%, rgba(245, 121, 59, 1) 20%, rgba(240, 55, 101, 1) 50%, rgba(207, 74, 240, 1) 80%, rgba(144, 72, 232, 1) 100%);
    height: var(--set-height);
    padding: 0px calc(var(--set-height) / 3);
    border-radius: calc(var(--set-height) / 2);
    margin-bottom: 20px;
    position: absolute;
    bottom: 0;
    scale: 1;
    transition: scale 0.25s ease;

    .bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: rgba(255, 255, 255, .25);
        background: linear-gradient(165deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 40%);
        opacity: 0;
        background-blend-mode: multiply;
        transition: opacity 0.25s linear;
    }

}

/* @media screen and (prefers-reduced-motion: no-preference) {
    .hero-cta::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        transform: translate(-100%);
        width: 200%;
        height: 200%;
        background: linear-gradient(125deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 55%);
        background: radial-gradient(circle at top left, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 52.5%);

        animation: shine 10s linear 3s infinite forwards;
    }

    @keyframes shine {
        0% {
            transform: translateX(-100%);
        }

        20%,
        100% {
            transform: translateX(100%);
        }
    }
} */

.hero-cta:hover {
    scale: 1.0625;

    .bg {
        opacity: 1;
    }
}

.hero-cta:active {
    scale: 0.925;
}

main {
    margin-left: auto;
    margin-right: auto;
    min-height: 100vh;
    max-width: 1480px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0px;
}

.breadcrumbs {
    padding-left: 12px;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.breadcrumbs::after {
    content: " / ";
}

section {
    background-color: var(--light);
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 16px;
}

.section-title {

    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: bold;
    color: var(--accent);
}

.container-grid {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.container-grid.first {
    grid-template-areas:
        "b a a"
        "c a a"
        "d d e"
        "d d f";
}

.container-grid.second {
    grid-template-areas:
        "b a a"
        "c a a";
}

.grid-item {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
}

.overlay-content {
    width: 100%;
    position: absolute;
    padding: 12px;
    bottom: -48px;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: white;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    transition: bottom 0.25s ease;
}

.grid-item:hover .overlay-content {
    bottom: 0px;
}

.clickable {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.item {
    background-color: var(--body);
    height: 100%;
    min-width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item video {
    min-width: calc(100% + 4px);
    min-height: calc(100% + 4px);
    max-width: 100%;
    object-fit: cover;
}

.container-col {
    display: grid;
    grid-template-columns: 3fr 2fr;
    width: 100%;
    gap: 16px;
}

.col-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.col-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.col-item video {
    width: 100%;
}

.caption-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.grid3to2 {
    grid-template-columns: 3fr 2fr;
}

.grid2to3 {
    grid-template-columns: 2fr 3fr;
}

.caption {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.offset-left {
    margin-left: 20%;
}

.offset-right {
    margin-right: 20%;
}

#zoom-area {
    display: none;
    cursor: zoom-out;
    z-index: 7;
}

#zoom-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

#zoom {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    max-width: 1480px;
    padding-left: 3vw;
    padding-right: 3vw;
    padding-top: 0px;
}

#zoom::after {
    content: "Click anywhere to close";
    font-size: clamp(1rem, 2.325vw, 1.25rem);
    position: absolute;
    bottom: -40px;
    color: var(--light);
}

.zoom-img {
    width: 100%;
    max-height: 90vh;
    max-width: 95vw;
    ;
    height: auto;
    display: none;
}

@keyframes borderWiden40 {
    0% {
        border-width: 0px;
    }

    100% {
        border-width: 40px;
    }
}

@keyframes borderWiden80 {
    0% {
        border-width: 0px;
    }

    100% {
        border-width: 80px;
    }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp-short {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes fadeInUp-long {
    0% {
        transform: translateY(200px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes fadeInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}

.anim-fadeIn {
    opacity: 0;
    animation: fadeIn 1s linear forwards;
}

.anim-fadeInUp-s {
    opacity: 0;
    animation: fadeInUp-short 1s ease-in-out forwards;
}

.anim-fadeInUp {
    opacity: 0;
    animation: fadeInUp 0.5s ease-in-out forwards;
}

.anim-fadeInUp-l {
    opacity: 0;
    animation: fadeInUp-long 1s ease-in-out forwards;
}

.anim-fadeInRight {
    opacity: 0;
    animation: fadeInRight 1s ease-in-out forwards;
}

.delay1 {
    animation-delay: 0.2s;
}

.delay2 {
    animation-delay: 0.4s;
}

@media screen and (orientation: landscape) and (max-height: 768px) {
    #zoom-area {
        z-index: 20;
        max-height: 80vh;
        justify-content: center;
        align-items: center;
    }

    #zoom {
        max-width: 1480px;
        padding: 0 !important;
    }

    #zoom::after {
        content: "Tap anywhere to close";
    }
}

@media only screen and (max-width: 600px) {
    .container-grid {
        display: flex;
        flex-direction: column;
    }

    .hide-mobile {
        display: none;
    }

    .show-mobile {
        display: block;
    }
}

@media only screen and (max-width: 768px) {
    header {
        padding: 12px;
        height: auto;
    }

    #header-bg {
        margin: -12px;
    }

    #hero {
        height: 50vh;
        animation: 0.5s ease 0.25s forwards borderWiden40;
    }

    .hero-cta,
    #scroll-top {
        --set-height: 48px;
    }

    #zoom::after {
        content: "Tap anywhere to close";
    }
}

@media only screen and (max-width: 992px) {
    .container-grid {
        grid-template-columns: auto auto;
    }

    .container-grid.first {
        grid-template-areas:
            "a b"
            "c d"
            "e f";
    }

    .container-grid.second {
        grid-template-areas:
            "a b"
            "c .";
    }

    .container-col {
        display: flex;
        flex-direction: column;
    }

    .col-left {
        width: auto;
    }

    .col-right {
        width: auto;
    }

    .offset-left {
        margin-left: auto;
    }

    .offset-right {
        margin-right: auto;
    }

    .under {
        order: 1;
    }
}

@media only screen and (max-width: 1200px) {

    .caption-container {
        grid-template-columns: 1fr;
    }

}

@media only screen and (min-width: 768px) {
    #hero {
        animation: 0.5s ease 0.25s forwards borderWiden80;
    }
}