/* #Site Styles
================================================== */
body, html, #form1 {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
}

body {
    background: #f0f0eb;
}

var {
    font-style: normal;
}

/* For iPhone X Notch
padding-left: env(safe-area-inset-left);
*/

/* SECTION HEADER */
.header-wrap {
    position: sticky;
    z-index: 500;
    width: 100%;
    box-sizing: border-box;
    transition: all ease 0.3s;
    top: 0;
    left: 0;
    opacity: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.header-wrap .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: all ease 0.3s;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 800px) {
    .header-wrap .container {
        height: 120px;
    }
}

.stuck .header-wrap .container {
    height: 80px;
}

body.stuck .header-wrap {
    background: rgba(240, 240, 235, 0.75);
    backdrop-filter: blur(8px);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 0;
}

#logo {
    transition: width ease 0.3s;
    display: flex;
}

#logo a {
    display: block;
    position: relative;
    z-index: 100;
    cursor: pointer;
    width: 100%;
    max-width: 160px;
}

#logo img {
    -webkit-filter: brightness(0);
    filter: brightness(0);
}

.stuck #logo a {
    max-width: 50px;
}

.stuck #logo img {
    -webkit-filter: brightness(0);
    filter: brightness(0);
}

#logo img {
    width: 100%;
}

img.logo-white {
    display: block;
}

img.logo-dark, .stuck img.logo-white {
    display: none;
}

.stuck img.logo-dark {
    display: block;
}

.hero-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: center;
    background: #000;
    position: relative;
    z-index: 4;
    padding-bottom: 120px 0;
    margin-top: -120px;
}

.hero-image {
    width: 100%;
    position: relative;
}

.hero-image {
    width: 100%;
    position: relative;
}

.hero-wrap .container {
    position: absolute;
}

.hero-wrap .container .lead-in-wrap {
    text-align: center;
    text-wrap: pretty;
    padding: 120px 0;
    padding-bottom: 0;
    color: #fff;
    margin: auto;
}

.hero-wrap .container .lead-in {
    margin: auto;
}

.home-slider .gal-image-wrap {
    width: 100%;
    height: 100%;
}

.hero-wrap img {
    display: block;
    height: 70dvh;
    min-height: 700px;
    width: 100%;
    object-fit: cover !important;
    opacity: 0.6;
}

.hero-wrap .tns-controls button {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    height: 100%;
    color: #ccc;
    font-size: 4rem;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    z-index: 1;
    background: none;
}

.hero-wrap .tns-controls button:hover {
    opacity: 0.5;
}

.hero-wrap .tns-controls button:nth-of-type(1) {
    left: 2rem;
}

.hero-wrap .tns-controls button:nth-of-type(2) {
    right: 2rem;
}

/* SECTION CONTENT */
.content-wrap {
    position: relative;
    padding: 6rem 0;
    min-height: 500px;
}

.credits {
    background: #f0f0eb;
    padding: 4rem 0;
    text-align: center;
    color: #2d3912;
}

.credits a {
    color: #2d3912;
    text-decoration: none;
}

/* Notification */
#notification {
    box-sizing: border-box;
    position: relative;
    text-align: center;
    color: #151515;
    font-size: 1.5rem;
    line-height: 1;
    padding: 1rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    background: #eee;
    z-index: 600;
}

body.hide-notification #notification {
    display: none;
}

#notification a {
    color: #151515;
    text-decoration: none;
}

#notification p {
    margin: 0 auto;
    text-align: center;
}

#notification .close-button {
    display: block;
    font-weight: 700;
    cursor: pointer;
    font-size: 2rem;
    min-width: 20px;
    height: 20px;
    text-align: center;
    white-space: normal;
    background: #000;
    color: #fff;
    border-radius: 100px;
    box-sizing: border-box;
}

#contactDialog {
    margin: auto;
    background-color: white;
    height: fit-content;
    max-height: 90vh;
    width: 90vw;
    max-width: 48rem;
    overscroll-behavior: none;
    scrollbar-gutter: stable;
    /* "scrollbar" utility — keeps layout from shifting */
}

#contactDialog h5 {
    padding-bottom: 2rem;
}

/* Backdrop (for example, a dialog element or overlay) */
#contactDialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.close-modal {
    display: flex;
    line-height: 1;
    font-family: sans-serif;
    align-content: center;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 900;
    opacity: 1;
    width: 30px;
    height: 30px;
    color: #2d3912;
    font-size: 2rem;
    background: #f0f0eb;
    transition: opacity ease 0.3s;
    cursor: pointer;
    border-radius: 10rem;
}
