header {
    padding-bottom: 50px;
}

section {
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

.main__headline {
    width: 100%;
    color: #FFF;
    text-align: center;
    font-family: 'OpenSans';
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    padding: 0;
    margin-bottom: 50px;
}

.customers-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.customers-card__img {
    width: 456px;
    height: 275px;
    object-fit: cover;
}

.customers-card__info {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    padding-top: 15px;
}

.customers-card__headline {
    color: #FFF;
    font-family: 'OpenSans';
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

.customers-card__text {
    color: #FFF;
    font-family: 'OpenSans';
    opacity: 0.7;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
    padding: 0;
    margin-bottom: auto;
}

@media screen and (max-width: 1195px) {
    .customers-card {
        gap: 50px;
    }

    .customers-card__headline {
        margin-bottom: 5px;
    }
    .customers-card__info {
        padding-top: 5px;
    }
}

@media screen and (max-width: 1030px) {
    .customers-card {
        gap: 30px;
    }
}

@media screen and (max-width: 980px) {
    .span2-1 {
        display: none;
    }
    .customers-card__img {
        width: 350px;
        height: 200px;
    }
}

@media screen and (max-width: 900px) {
    .customers-card__info {
        padding-top: 20px;
    }
    .span2-2 {
        display: none;
    }
}

@media screen and (max-width: 820px) {
    .nav__item a {
        font-size: 16px;
    }

    .main__headline {
        font-size: 24px;
        margin-bottom: 40px;
    }

    header {
        padding-bottom: 40px;
    }

    section {
        padding-bottom: 70px;
    }
    .customers-card__info {
        padding-top: 20px;
    }
    .customers-card__img {
        width: 350px;
        height: 175px;
    }
}

@media screen and (max-width: 810px) {
    .customers-card__text {
        font-size: 14px;
    }

    .customers-card__headline {
        font-size: 20px;
    }
}

@media screen and (max-width: 752px) {
    .customers-card {
        flex-direction: column;
    }

    .customers-card__text {
        margin-bottom: 30px;
    }
    
    header{
        padding-bottom: 30px;
    }
    .main__headline {
        margin-bottom: 30px;
    }

    .customers-card__img {
        width: 100%;
        height: 250px;
    }
    .customers-card__info {
        padding-top: 0px;
    }
}

@media screen and (max-width: 550px) {
    .customers-card__info {
        justify-content: center;
        align-items: center;
    }

    .customers-card__img {
        margin: 0 auto;
    }

    .customers-card__headline {
        text-align: center;
    }

    .customers-card__text {
        text-align: center;
    }

    .main__headline {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 400px) {
    .customers-card__img {
        width: 100%;
        height: 210px;
        object-fit: inherit;
    }

    .span2-2 {
        display: none;
    }

    .span1 {
        display: none;
    }

    .customers-card__headline {
        font-size: 16px;
    }

    .customers-card__text {
        font-size: 14px;
    }

    .main__headline {
        font-size: 20px;
        margin-bottom: 20px;
    }
}