@media only screen and (min-width: 320px) {
    /*Videos + images container*/
    .video-image-container, .editor-styles-wrapper .video-image-container{
        position: relative;
        min-height:300px;
    }
    .video-image-container figure{
        position: absolute;
        width:110px;
        /* Hidden by default, animated visible by JS */
        opacity: 0;
        transform: translateY(20px);
    }
    .video-image-container figure.figure-animate-visible{
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }
    .video-image-container figure:nth-child(1){
        top: -40px;
        left: 0;
    }
    .video-image-container figure:nth-child(2){
        right: 0px;
        top:-60px;
    }
    .video-image-container figure:nth-child(3){
        top:20px;
        width:210px;
        left:20%;
    }
    .video-image-container figure:nth-child(4){
        bottom:40px;
        left:-20px;
    }
    .video-image-container figure:nth-child(5){
        bottom:0px;
        right:0px;
        width:130px;
    }
    /*Admin styles - figures visible in editor*/
    .editor-styles-wrapper .video-image-container{
        display: flex;
        flex-wrap: wrap;
    }
    .editor-styles-wrapper .video-image-container figure{
        position: relative;
        opacity: 1;
        transform: none;
        width:250px;
    }
}
@media only screen and (min-width: 520px) {
    /*Video image container*/
    .video-image-container figure{
        width:140px;

    }
    .video-image-container figure:nth-child(3){
        width:50%;
    }
}
@media only screen and (min-width: 768px) {
    /*Videos + images container*/
    .video-image-container figure{
        width:110px;
    }
    .video-image-container figure:nth-child(3){
        
    }
    .video-image-container figure:nth-child(5){
        width:160px;
    }
}
@media only screen and (min-width: 990px) {
    /*Videos + images container*/
    .video-image-container figure{
        width:120px;
    }
    .video-image-container figure:nth-child(1){
        top:-60px;
        left:15%;
    }
    .video-image-container figure:nth-child(2){
        top:-40px;
        right:20px;
    }
    .video-image-container figure:nth-child(3){
        width:300px;
        position:relative;
        margin:0 auto;
        left:auto;
        top:auto;
    }
    .video-image-container figure:nth-child(4){
        bottom:-100px;
        left:15%;
    }
    .video-image-container figure:nth-child(5){
        width:160px;
    }
}
@media only screen and (min-width: 1280px) {
    .video-image-container figure:nth-child(1){
        left:0;
    }
    .video-image-container figure:nth-child(2){
        right:15%
    }
    .video-image-container figure:nth-child(3){
        width:370px;
        margin-left:10%;
    }
    .video-image-container figure:nth-child(4){
        left:7%;
        bottom:-80px;
        width:150px;
    }
    .video-image-container figure:nth-child(5){
        width:180px;
        right:10%;
        bottom:-30px;
    }
}
/* Reduced motion support for video-image-container */
@media (prefers-reduced-motion: reduce) {
    .video-image-container figure {
        opacity: 1;
        transform: none;
    }
    .video-image-container figure.figure-animate-visible {
        transition: none;
    }
}