@font-face {
    font-family: "Playfair Display";
    src: url("/fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf");
}

@font-face {
    font-family: "Merriweather";
    src: url("/fonts/Merriweather/Merriweather-VariableFont_opsz\,wdth\,wght.ttf");
}

:root {
    font-size: 18px; /* affects rem-based scaling site-wide */
}

html {
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}

*,
*::before,
*::after {
    outline-style: none;
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    scroll-behavior: smooth;
    -webkit-app-region: no-drag;
}

*:focus,
*:active {
    outline-style: none;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Merriweather", serif;
    min-height: 100vh;
}

body.modal-open {
    padding-right: 0 !important;
    overflow: hidden;
}

.bg-paper {
    background-color: #eee9dd !important;
}

.panel {
    backdrop-filter: blur(6px);
}

.panel-bg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -5 !important;
}

.bg-fixed {
    background-attachment: fixed;
}

a.btn {
    text-decoration: none !important;
}

a,
.btn-link {
    text-decoration: none;
    font-weight: 600;
}

a:hover,
.btn-link:hover {
    text-decoration: underline;
}

.playfair-display {
    font-family: "Playfair Display", serif;
}

.navbar {
    z-index: 9990;
}

.modal {
    background-color: #00000080;
    z-index: 9995;
}

.page-banner {
    margin-top: 70px;
}

.hero-panel {
    max-width: 800px;
}

.home-cta {
    position: absolute;
    bottom: -20px;
    right: -20px;
}

.no-banner {
    margin-top: 108px !important;
}

@media screen and (max-width: 992px) {
    .hero-panel {
        max-width: 100%;
        width: 100%;
    }

    .home-cta {
        position: relative;
        top: 0;
        left: 0;
    }
}

.page-body {
    padding: 4px;
}

.page-body p,
.page-body li {
    margin-bottom: 1rem;
}

.page-body.blog p:first-of-type::first-letter {
    font-size: 4rem !important;
    line-height: 0.75;
    float: left;
    color: var(--bs-primary);
}

.journal-image {
    max-width: 150px;
    object-fit: contain;
}

.nav-tabs {
    --bs-nav-tabs-border-color: var(--bs-secondary) !important;
}

.nav-tabs .nav-link {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.nav-tabs .nav-link:hover {
    text-decoration: none !important;
    border-bottom-color: var(--bs-primary) !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    background-color: transparent !important;
    border-color: var(--bs-secondary) !important;
    border-bottom-color: #eee9dd !important;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.6s ease-out;
    transition-delay: 0.15s;
}

.scroll-animate.visible {
    opacity: 1;
    transform: none;
}

.activity-featured-image {
    float: left;
    height: 250px;
    margin: 0 1rem 1rem 0;
}

@media screen and (max-width: 540px) {
    .activity-featured-image {
        height: auto;
        width: 100%;
        margin: 0 0 1rem 0;
    }
}
