/* -------------------------- */
/* Mission Video Section */
/* -------------------------- */

.mission-content {
    align-items: center;
}

.mission-content > div:first-child {
    flex: 1;
}

.container-video-home {
    flex: 1;
    width: 100%;
    max-width: 600px; /* Prevent it from getting too large */
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: linear-gradient(
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.6)
        ),
        url(https://www.pathways2resilience.eu/images/context/vid-cont1.webp)
            center/cover;
    border-radius: 20px;
    box-shadow: 0px 4px 26px rgba(0, 0, 0, 0.1);
}

.video-container iframe,
.video-container .consent-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.consent-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.consent-banner p {
    margin-bottom: 20px;
    font-weight: 500;
}

.consent-button {
    background-color: var(--main-color-deepblue);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.15s ease-out;
}

.consent-button:hover {
    background-color: var(--main-color-deepblue-light);
    transform: translateY(-2px);
}

@media screen and (max-width: 900px) {
    .mission-content {
        flex-direction: column;
    }

    .container-video-home {
        margin-top: 40px;
        width: 100%;
        max-width: 100%;
    }

    .video-container {
        width: 100%;
    }
}
