.content-and-image__container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}

.content-and-image__image {
    position: relative;
    width: 100%;
}

.content-and-image__image img {
    position: relative;
    width: 100%;
    height: auto;
}

.content-and-image__image-pop {
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
}

.content-and-image__image-pop:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, 0.1);
}

.content-and-image__image-pop:hover:before {
    background: rgb(0, 0, 0, 0);
}

.content-and-image__image-play {
    width: 95px;
    height: 95px;
    display: flex;
    background: #fff;
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 0 rgba(255,255,255,.31);
    -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
	        animation: heartbeat 1.5s ease-in-out infinite both;
}

.content-and-image__image-pop:hover .content-and-image__image-play {
    -webkit-animation: none;
            animation: none;
}

.content-and-image__image-play svg {
    margin-left: 8px;
}

@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    box-shadow: 0 0 0 50px rgba(90,153,212,0);
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    box-shadow: 0 0 0 50px rgba(90,153,212,0);
  }
}

@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    box-shadow: 0 0 0 50px rgba(90,153,212,0);
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    box-shadow: 0 0 0 50px rgba(90,153,212,0);
  }
}


@media (min-width: 768px) {
    .content-and-image__image {
        height: 400px;
    }

    .content-and-image__image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* .content-and-image__image img {
        object-position: 0 0px;
    } */

}

.content-and-image__content {
    padding: 75px 24px;
}

@media (min-width: 1025px) {
    .content-and-image__container {
        flex-direction: row-reverse;
    }

    .content-and-image__content {
       
        /* padding-right: 210px; */
        max-width: 770px;
        width: 55%;
    }
    .content-and-image--left .content-and-image__content { 
        margin-right: auto;
         padding-left: var(--section-margins);
    }

    .content-and-image--right .content-and-image__content {
        margin-left: auto;
        padding-right: var(--section-margins);
    }

    .content-and-image__image {
        width: 45%;
        height: inherit;
    }
}

/* Modifier */

.content-and-image--right .content-and-image__container {
    flex-direction: column-reverse;
}

@media (min-width: 768px) {
    .content-and-image--right .content-and-image__container {
        flex-direction: row;
    }
}

/* @media (min-width: 768px) {
    .content-and-image--right .content-and-image__content {
        padding: 85px 53px 80px 63px;
    }
} */



@media( min-width : 1600px ) {
    .content-and-image__content {
        padding-left: 80px;
        max-width: 940px;
        width: 65%;
    }

    .content-and-image__image {
        width: 35%;
    }

    
    
}

@media (min-width: 2000px) {
    .content-and-image__image img {
        object-position: top;
    }
    
    /* .content-and-image--right .content-and-image__content {
        padding-left: 24%;
    } */
} 