:root {
    --c-main: #9E8636;
    --c-subtle: #ddd;
}

.hero__bg {
    background-image: url(/assets/images/hero-landscape.jpg)
}

h1.hero__title {
    font-family: 'Dancing Script', cursive;
    font-size: 8em;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 0 0.5EM black;
}

h2.hero__subtitle {
    color: #fff;
    font-size: 2em;
    margin-top: 1rem;
    font-family: 'Merriweather', serif;
    text-shadow: 0 0 0.5EM rgb(0 0 0 / 50%);
}

.dress-code {
    display: block;
    max-height: 400px;
    text-align: left;
}

.dress-code > img {
    object-fit: contain;
    max-height: 400px;
}

h4.section-subtitle {
    font-size: 1.5em;
    text-decoration: underline;
    text-decoration-color: var(--c-main);
    margin: 1em 0;
}

p.static-text {
    line-height: 1.8em;
    text-align: justify;
}

p.static-text:not(:last-child) {
    margin-bottom: 1em;
}

body {
    font-family: 'Merriweather', serif;
}

a.learn-more {
    display: flex;
    width: fit-content;
    margin-left: 0;
    padding-right: 1.5em;
    margin-top: 0.5em;
    color: var(--c-main);
    align-items: center;
    background-image: url(/assets/icons/chevron-right.svg);
    background-size: 1.4em;
    background-repeat: no-repeat;
    background-position: right center;
    font-size: 0.85em;
}

p.static-text.static-text--important {
    font-weight: bold;
    font-style: italic;
}

p.static-text.static-text--important:not(:last-child) {
    margin-bottom: 2em;
}

.stream {
    display: block;
    padding-top: 56.25%;
    position: relative;
}

iframe.stream__frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

html {
    scroll-behavior: smooth;
  }

.content-row.content-row--full-height {
    height: calc(100vh - 4.5em);
    padding: 0;
    display: flex;
    align-items: center;
}

.content-row.content-row--invert {
    background: #222;
    --c-main: #9E8636;
    --c-subtle: #ddd;
    color: #fafafa;
}


a.anchor {
    position: relative;
    top: -4.5em;
}

@media screen and (max-width: 860px) and (orientation: portrait) {

    .hero__bg {
        background-image: url(/assets/images/hero-portrait.jpg);
        background-position: center bottom;
    }

    .hero__content {
        top: 2em;
        left: 2em;
        transform: none;
        width: calc(100% - 4em);
        text-align: center;
    }

}

@media screen and (max-width: 860px) {
    .header {
        display: none;
    }

    .content-row.content-row--full-height {
        height: 100vh;
    }

    h1.hero__title {
        font-size: 15vw;
    }
    
    h2.hero__subtitle {
        font-size: 6vw;
    }
}

.gallery__viewport.updating {
    opacity: 0;
}

.gallery__viewport {
    width: 100%;
    padding-top: 66.66666%;
    position: relative;
    background: #fff;
    opacity: 1;
    transition: opacity 0.2s ease-out;
}

.gallery__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery__nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.gallery__nav > button {
    z-index: 1;
    position: relative;
    appearance: none;
    border: none;
    background: transparent;
    display: block;
    padding: 0;
    height: 100%;
    cursor: pointer;
}

.gallery {
    position: relative;
}

.gallery__nav > button > img {
    width: 4em;
}