.image-and-text-repeater-section {
    max-width: 1440px;
    margin: auto;
    padding-top: 200px;
}

.image-and-text-repeater-section h2 {
    font-family: 'Montserrat';
    font-size: 42px;
    font-weight: 700;
    color: #1b3b6b;
    text-align: center;
    margin-bottom: 50px;
}

.image-and-text-repeater-section .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.image-and-text-repeater-section .content {
    text-align: center;
}

.image-and-text-repeater-section .content img {
    border: solid 10px #1b3b6b;
    border-radius: 50%;
    padding: 3px;
    margin-bottom: 20px;
}

.image-and-text-repeater-section .content h5 {
    font-family: 'Montserrat';
    font-size: 24px;
    letter-spacing: initial;
}

/* Second */
.image-and-text-repeater-section.second .content img {
    border: unset;
    border-radius: unset;
    padding: unset;
    height: 225px;
    margin-bottom: 50px;
}

.image-and-text-repeater-section.second .content h5 {
    font-weight: 700;
}

@media (max-width: 1440px) {
    .image-and-text-repeater-section {
        max-width: 1300px;
    }

    .image-and-text-repeater-section.second .content img {
        height: 200px;
    }
}

@media (max-width: 1340px) {
    .image-and-text-repeater-section {
        max-width: 1200px;
    }

    .image-and-text-repeater-section h2 {
        font-size: 38px;
    }

    .image-and-text-repeater-section.second .content img {
        height: 100px;
    }
}

@media (max-width: 1279px) {
    .image-and-text-repeater-section {
        max-width: unset;
        padding: 170px 40px 0;
    }

    .image-and-text-repeater-section .content-wrapper {
        column-gap: 20px;
    }
}

@media (max-width: 992px) {
    .image-and-text-repeater-section {
        max-width: 840px;
    }
}

@media (max-width: 840px) {
    .image-and-text-repeater-section .content img {
        height: 170px;
    }

    .image-and-text-repeater-section .content h5 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .image-and-text-repeater-section {
        max-width: unset;
        padding: 100px 20px 0;
    }

    .image-and-text-repeater-section .content-wrapper {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .image-and-text-repeater-section h2 {
        font-size: 32px;
        line-height: 35px;
    }

    .image-and-text-repeater-section .content img {
        height: auto;
    }

    .image-and-text-repeater-section.second .content img {
        margin-bottom: 30px;
    }
}