.team-block{
    padding-bottom: 65px;
}
.team-block .wrapper{
    background-color: var(--white);
    max-width: 98%;
    margin: 0 auto;
    padding-top: 90px;
}

.team-block .subtitle{
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 63px;
    color: var(--orange);
}

.team-block .section-title, .team-block .section-title p{
    font-weight: 500;
    font-size: 45px;
    line-height: 110%;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    text-align: center;
    color: var(--gray);
    margin: 0 auto 45px;
    max-width: 883px;
}

.team-block .info-text{
    max-width: 1012px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.team-block .info-text p{
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.03em;
    color: var(--gray);
    max-width: 50%;
    margin:  0 0 20px auto;
}

.team-block .info-text p span.opacity-accent{
    opacity: 0.48;
}

.team-block .team-image{
    position: relative;
}

.team-block .team-image:before{
    content: '';
    display: block;
    width: 230px;
    height: 230px;
    background-image: url(design-elem.png);
    position: absolute;
    z-index: 111;
    background-repeat: no-repeat;
    background-size: contain;
    top: -110px;
}

@media screen and (max-width: 1199px){
    .team-block .section-title, .team-block .section-title p{
        font-size: 35px;
    }
}

@media screen and (max-width: 768px){
    .team-block .section-title, .team-block .section-title p{
        font-size: 26px;
    }

    .team-block .wrapper{
        max-width: 100%;
        padding-top: 60px;
        padding: 60px 20px 0;
    }

    .team-block .info-text p{
        max-width: 100%;
    }

    .team-block .info-text{
        padding-bottom: 70px;
    }
    .team-block .team-image:before{
        width: 180px;
        height: 180px;
        top: -100px;
    }
}