/* Colors taken from video in the header */

:root {
    --blue-dark: #142a43;
    --blue-deep: #203d5c;
    --blue-medium: #477ca8;
    --blue-light: #dceaf4;
    --blue-pale: #f3f8fc;
}

body {
    margin: 0;
    background: var(--blue-pale);
    color: var(--blue-dark);
    font-family:Arial, Helvetica, sans-serif;
}

audio {
    width: 100%;
}

.youtube-video {
    aspect-ratio: 16 / 9;
}

.youtube-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-header {
    position: relative;
    height: 55vh;
    min-height: 300px;
    max-height: 560px;
    overflow: hidden;
    background: var(--blue-deep);
}

.video-header video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-text {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 1rem;
    background: rgba(17, 38, 62, 0.5);
    color: white;
    text-align: center;
}

.header-text h1 {
    margin: 0 0 0.5rem;
    font-size: 4rem;
}

.header-text p {
    margin: 0;
    font-size: 1.1rem;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-left: 5px solid var(--blue-medium);
    border-radius: 0.5rem;
    background: var(--blue-light);
}

h2 {
    margin-top: 0;
    color: var(--blue-deep);
}

footer {
    padding: 1.5rem;
    background: var(--blue-dark);
    color: white;
    text-align: center;
}

footer a {
    color: var(--blue-light);
}