:root{
    --blue: #0098D7;
    --blue-darker: color-mix(in srgb,var(--blue),#000 10%);
    --red: #d32a3f;
    --red-darker: color-mix(in srgb,var(--red),#000 10%);
    --white: #fff;
}

body {
    background-color: #f1f1f1;
    font-family: 'Exo 2';
}
h2 {
    color: #231F20;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.875rem;
    margin-bottom: 1rem;
}
header {
    height: 60vh;
    min-height: 40rem;
    display: grid;
    place-items: center;
    background: url('/header-bg-sm.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: -10rem;
    img {
        margin-top: -10rem;
        width: 100%;
        max-width: 25rem;
        margin-bottom: 4.75rem;
    }
    p {
        color: var(--white);
        font-size: 1.25rem;
        font-weight: 400;
        line-height: 1.8125;
    }
    h1 {
        color: var(--white);
    }
}
.video-content {
    margin-bottom: 6rem;
    .container   {
        background: white;
        border-radius: .25rem;
        padding: 5.5rem 3rem;
    }
    img {
        margin-bottom: 2rem;
    }
    .btn-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 4rem;
        margin-bottom: -7rem;
    }
}
.btn {
    background-color:  var(--blue);
    color: var(--white);
    border-radius: 100px;
    text-align: center;
    padding: .75rem 1.5rem;
    svg {
        width: 1rem;
        height: 1rem;
        margin-left: 2.5rem;
        fill: var(--white);
        transition: transform .3s;
    }
    &:hover {
        background-color: var(--blue-darker);
        color: var(--white);
        svg {
            transform: translateX(.4rem);
        }
    }
    &.red {
        background-color: var(--red);
        &:hover {
            background-color: var(--red-darker);
        }
    }
}
footer {
    text-align: center;
    background: url('/header-bg-sm.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    img {
        padding: 3rem 0;
        width: 100%;
        max-width: 15.6rem;
    }
    nav {
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding: 1rem .25rem;
        a {
            color: white;
            text-decoration: none;
            transition: .3s ease;
            &:hover {
                opacity: 0.7;
            }

        }
    }
}

.iframe-container {
    margin: 0 auto;
    max-width:100%;
    width:500px;
    height:300px;
}
@media only screen and (max-width: 992px) {
    header {
        height: inherit;
        min-height: 0;
        padding: 3rem 0;
        margin-bottom: 0rem;
        img {
            margin-top: 0;
            width: 80%;
            max-width: 15rem;
            margin-bottom: 3rem;
        }
        p {
            font-size: 1rem;
        }
    }
    
    .video-content {
        margin-bottom: 4rem;
        .container   {
            padding: 2.5rem 2rem;
        }
        .btn-wrapper {
            margin-top: 2rem;
            margin-bottom: -4rem;
        }
    }
    .iframe-container {
        width: 100%;
        height: 225px;
        margin-bottom: 2rem;
    }
}
