/*------------------------------------*\
    
    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)

\*------------------------------------*/

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

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

.image-text__img__wrap {
    position: relative;
    height: 200px;
}

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

.video-bttn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.video-bttn svg {
    width: 84px;
    height: auto;
    transition: all .3s;
}

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

    .video-bttn svg {
        width: 114px;
    }
}

@media (min-width: 1200px) {
    .flex-opposite {
        flex-direction: row-reverse;
    }
        
    .image-text__img__wrap {
        height: auto;
        max-width: 540px;
    }

    .image-text--right .image-text__img__wrap {
        margin-left: auto;
    }

    .image-text__text {
        padding-top: 0;
    }

    .video-bttn:hover {
        background: none;
    }

    .video-bttn:hover svg {
        transform: scale(1.1);
    }

}