.main{
    background: #FFD200;
    position: relative;
    z-index: 1;
    height: 100%;
}
.main::before {
    position: absolute;
    content: '';
    background: url('../img/frame-1.webp');
    background-size: 3000px 542px;
    background-position: center;
    background-repeat: repeat-x;
    height: 542px;
    width: calc(100% + 733px);
    left: 0;
    right: 0px;
    top: 326px;
    z-index: -1;
}
.main::after {
    pointer-events: none;
    position: absolute;
    content: '';
    background: url('../img/main-ico-bg.svg');
    background-size: 1859.205px 554.033px;
    background-position: center;
    background-repeat: repeat-x;
    height: 554.033px;
    width: calc(100% + -171px);
    left: 112px;
    right: 0px;
    top: 32px;
    z-index: 4;
}
.main .container{
    position: relative;
    z-index: 3;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.main__inner{
    margin-top: 205px;
    min-height: 618px;
}
.main__menu{
    padding-top: 11px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 33px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
}
.main__link{
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; /* 150% */
}
.main__title{
    text-align: center;
    margin-bottom: 41px;
}
.main__descr{
    color: #232323;
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}


.disco{
    background: #fff;   
    position: relative;
    margin-top: -130px;
    padding-bottom: 100px;
    z-index: 1;
}
.disco::before {
    position: absolute;
    content: '';
    background: url('../img/services/disco-bg.svg');
    background-size: 2420.069px 891.16px;
    background-position: center;
    background-repeat: repeat-x;
    width: 2420.069px;
    height: 891.16px;
    left: 50%;
    right: 0;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    top: -50px;
    z-index: -1;
    pointer-events: none;
}

.disco__title{
    position: relative;
    z-index: 1;
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    margin: 0 auto;
}
.disco__title::before {
    position: absolute;
    content: '';
    background: url('../img/services/text-bg-2.svg');
    background-repeat: no-repeat;
    z-index: -1;
    width: 453px;
    height: 220.41px;
    top: -49px;
    left: -92px;
}


.disco__item{
    display: block;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    position: absolute;
}
.disco__name {
    margin-top: 23px;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}



.disco__block{
    position: relative;
}
.disco__item-1{
    left: 0;
    top: -100px;
}
.disco__item-2 {
    left: calc(50% - 155px);
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    top: 278px;
}
.disco__item-3 {
    left: calc(50% + 195px);
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    top: 376px;
}
.disco__item-4 {
    top: 54px;
    right: 0;
}









.quests {
    margin-top: -130px;
    background: #fff;
    position: relative;
    z-index: 2;
}
.quests::before {
    position: absolute;
    content: '';
    background-image: url("../img/frame-2.webp");
    background-size: 3840px 1414px;
    background-position: center;
    background-repeat: repeat-x;
    width: 3840px;
    height: 1414px;
    width: calc(100% + 1920px);
    left: 0;
    right: 0;
    top: 336px;
    pointer-events: none;
    z-index: -1;
}
.quests::after {
    position: absolute;
    content: '';
    background-image: url("../img/services/bg-icon.svg");
    background-size: 1732.918px 2406.047px;
    background-position: center;
    background-repeat: no-repeat;
    height: 2406.047px;
    width: 100%;
    left: 0;
    right: 0;
    top: 371px;
    pointer-events: none;
    z-index: -1;
}
.quests__title{
    position: relative;
    z-index: 1;
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    margin: 0 auto;
}
.quests__title::before {
    position: absolute;
    content: '';
    background: url('../img/services/text-bg-1.svg');
    background-repeat: no-repeat;
    z-index: -1;
    width: 453px;
    height: 220.41px;
    top: -49px;
    left: -142px;
}
.quests__block {
    margin-top: 94px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 54px 24px;
}
.quests__item {
    width: calc(25% - 18px);
    position: relative;
}
.quests__image{
    height: 284px;
    background: url('../img/services/bg.svg');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
}
.quests__img{
    position: absolute;
}
.quests__item-1 .quests__img{
    bottom: 8px;
    right: 38px;
    width: 87.009%;
}
.quests__item-2 .quests__img{
    bottom: 8px;
    right: 7px;
    width: 91.7%;
}
.quests__item-3 .quests__img{
    bottom: 4px;
    right: 44px;
    width: 74.73%;
}
.quests__item-4 .quests__img{
    bottom: 10px;
    right: 12px;
    width: 101.084%;
}
.quests__item-5 .quests__img{
    bottom: 10px;
    right: 16px;
    width: 87.37%;
}

.quests__name {
    margin-top: 23px;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}



.show{
    margin-top: 795px;
    position: relative;
    z-index: 3;
}
.show__title{
    position: relative;
    z-index: 1;
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    margin: 0 auto;
}
.show__title::before {
    position: absolute;
    content: '';
    background: url('../img/services/text-bg-1.svg');
    background-repeat: no-repeat;
    z-index: -1;
    width: 453px;
    height: 220.41px;
    top: -49px;
    left: -175px;
}
.show__block{
    margin-top: 94px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 24px 1fr 24px 1fr;
    grid-template-columns: repeat(3, 1fr);
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 54px 24px;
}

.show__item {
    margin: 0 auto;
    width: 100%;
    max-width: 278px;
    position: relative;
}
.show__image{
    background-size: 100%;
    width: 100%;
    position: relative;
}
.show__img{
    width: 100%;
}
.show__name {
    margin-top: 23px;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}



.master{
    position: relative;
    margin: 275px 0 369px;
    z-index: 1;
}
.master__title{
    margin-bottom: 32px;
}
.master::before {
    position: absolute;
    content: '';
    background-image: url("../img/services/2/master.webp");
    background-size: 3840px 691px;
    background-position: center;
    background-repeat: repeat-x;
    width: 3840px;
    height: 691px;
    width: calc(100% + 1885px);
    left: 0;
    right: 0;
    top: -261px;
    z-index: -1;
    pointer-events: none;
}




@media (max-width: 1000px) {
    .main__inner {
        margin-top: 138px;
        min-height: 618px;
    }
    .contact__block-content{
        margin-right: 0;
    }
    .main {
        background: #FFD200;
        position: relative;
        z-index: 1;
        height: 100%;
        padding-bottom: 75px;
    }
    .master::before {
        width: calc(100% + 2210px);
    }
}
@media (max-width: 931px) {
    .disco__item-1 {
        left: 0;
        top: 14px;
    }
    .disco__item-2 {
        left: calc(50% - 155px);
        -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
                transform: translateX(-50%);
        top: 399px;
    }
    .disco__item-4 {
        top: 3px;
        right: 0;
    }
}
@media (max-width: 670px) {
    .show__block {
        margin-top: 50px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        gap: 54px 24px;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: start;
    }
    .show__item{
        width: calc(50% - 12px);
        margin: 0;
        max-width: 100%;
    }
    .master::before {
        width: calc(100% + 2567px);
    }
}
@media (max-width: 640px) {
    .disco::before {
        top: -341px;

    }
    .disco__block{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        gap: 30px 24px;
        margin-top: 50px;
    }
    .disco__item{
        width: calc(50% - 12px);
        position: initial;
        -webkit-transform: none;
            -ms-transform: none;
                transform: none;
    }
    .disco__img{
        width: 100%;
    }
    .show{
        margin-top: 60px;
    }
}
@media (max-width: 566px) {
    .main::before{
        bottom: 26px;
    }
}
@media (max-width: 500px) {
    .main::after {
        width: calc(100% + 367px);
    }
    .main__item{
        gap: 5px;
    }
    .main__name{
        font-size: 16px;
    }
    .main__title{
        margin-bottom: 5px;
    }
    .main__descr{
        font-size: 20px;
    }
    .show__block {
        margin-top: 50px;
    }
    .disco__title::before {
        top: -41px;
        left: -118px;
        background-size: 80%;
    }
    .show__title::before{
        top: -45px;
        left: -152px;
        background-size: 80%;
    }
    .show__name{
        margin-top: 15px;
        font-size: 20px;
    }
    .show__block{
        gap: 30px 24px;
    }
    .disco__name,
    .show__name{
        margin-top: 15px;
        font-size: 20px;
        line-height: 24px;
    }
    .master {
        position: relative;
        margin: 268px 0 115px;
        z-index: 1;
    }
    .master::before {
        width: calc(100% + 479px);
        background-size: 1365px;
        top: -466px;
    }
    .master__title{
        color: #232323;
    }
}

