* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

.timeline-block__item__center__lighterblue {
    top: -56px;
}

.timeline-block__item__center__lightblue {
    height: 100px;
}

.screen-reader-response,
.wpcf7-response-output{
    padding: 15px;
}

.publishing-second-block {
    padding-left: 15px;
    padding-right: 15px;
}

.careers_wrap {
    padding: 60px;
}

.career_form-title {
    line-height: 1;
}

.text-wrap {
    font-size: 30px;
    font-weight: 500;
    padding-top: calc(50px + 2vw);
    padding-bottom: calc(50px + 1vw);
    line-height: 1.24;
}

.text-wrap p:not(:last-child) {
    margin-bottom: calc(20px + 1vw);
}

.advertising-i {
    background: linear-gradient(180deg, #4C1B84 0%, #1E22AA 100%);
    color: #Fff;
    padding-top: calc(50px + 2vw);
    padding-bottom: calc(50px + 2.6vw);
    font-size: calc(20px + 0.35vw);
    font-weight: 500;
}

.advertising-i__title {
    font-size: calc(20px + 0.5vw);
    text-align: center;
    padding-bottom: calc(30px + 1.2vw);
    max-width: 915px;
    margin: auto;
    width: 100%;
}

.advertising-i_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: calc(20px + 3vw);
    padding-bottom: calc(30px + 5.6vw);
}

.advertising-i .wrap > div:last-child .advertising-i_list {
    padding-bottom: 0;
}

.advertising-i_work-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.advertising-i_work-item:nth-child(2) p {
    position: relative;
    left: -50px;
}

.advertising-i_work-item:nth-child(2) {
    padding-left: 50px;
}

.advertising-i_methods-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    margin-top: 13px;
}

.advertising-i_methods-item p {
    padding-top: 20px;
}

.advertising-i_methods-item svg {
    max-width: 100%;
}

.advertising-i_models-item {
    border: 2px solid #fff;
    border-radius: 50%;
    width: 123px;
    height: 123px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.trusted-by {
    padding-top: calc(50px + 2vw);
    padding-bottom: calc(50px + 2.6vw);
}

.trusted-by_title {
    font-size: calc(20px + 0.5vw);
    text-align: center;
    margin: 0;
    padding-bottom: calc(20px + 1vw);
}

.trusted-by_list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 21px;
}

.trusted-by_list img {
    max-width: 45%;
}

@media screen and (min-width: 1440px) {
    .advertising-hero .main-top-block__undertitle{
        max-width: 640px;
    }
    .main-top-block__img {
        width: 40vw;
        height: 132%;
    }
}

@media screen and (max-width: 1440px) and (min-width: 1025px) {
    .first-screen__img {
        max-width: 40vw;
    }

    .first-screen__title {
        font-size: calc(25px + 7vw);
        padding-bottom: calc(30px + 2vw);
    }

    .front-page__screen {
        padding-top: calc(100px + 2vw);
    }


}

@media screen and (max-width: 1440px) {
    .main-top-block__undertitle {
        max-width: 50vw;
    }

    .main-top-block__title {
        font-size: calc(30px + 2vw);
        max-width: 50vw;
    }
}

@media screen and (max-width: 1220px) and (min-width: 768px) {
    .publishing-second-block__process-block div {
        width: 57px;
    }

    .publishing-second-block__process-block img {
        max-width: 100%;
    }

    .publishing-second-block__process-block-title {
        font-size: 15px;
    }

    .publishing-second-block__process-block div:nth-child(odd):after {
        left: 47px;
        top: 58px;
    }

    .publishing-second-block__process-block {
        width: 100%;
    }

    .publishing-second-block__process-block div:nth-child(even):after {
        top: 58px;
        left: 45px;
    }
}

@media screen and (max-width: 1024px) {
    .header-navigation__list a {
        font-size: 18px;
    }

    .header-navigation__list .menu-item:not(.menu-item-has-children) {
        margin-bottom: 0;
    }

    .header-navigation__list .menu-item {
        display: block;
        text-align: center;
        margin-bottom: 0;
        padding: 20px 10px;
    }

    .about-us__item-block {
        font-size: 20px;
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 900px) {
    .careers__item-block {
        margin-top: 0;
        padding: 50px 0;
    }
    .careers__item-block-position,
    .careers_wrap {
        padding: 20px;
    }
    .careers__item-block-position__title {
        font-size: 25px;
    }
    .careers__item-block-position__location {
        font-size: 15px;
    }
    .publishing__item-block .main-blocks__title {
        margin-bottom: 80px;
    }
    .publishing-title {
        transform: translateY(216px);
        font-size: 23px;
        width: 120px;
        line-height: 1.3;
    }
    .publishing-wrap .publishing-round-block {
        padding-bottom: 500px;
    }
    .publishing-wrap .publishing-round-block-inner {
        padding-bottom: 366px;
    }
    .publishing-wrap .publishing-round-block-inner-two {
        padding-bottom: 244px;
    }
    .publishing-round-block-item {
        width: 75px;
        height: 75px;
        font-size: 10px;
    }
    .publishing-round-block-inner .publishing-round-block-item:nth-child(1) {
        top: -35px !important;
    }
    .publishing-round-block-inner .publishing-round-block-item:nth-child(2) {
        left: -38px !important;
        top: 149px !important;
    }
    .publishing-round-block-inner .publishing-round-block-item:nth-child(3) {
        bottom: -35px !important;
    }
    .publishing-round-block-inner .publishing-round-block-item:nth-child(4) {
        right: -38px !important;
        top: 149px !important;
    }
    .publishing-round-block-inner-two .publishing-round-block-item:nth-child(1),
    .publishing-round-block-inner-two .publishing-round-block-item:nth-child(4){
        left: -5px !important;
    }
    .publishing-round-block-inner-two .publishing-round-block-item:nth-child(2),
    .publishing-round-block-inner-two .publishing-round-block-item:nth-child(3){
        right: -5px !important;
    }
    .publishing-round-block-item-18 {
        font-size: 10px;
    }
    .publishing-second-block__process {
        display: block;
    }

    .publishing-second-block__process-title {
        font-size: 45px;
    }

    .publish_game_button {
        font-size: 24px;
        width: auto;
        height: auto;
        padding: 20px;
    }

    .item-block_wrap {
        display: block;
    }
}


@media screen and (max-width: 768px) {
    .first-screen__title {
        font-size: calc(20px + 11vw);
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .timeline-block__item__figure__violet > svg,
    .timeline-block__item__figure__blue > svg,
    .timeline-block__item__figure__lightblue > svg,
    .timeline-block__item__figure__lighterblue > svg {
        width: 140px;
    }

    .game__image {
        width: 140px;
    }
}

@media screen and (max-width: 767px) {
    .publishing-second-block__process-block div {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .publishing-second-block__process-block div:nth-child(even) img {
        margin-top: 0;
    }
    .publishing-second-block__process-block div > img {
        order: 1;
        max-width: 80px;
    }
    .publishing-second-block__process-block-title {
        position: relative;
        top: 0 !important;
    }
    .publishing-second-block__process-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 40px 0;
    }
    .publishing-second-block__process-block div:nth-child(odd):after {
        left: 0;
        top: 0;
        transform: rotate(38deg);
        position: relative;
        order: 2;
        margin-top: 20px;
    }
    .publishing-second-block__process-block div:nth-child(even):after {
        left: 0;
        top: 0;
        position: relative;
        order: 2;
        transform: rotate(142deg);
        margin-top: 20px;
    }
    .game__title {
        font-size: 20px;
    }
    .game__figure {
        width: 25px;
    }
    .publishing-second-block__process-title {
        font-size: calc(30px + 2vw);
    }
    .main-blocks__title {
        margin-bottom: 0;
        font-size: calc(30px + 2vw);
    }
    .timeline-block__item__center {
        display: none;
    }

    .timeline-block__item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .timeline-block__item__year {
        margin: 0;
    }

    .timeline-block__item__year__violet__mini,
    .timeline-block__item__year__blue__mini,
    .timeline-block__item__year__lightblue__mini,
    .timeline-block__item__year__lighterblue__mini {
        left: initial;
        right: initial;
        bottom: -42px;
    }

    .timeline-block__item__figure__violet,
    .timeline-block__item__figure__blue,
    .timeline-block__item__figure__lightblue,
    .timeline-block__item__figure__lighterblue {
        right: initial;
        transform: rotate(90deg);
        top: -93px;
        margin-left: -4px;
    }

    .timeline-block__item__figure__blue,
    .timeline-block__item__figure__lighterblue {
        left: initial;
        transform: rotate(-90deg);
        top: -93px;
        margin-left: 4px;
    }

    .timeline-block__item__right {
        width: 100% !important;
        text-align: center;
    }

    .timeline-block__item__figure__violet > svg, .timeline-block__item__figure__blue > svg, .timeline-block__item__figure__lightblue > svg, .timeline-block__item__figure__lighterblue > svg {
        width: 86px;
    }

    .timeline-block__item__year {
        font-size: 35px;
    }

    .timeline-block__item__left {
        padding-right: 0;
    }

    .timeline-block__item__dot {
        margin-top: 45px;
    }

    .timeline-block__item__triangle__violet,
    .timeline-block__item__triangle__lightblue {
        left: inherit;
        bottom: -53px;
        transform: rotate(90deg);
        margin-left: -1px;
    }

    .timeline-block__item__triangle__blue,
    .timeline-block__item__triangle__lighterblue {
        right: inherit;
        bottom: -53px;
        transform: rotate(-90deg);
        margin-left: 6px;
    }
}

@media screen and (max-width: 600px) {
    .main-top-block__title {
        max-width: 100%;
        text-align: center;
    }
    .footer-wrap div {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .main-top-block__undertitle {
        max-width: 100%;
        text-align: center;
    }

    .publishing-second-block__grid-column-image img {
        max-width: 100px;
        margin-top: 20px;
    }

    .publishing-second-block__grid-column-title {
        font-size: 25px;
    }

    .publishing-second-block__grid {
        padding: 50px 15px;
    }

    .publishing-second-block__grid-column {
        grid-template-rows: auto;
        grid-gap: 25px;
    }

    .publishing-second-block__grid-column-subtitle {
        font-size: 20px;
    }

    .form__item {
        padding: 0 15px;
        width: 100%;
        max-width: calc(100% - 30px);

    }

    .form__item div {
        padding: 0;
    }

    .form__item > div:not(:last-child) {
        margin-bottom: 20px;
    }

    .wpcf7-form-control.wpcf7-radio {
        display: flex !important;
        gap: 15px;
        align-items: center;
    }

    .wpcf7-form-control.wpcf7-radio .wpcf7-list-item-label {
        padding-left: 5px;
        position: relative;
        top: -2px;
    }

    .form-title {
        font-size: 25px;
        margin-bottom: 0;
    }
    .form__box .wpcf7-checkbox .wpcf7-list-item-label {
        font-size: 13px;
    }

    .zero-tolerance__description__item {
        word-break: break-all;
    }

    .advertising-i_work-item svg {
        max-width: 150px;
    }

    .trusted-by_list img {
        max-width: 29%;
    }

    .advertising-i_methods-item {
        max-width: 27%;

    }

    .advertising-i_models-item {
        width: 80px;
        height: 80px;
    }

    .advertising-i_work-item:nth-child(2) {
        padding-left: 0;
    }

    .advertising-i_work-item:nth-child(2) p {
        left: 0;
    }

    .advertising-i_work-item {
        flex-direction: column;
        width: 100%;
    }

    .advertising-i_work-item p {
        text-align: center;
    }

}

