.video-banner {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;

    .container {
        width: 100%;
        max-width: 960px;
    }

    .video-box {
        background-size: cover;
        background-position: center;
        width: 100%;
        height: 500px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 20px;
        position: relative;
        overflow: hidden;
        border-radius: var(--border-radius-small);
    }

    .btn-play {
        background: transparent;
        font-size: 4rem;
        color: #fff;
    }

    .overlay {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: rgb(0 30 106 / 68%);
        z-index: 1;
    }

    h2, .description, .btn-play {
        position: relative;
        z-index: 2;
    }
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    right: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    z-index: 9991;
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
    height:-moz-fit-content;
    height:fit-content
}

.close {
    color: #ffffff;
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 25px;
    font-weight: bold;
    background: #a60000;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#videoIframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: relative;
    z-index: 1;
    min-height: 500px;
}

#videoModal {
    align-items: center;
    justify-content: center;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@media (max-width: 1199.98px) {
    .video-banner .video-box {
        height: 460px;
    }
}

@media (max-width: 991.98px) {
    .video-banner .video-box {
        height: 420px;
    }
}

@media (max-width: 767.98px) {
    .video-banner .video-box {
        height: 380px;
    }

    .block-description p:first-child {
        margin-top: 0;
    }

    .block-description p:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .video-banner .video-box {
        height: 320px;
    }
}

@media (max-width: 475.98px) {
    .video-banner .video-box {
        height: 300px;
    }
}

