:root {
    --dark-blue: hsl(196.71,57.66%,26.86%);
    --moderate-blue: hsl(190.43,92%,29.41%);
    --light-blue: hsl(190, 50%, 44%);
}

body {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    color: var(--dark-blue);
    overflow-wrap: break-word;
    word-break: break-word;
}

body h2 {
    color: var(--moderate-blue);
}

h2 {
    font-size: 32px;
    margin: 0;
    margin-bottom: 8px;
    width: 100%;
}

h1 {
    margin: 0;
}

.banner {
    width: 100%;
    display: grid;
    grid-template: 1fr / 1fr;
    place-items: center;
    background-color: var(--dark-blue);
}

.banner > * {
  grid-column: 1 / 1;
  grid-row: 1 / 1;
}

.banner img {
    object-fit: cover;
    object-position: 50.9024252679075% 100%;
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
}

.banner .overlay {
    opacity: 0.49;
    background-color: var(--dark-blue);
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    max-width: 100%;
    max-height: 100%;
}

.banner img, .banner .overlay {
    height: 500px;
    max-height: 66vh;
}

.banner h1 {
    z-index: 1;
    text-align: center;
    color: white;
    font-size: 66px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    white-space: pre-wrap;
    width: 90vw;
}

.aside-img {
    width: 490px;
    max-width: 80vw;
}

.vertical-spacer {
    height: 24px;
}

.wrap {
    flex-wrap: wrap;
}

.gap {
    gap: 8px;
}

.row {
    display: flex;
    flex-direction: row;
}

.button {
    background-color: var(--moderate-blue);
    padding: 20px;
    border-radius: 300px;
    color: white;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    text-decoration: none;
    font-weight: bold;
    transition-duration: 0.1s;
    transition-property: background-color, color;
}

.button:hover {
    background-color: var(--light-blue);
}

.button.clear {
    background-color: white;
    border: 1px solid var(--moderate-blue);
    color: var(--moderate-blue);
}

.button.clear:hover {
    background-color: var(--moderate-blue);
    color: white;
}

.row.spread {
    justify-content: space-around;
}

section {
    margin: 32px;
}

.center {
    text-align: center;
}

.row.center {
    align-items: center;
    justify-content: center;
}

.split-content {
    justify-content: center;
}

.split-content > div {
    margin: 20px;
}

.calendar iframe {
    width: 100%;
    height: 80vh;
}

.paragraph {
    max-width: 40em;
}

.button-container {
    margin-left: 8px;
    margin-right: 8px;
}

.paragraphs {
    max-width: 60em;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 950px) {
    .split-content {
        flex-direction: column-reverse;
    }
    .button-container {
        flex-direction: column;
    }
    .button-container .button {
        width: 100%;
    }
    .aside-img {
        width: 280px;
    }
}

@media (max-width: 450px) {
    #newsletter-button {
        width: 100%;
    }
    .button {
        padding: 16px;
    }
    .banner h1 {
        font-size: 52px;
    }
}

@media (max-width: 400px) {
    .banner h1 {
        font-size: 40px;
    }
    section, .split-content > div {
        margin-left: 4px;
        margin-right: 4px;
    }
}
