.main__links{
    margin-bottom: 23px;
}
.main{
    margin-top: 128px;
}
.main__inner{
    max-width: 1199px;
}
.main__top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: -6px;
}
.main__title{
    font-size: 65px;
    font-style: normal;
    font-weight: 400;
    line-height: 90%;
    letter-spacing: -0.7px;
    text-transform: uppercase;
    max-width: 928px;
    width: max-content;
}
.span-title-main{
    margin-left: 5px;
    font-size: 38px;
    font-style: normal;
    font-weight: 300;
    line-height: 90%;
    display: block;
    text-transform: none;
    letter-spacing: normal;
    max-width: 741px;
}
.main__content{
    display: flex;
    gap: 12px;
    min-width: 147px;
}
.main__item-name{
    color: rgba(73, 72, 72, 0.70);
    font-family: "Koulen", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    line-height: 28px;
}
.main__content-item:last-of-type .main__item-name{
    margin-bottom: 4px;
}
.main__item-descr{
    color: #2F2F2F;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.main__content-item.underline{
    position: relative;
}
.main__content-item.underline::after{
    position: absolute;
    content: '';
    width: 120px;
    height: 17px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='71' height='16' viewBox='0 0 71 16' fill='none'%3E%3Cpath d='M71 8C71 3.58172 67.4183 8.63095e-07 63 4.76837e-07C58.5817 9.0579e-08 55 3.58172 55 8C55 12.4183 58.5817 16 63 16C67.4183 16 71 12.4183 71 8ZM63 6.5L1.31134e-07 6.49999L-1.31134e-07 9.49999L63 9.5L63 6.5Z' fill='%23368CC1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    bottom: -14px;
    left: 0;
}
.main__box-top{
    margin-top: 30px;
}
.main__box{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.main__item{
    width: calc(50% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    height: max-content;
}
.main__item img{
    width: 100%;
}
.br-1{
    border: 1px solid rgba(217, 217, 217, 0.70);
}
.br-2{
    border: 1px solid rgba(54, 140, 193, 0.70);
}
.br-3{
    border: 1px solid rgba(47, 179, 193, 0.70);
}
.br-4{
    border: 1px solid rgba(0, 136, 136, 0.70);
}
.br-5{
    border: 1px solid rgba(31, 91, 195, 0.70);
}
.br-6{
    border: 1px solid rgba(50, 50, 50, 0.70);
}

.main__box-content{
    background:  rgba(217, 217, 217, 0.30);
    padding: 38px 50px 0;
    margin: 20px -50px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 14px;
}
    
.main__box-content .main__item:first-of-type { grid-area: 1 / 1 / 2 / 2; }
.main__box-content .main__item:nth-child(2) { grid-area: 2 / 1 / 3 / 2; }
.main__box-content .main__item:nth-child(3)  {
    grid-area: 1 / 2 / 3 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.main__box-content .main__item:nth-child(3)  img{
    max-width: 424px;
}
.main__box-content .main__item{
    width: 100%;
}
.main__box-bottom{
    margin-top: 20px;
}
@media (max-width: 1279px) {
    .main__top{
        gap: 29px;
        justify-content: start;
        align-items: center;
    }
    .main__content{
        margin-bottom: 20px;
    }
    .main__box-top .main__item:first-of-type{
        width: 100%;
        max-width: 579px;
        margin: 0 auto;
    }
    .main__box-top .main__item:nth-child(2){
        width: 100%;
        max-width: 579px;
        margin: 0 auto;
    }
    .main__box-bottom{
        flex-direction: column;
    }
    .main__box-bottom .main__item:first-of-type{
        width: 100%;
        max-width: 579px;
        margin: 0 auto;
    }
    .main__box-bottom .main__item:nth-child(2){
        width: 100%;
        max-width: 579px;
        margin: 0 auto;
    }
}
@media (max-width: 999px) {
    .main{
        margin-top: 93px;
    }
    .main__top{
        position: relative;
    }
    .main__content{
        position: absolute;
        bottom: -47px;
        left: 525px;
    }
    .main__box-content{
        grid-template-columns: 1fr;
        margin-top: 86px;
        margin-bottom: 87px;
        gap: 0;
    }
    .main__box-content .main__item:first-of-type {
        grid-area: 1 / 1 / 2 / 2;
        max-width: 501px;
        margin: -103px auto 0;
    }
    .main__box-content .main__item:nth-child(2) {
        grid-area: 3 / 1 / 4 / 2;
        max-width: 501px;
        margin: 0 auto -67px;
    }
    .main__box-content .main__item:nth-child(3) {
        grid-area: 2 / 1 / 3 / 2;
        position: relative;
        top: -10px;
        height: 405px;
    }
    .main__box-content .main__item:nth-child(3)  img {
        max-width: 390px;
    }
    .main__box-top .main__item:nth-child(3) {
        width: 100%;
        max-width: 579px;
        margin: 0 auto;
    }
    .main__box-top .main__item:nth-child(4) {
        width: 100%;
        max-width: 579px;
        margin: 0 auto;
    }
    .main__box-top {
        margin-top: 55px;
    }
    .main__box-bottom{
        margin-top: 50px;
    }
}
@media (max-width: 767px) {
    .main__content {
        bottom: initial;
        top: 0px;
        left: initial;
        right: 0;
    }
    .main {
        margin-top: 115px;
    }
    .main__links{
        margin-bottom: 20px;
    }
    .main__title {
        font-size: 50px;
        line-height: 100%;
        letter-spacing: -0.5px;
    }
    .span-title-main {
        margin-left: 3px;
        font-size: 28px;
    }
    .main__content{
        right: initial;
        left: 51%;
        top: -20px;
    }
    .main__box-top {
        margin-top: 20px;
    }
    .main__box-content .main__item:nth-child(3) {
        grid-area: 2 / 1 / 3 / 2;
        position: relative;
        top: -10px;
        min-height: 289px;
    }
    .main__box-content .main__item:nth-child(3)  img {
        width: 75%;
    }
}
@media (max-width: 479px) {
    .main {
        margin-top: 172px;
    }
    .main__content{
        right: 0;
        left: initial;
        top: -20px;
        gap: 10px;
    }
    .main__box-content .main__item:nth-child(3) {
        top: -21px;
        height: 335px;
    }
    .main__box-content .main__item:nth-child(3)  img {
        width: 100%;
        max-width: 329px;
    }
}