:root {
  --primary: #1d244a;
  --secondary: #467ff7;
  --background: #ffffff;
  --text: #222222;
  --highlight: #ffda79;
}

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

body {
    background-color: var(--background);
    color: var(--text);
    font-family: Helvetica, Verdana, Arial, 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);
}
h2 {
    font-size: calc(1.75em + 0.75vw);
}
h3 {
    font-size: calc(1.5em + 0.5vw);
}
h4 {
    font-size: calc(1.2em + 0.25vw);
}
h5 {
    font-size: 1.1em;
}
p, li {
    line-height: 1.5;
}

nav {
    display: none;
}

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

.button {
    font-size: 1.2em;
    margin: 0.5em 0.5em;
    padding: 1em 2em;
    text-align: center;
    width: fit-content;
}

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

.splash-section {
    background-color: var(--primary);
    min-height: 80vh;
    overflow: hidden;
    position: relative;
}

.wave-top {
    display: block;
    fill: var(--background);
    height: 266px;
    position: relative;
    width: 200%;
}

.absolute-bg:nth-of-type(2) {
    bottom: 0;
    top: unset;
    transform: rotate(180deg);
}

.wave-bottom {
    display: block;
    fill: var(--background);
    height: 300px;
    position: relative;
    width: 150%;
}

.splash-overlay {
    align-items: center;
    display: flex;
    gap: 5vw;
    justify-content: left;
    margin-top: 10vh;
    padding: 0vw 10vw;
    position: relative;
    z-index: 10;
}

.splash-portrait {
    border: 16px solid #FFFFFF;
    border-radius: 50%;
}
.splash-portrait img {
    border-radius: 50%;
    width: 100%;
}

.splash-text {
    color: var(--background);
    max-width: calc(50vw + 300px);
}
.splash-text h1 {
    color: var(--background);
    margin-top: 0;
}
.splash-text p {
    max-width: 500px;
}
.splash-text .button {
    margin-left: 0;
}

.splash-caudecus {
    aspect-ratio: 1 / 1;
    min-width: 200px;
    position: absolute;
    right: 1%;
    top: 40%;
    transform: translate(0%, -50%);
    width: 20vw;
}

@media screen and (max-width: 960px){
    .splash-overlay {
        flex-direction: column;
        padding: 0vw 5vw 150px 5vw;
    }

    .splash-caudecus {
        bottom: 20%;
        right: 50%;
        top: unset;
        transform: translate(50%, 0%);
        width: 66%;
    }
}