.video {
    background-color: rgba(113,179,227,1);
    width: 100%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    gap: 6vh;
    overflow: hidden;
    padding: 4vh 4vw;
}

.video-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 4vh;
    width: 20%;
    min-width: 20%;
}

.video-text {
    width: 30%;
}


.video-image {
    overflow: visible;
    width: 20%;
    transform: matrix(1,0,0,1,0,0);
}

.video-caption {
    border-radius: 10px;
    width: 560px;
    height: 315px; 
}

.video-header-text {
    gap: 1vh;
}

@media screen and (max-width: 768px) {
    .video {
        flex-direction: column;
        align-items: center;
        justify-self: content;
        padding: 10vw;
    }

    .video-header {
        flex-direction: row;
        align-items: center;
        gap: 1vh; 
    }

    .video-caption {
        width: 100%;
    }

    .video-text {
        width: 100%;
    }

    .video-header-text {
        gap: 0vh;
    }

    .video-header {
        width: 100%;
        gap: 4vh;
    }
    

    .video-image {
        width: 20%;
    }
}