:root {
  --primary: #38568E;
  --secondary: #3F9ED5;
  --background: #FFFFFF;
  --text: #222120;
  --highlight: #B3B3B3;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: sans-serif;
    font-size: 1.2rem;
    margin: 0;
}

a {
    color: var(--primary);
    text-decoration: underline;
}

picture {
    display: flex;
}

h1, h2, h3, h4, h5 {
    color: var(--primary);
    font-family: sans-serif;
}
h1 {
    font-size: calc(2em + 1.25vw);
    margin-top: 0;
}
h2 {
    font-size: calc(1.75em + 0.75vw);
}
h3 {
    font-size: calc(1.5em + 0.5vw);
    margin-bottom: 0.5em;
}
h4 {
    font-size: calc(1.2em + 0.25vw);
    margin-bottom: 0.3em;
}
h5 {
    font-size: 1.1em;
    margin-bottom: 0.1em;
}
p, li {
    line-height: 1.5;
}

nav {
    display: none;
}

.activate {
    opacity: 0;
}
.delay-animation {
    animation-play-state: paused;
    opacity: 0;
}

.button {
    background-color: var(--background);
    font-family: serif;
    font-size: 1.2em;
    margin: 0.5em 0.5em;
    overflow: hidden;
    padding: 1em 2em;
    text-align: center;
    width: fit-content;
}

.absolute-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.splash-header {
    background-color: #2E373FCC;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
}
.splash-header h1 {
    color: var(--background);
    font-weight: normal;
    margin-top: 30vh;
    max-width: 800px;
    padding: 0vw 5vw;
    text-align: center;
}
.splash-header h1 img {
    filter: drop-shadow(2px 4px 6px black);
    height: 40vh;
    width: 100%;
}
.splash-header p {
    color: white;
    display: block;
    font-family: Garamond, serif;
    font-size: calc(1em + 0.25vw);
    font-weight: bold;
    margin-bottom: 36px;
    max-width: 800px;
}
.splash-header > p {
    padding: 0vw 5vw;
}
.splash-header .splash-background {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -2;
}
.splash-header .splash-background img {
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}


@media screen and (max-width: 960px) {
    .splash-header h1 {
        font-size: calc(1.5em + 1.25vw);
        margin-top: 3em;
        text-align: center;
    }

    .splash-header p {
        font-size: calc(0.9em + 0.25vw);
        text-align: center;
    }

    .splash-header h1 img {
        height: 20vh;
    }

}
