/*------------------------------------*\
    
    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__wrap {
    height: 282px;
    position: relative;
}

.image-text__img__wrap img {
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(219,219,219,0.38);
    border: 1px solid #4E4F4F;
}

.image-text__text__wrap {
    margin-top: 30px;
}

.image-text h2 {
    color: #ED4247;
}

.bg-blue-gradient {
    background: linear-gradient(135deg,  #000000 0%,#000000 16%,#113249 100%);
}

.video-bttn {
    position: absolute;
    border-radius: 10px;
    background: rgba(0,0,0,0.67);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-bttn:hover {
    text-decoration: none;
}

.video-bttn i {
    font-size: 160px;
    text-shadow: 0 0 15px rgb(237, 66, 71) !important;
    margin-bottom: -22px;
    display: block;
    line-height: 1;
    color: #ED4247;
    transition: all 0.3s ease;
}

.video-bttn:hover i {
    color: #fff;
}

.bttn-text {
    font-size: 17px;
    color: #ED4247;
    font-family: 'klavika-web';
    font-weight: 700;
    font-style: italic;
    transition: all 0.3s ease;
}

.image-text-pattern-left,
.image-text-pattern-right {
    position: absolute;
    width: 535px;
    height: 1085px;
    z-index: -1;
    max-width: initial;
}

.image-text-pattern-left {
    top: -346px;
    left: -229px;
}

.image-text-pattern-right {
    bottom: -279px;
    right: -229px;
}

.image-text__bg-black__bottom-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 109px;
    z-index: -1;
    background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
}

@media (min-width: 768px) {
        
    .image-text__img__wrap {
        height: 419px;
        width: 490px;
        margin: 0 auto;
    }


    .video-bttn img {
        width: 119px;
    }

    .bttn-text {
        font-size: 25px;
        margin-top: 10px;
    }

    .image-text-pattern-left,
    .image-text-pattern-right {
        width: 1244px;
        height: 1044px;
    }

    .image-text-pattern-left {
        top: -335px;
        left: -643px;
    }

    .image-text-pattern-right {
        bottom: -269px;
        right: -645px;
    }
}


@media (min-width: 1200px) {

    .flex-opposite {
        flex-direction: row-reverse;
    }
        
    .image-text__img__wrap {
        height: auto;
        width: 100%;
        margin: 0 auto;
    }

    .image-text--left .image-text__text__wrap {
        padding-left: 35px;
    }

    .image-text--right .image-text__text__wrap {
        padding-right: 35px;
    }

    .image-text-pattern-left {
        top: -339px;
        left: -367px;
    }

    .image-text-pattern-right {
        bottom: -226px;
        right: -269px;
    }

    .video-bttn:hover img {
        filter: brightness(0) invert(1);
        border: none;
    }

    .video-bttn:hover .bttn-text {
        color: #fff;
    }
    
}