:root {
    --light-blue-text: #333652;
    --yankees-blue: #141836;
    --background-tint: #f2f6ff;
    --rich-purple: #394d96;
    --faint-blue: #dadfed;
    --darker-blue: #0a0d25;
    --dark-purple: #202a4f;
    --gold: #ffd875;
    --mint-cream: #f2faf7;
    --space-cadet: #242f58;
    --lavender-2: #d3deff;
    --lavender: #dfe8ff;
    --blue: #6955ff;
    --mint: #97fbcb;
    --bright-orange: #ff9634;
    --ice-green: #8efff2;
    --light-dimmed-text: #878aa5;
    --midnight-blue: #2d335d;
    --light-space-cadet: rgba(109, 122, 170, .54);
    --new-gold: #f5d67a;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-family: sans-serif;
    height: 100%;
}

body {
    color: var(--light-blue-text);
    letter-spacing: -.1px;
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.65em;
    min-height: 100%;
    margin: 0;
}

h2 {
    color: var(--yankees-blue);
    letter-spacing: -.5px;
    margin-top: 0;
    margin-bottom: 0;
    font-family: Manrope, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5em;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

.section {
    background-image: none;
    padding-left: 20px;
    padding-right: 20px;
}

.section.blue-gradient {
    background-image: url("../img/gradient.webp"), linear-gradient(to top, var(--yankees-blue), #323f6f);
    background-position: 50% 100%, 0 0;
    background-repeat: no-repeat, repeat;
    background-size: auto 100%, auto;
}

.section .btn-item {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.container.container-title {
    padding-top: 30px;
    padding-bottom: 30px;
}

.container-title .container-column {
    grid-column-gap: 48px;
    grid-row-gap: 32px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}

.container-title .container-text {
    text-align: center;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    grid-area: 1 / 3 / 2 / 7;
}

.container-title .container-text h2 {
    font-size: 40px;
}

.container-video .grid-video {
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}

.container-video .content-box {
    width: 100%;
    color: var(--light-blue-text);
    background-color: #fff;
    border-radius: 5px;
    flex-direction: column;
    display: flex;
    box-shadow: 0 0 0 1px rgba(0, 13, 121, .13), 3px 3px 10px 3px rgba(0, 14, 124, .06);
}

.container-video .video-box:before, .container-video .video-box:after {
    content: " ";
    grid-area: 1 / 1 / 2 / 2;
    display: table;
}

.container-video .video-box:after {
    clear: both;
}

.container-video .video-text {
    color: var(--yankees-blue);
    border-radius: 0 0 5px 5px;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    align-items: stretch;
    padding: 23px 20px;
    display: inline-block;
}

.video-box .video-padding {
    padding: 56.25% 0 0 0;
    position: relative;
}

.video-box .video-wrapper {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.video-box .video-wrapper .video-img {
    width: 100%;
    height: 100%;
}

.video-box .video-wrapper .video-img:hover {
    cursor: pointer;
}

.video-text .video-title {
    font-weight: 700;
    font-size: 15px;
}

.video-text .video-instagram {
    float: right;
    margin-top: -12px;
    width: 45px;
    margin-bottom: -9px;
}

#video-popup {
    display: none;
    z-index: 500;
    background: #fff;
    position: fixed;
    padding: 30px 0 10px 0;
    top: 9%;
    left: 30%;
    right: 30%;
    border-radius: 5px;
    max-height: 100%;
    overflow-y: auto;
}

#video-popup .close-form {
    background: url(../img/close.svg) center no-repeat;
    position: absolute;
    right: 13px;
    width: 12px;
    height: 12px;
    background-size: contain;
    top: 8px;
    opacity: .4;
    transition: .3s
}

#video-popup .close-form:hover {
    opacity: 1
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0,0,0,0.7);
    transition: opacity .5s cubic-bezier(0.19,1,0.22,1), visibility 0 cubic-bezier(0.19,1,0.22,1) .5s;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
    transition: opacity .25s ease, visibility 0 ease;
}

@media screen and (max-width: 991px) {

    .container-title .container-column {
        grid-column-gap: 32px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .container-title .container-text {
        grid-area: span 1 / span 4 / span 1 / span 4;
    }

    .container-video .grid-video {
        grid-template-columns: 1fr;
    }

    #video-popup {
        top: 5%;
        left: 12%;
        right: 12%;
    }

}

@media screen and (max-width: 767px) {

    body {
        font-size: 15px;
    }

    .section.blue-gradient {
        background-position: 0 100%, 0 0;
    }

    .container-title .container-column {
        grid-row-gap: 32px;
        grid-template-columns: 1fr 1fr;
    }

    .container-title .container-text {
        grid-area: span 1 / span 2 / span 1 / span 2;
    }

    .container-title .container-text h2 {
        font-size: 28px;
    }

    #video-popup {
        top: 3%;
        left: 7%;
        right: 7%;
    }

}

@media screen and (max-width: 479px) {

    .section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section .btn-item {
        width: 100%;
    }

    .container-title .container-text h2 {
        font-size: 24px;
    }

}
