.ak_blocs_3 {
    background-color: black;
    color: white;
}

.ak_blocs_3 .bloc {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.ak_blocs_3 .bloc .img {
    align-self: stretch;
}
.ak_blocs_3 .bloc img {
    /*height: fit-content;*/
    object-fit: cover;
    height: fit-content;
    height: -webkit-fill-available;
    height: fill-available;
}
@media (min-width: 768px) and (max-width: 1000px) {
    .ak_blocs_3 .bloc .img {
      max-height: 420px !important;
    }
}
.ak_blocs_3 h2 {
    font-size: calc(1em + 1.5vw);
    line-height: 1em;
}

.ak_blocs_3 .bloc:nth-child(2n + 1) {
    flex-direction: row-reverse;
}

.ak_blocs_3 .bloc > div {
    width: 50%;
    margin-bottom: -5px;
}

.ak_blocs_3 .bloc .content {
    text-align: center;
    padding: 30px 8%;
}

.ak_blocs_3 .bloc .content .text {
    margin: 50px 0;
}


@media (max-width: 767px) {
    .ak_blocs_3 {
        padding: 30px 0;
    }
    .ak_blocs_3 .bloc {
        flex-direction: column !important;
        padding-bottom: 40px;
    }
    .ak_blocs_3 .bloc img {
        height: auto;
    }
    .ak_blocs_3 .bloc > div {
        width: 100%;
    }
    .ak_blocs_3 .bloc .content {
        padding: 20px;
    }
}
