/*------------------------------------*\
    
    Contained Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Contained Image + Text' block. 
    If there is any reasons why you would need to style them separately,
    please create a block-specific stylesheet for it (don't forget to register that block-specific stylesheet in acf-start-blocks.php)

\*------------------------------------*/
.image-text {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.image-text .flex-row {
    align-items: center
}

.image-text__img {
    height: 264px;
}

.image-text__img img {
    display: block;
    border-radius: 3px;
}

.image-text__text {
    padding-top: 30px;
    color: #454545;
}

.image-text__img .video-image {
    border-radius: 3px;
}

.image-text__img .video-image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 24, 24, 0.4);
    border-radius: 3px;
}

.video-svg {
    position: absolute;
    right: 0;
    top: 235px;
    width: 353px;
    height: 371px;
}

.image-svg {
    position: absolute;
    left: 0px;
    bottom: 90px;
    width: 547px;
    height: 491px;
}


@media (min-width: 768px) {
    .image-text__img {
        height: 400px;
    }

    .video-svg {
        position: absolute;
        right: 0;
        top: 0;
        width: 547px;
        height: 491px;
    }
}

@media (min-width: 1200px) {
    .image-text__text {
        padding-top: 0;
        padding-left: 95px;
    }

   .flex-opposite .image-text__text {
        padding-top: 0;
        padding-left: 16px;
        padding-right: 95px;
    }

    .image-svg {
        position: absolute;
        left: 0px;
        bottom: 0px;
        width: 547px;
        height: 491px;
    }
}







