.hero {
    position: relative;
    padding-bottom: 184px;
    overflow: hidden;
}

.hero .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.hero__title-block {
    position: relative;
    margin-right: 15px;
    max-width: 555px;
}

.hero__ttile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 80px;
}

.hero__info-block img {
    -webkit-animation: img-anim-rtb 7s linear infinite;
    animation: img-anim-rtb 7s linear infinite;
}

@-webkit-keyframes img-anim-rtb {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }

    50% {
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes img-anim-rtb {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }

    50% {
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.hero__ttile,
.hero__ttile * {
    color: var(--colorBlack);
    font-family: 'Prosto One';
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

.hero__btn {
    max-width: 289px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 23vh;
    left: 54vw;
    width: 956px;
    height: 373px;
    background-image: url(/public/images/arrow_left_back.svg);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

.format__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    gap: 20px;
}

.choose__block {
    min-width: 670px;
}

/* .choose__block:first-child {
    margin-right: 20px;
} */
.format__reclame__img-wrap {
    border-radius: 16px;
    background: #F2F3F7;
    padding: 52px 0;
    height: 403px;
    overflow: hidden;
}

.format__reclame__img-wrap.mobile,
.black .format__reclame__img-wrap.mobile {
    padding-bottom: 0;
    padding-right: 0;
}

.black .format__reclame__img-wrap {
    border-radius: 16px;
    background: #222224;
    padding: 52px 0;
    padding-right: 40px;
}

.format__reclame__img img {
    display: block;
    margin: 0 auto;
    object-fit: fill;
}

.format__swap-btn__block {
    position: static;
    background-color: #F2F3F7;
}

.black .format__swap-btn__block {
    background-color: #222224;
}

.format__reclame__img {
    padding: 32px 40px;
    border-radius: 32px;
    background: #fff;
}

.format_rec_white img {
    width: 100%;
}

.black .choose__info-block {
    background-color: #222224;
    height: 218px;
}

.black .choose__info-block * {
    color: var(--colorFFF);
}

.format__swap-btn__block {
    position: absolute;
    bottom: 32px;
    right: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 4px;
    width: 120px;
    height: 48px;
    border-radius: 16px;
    background: #F2F3F7;
}

.format__swap-btn {
    width: 50%;
    border: none;
    border-radius: 12px;
    background-size: contain;
    background-color: transparent;
}

.btn-active {
    border-radius: 12px;
    background: var(--gradient, linear-gradient(90deg, #5438DC 0%, #2A72E2 100%));
}

.btn-active svg path {
    fill: #fff;
}

.format__reclame,
.publisher {
    margin-bottom: 120px;
}

.publisher__title {
    max-width: 758px;
}

.publisher__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.publisher__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.publisher__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 32px 40px;
    width: 100%;
    min-height: 212px;
    border-radius: 32px;
    background: #FFF;
}

.publisher__item__img {
    margin-bottom: 32px;
    width: 64px;
    height: 64px;
}

.publisher__item__title {
    color: var(--colorBlack);
    font-family: Prosto One;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}

.publisher__small-item {
    max-width: 440px;
}

.publisher__mid-item:first-child,
.publisher__small-item:first-child {
    margin-right: 20px;
}

.publisher__big-item {
    max-width: 900px;
}

.publisher__big-item .publisher__item__title {
    max-width: 600px;
}

.publisher__mid-item {
    max-width: 670px;
}

.choose__title {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 4px;
    padding: 40px;
    border-radius: 32px;
    background: #fff;

}

.choose__title h2 {
    color: var(--text, #191919);
    font-family: Prosto One;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}

/* format */

.format .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 120px;
    padding: 120px;
    max-width: 1600px;
    border-radius: 32px;
    background: var(--gradient, linear-gradient(90deg, #5438DC 0%, #2A72E2 100%));
}

.format__title {
    margin-bottom: 48px;
    color: var(--colorFFF);
    font-family: Prosto One;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    max-width: 860px;
}

#successfully,
#unsuccessfully {
    display: none;
}

.successfully__title {
    margin-bottom: 110px;
}

.successfully__inner {
    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;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.successfully__image {
    margin-bottom: 32px;
}

.successfully__subtitle {
    font-size: 24px;
    line-height: 140%;
    color: #FFF;
    margin-bottom: 64px;
    text-align: center;
}

.unsuccessfully__btn {
    display: block;
    border: none;
    background-color: #FFF;
    color: #484AD7;
    font-size: 18px;
    line-height: 140%;
    font-weight: 600;
    border-radius: 40px;
    padding: 19px 0;
    width: 100%;
    max-width: 277px;
}

.form__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 48px;
}

.form__input-block {
    width: 100%;
    max-width: 320px;
}

.form__input-block__title {
    margin-bottom: 12px;
    color: #FFF;
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.form__input-block input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.form__last-block__select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    overflow: hidden;
    background: url("/public/images/select__btn.svg") no-repeat right;
    background-position-x: calc(100% - 25px);
    margin-right: 8px;
}

.form__last-block__select option {
    color: var(--colorBlack);
}

.form__last-block__inp-cont select,
.form__input-block input {
    width: 100%;
    height: 56px;
    padding: 10px 24px;
    border-radius: 16px;
    border: 1px solid #FFF;
    background-color: transparent;
    color: #FFF;
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.form__last-block {
    max-width: 340px;
}

.form__last-block__inp-cont {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.form__last-block__inp-cont select,
.form__last-block__inp-cont input {
    width: 100%;
    max-width: 166px;
}

.form__bottom {
    margin-bottom: 24px;
    padding-left: 28px;
    max-width: 886px;
}

.form__check__link {
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: var(--colorFFF);
    text-decoration: underline;
}

.form__label {
    position: relative;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: var(--colorFFF);
    cursor: pointer;
}

#form__check {
    display: none;
}

#form__check+span {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--colorFFF);
    border-radius: 4px;
    left: -28px;
    top: 0;
}

#form__check+span::before {
    content: "";
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    background-image: url(/public/images/rtb__checkbox.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    background-color: transparent;
    width: 14px;
    height: 10px;
    opacity: 0;
}

#form__check:checked+span::before {
    opacity: 1;
}

.format__btn {
    max-width: 289px;
    border: 1px solid var(--colorFFF);
    background: #fff;
    color: #484AD7;
    text-align: right;
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%
}

@media(max-width: 1550px) {
    .format .container {
        padding: 80px 40px;
    }
}

@media(max-width: 1360px) {
    .form__top {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .form__input-block {
        max-width: 470px;
        width: 49%;
    }

    .input__group-box {
        width: 100%;
    }

    .input__group-box input {
        max-width: 100% !important;
    }

    .form__input-block:nth-child(-n+2) {
        margin-bottom: 24px;
    }

    .format .container {
        padding: 100px;
    }

    .form__last-block__inp-cont select,
    .form__last-block__inp-cont input {
        max-width: 49%;
    }

    .format .container {
        margin-left: 0;
        margin-right: 0;
    }

    .format__reclame__img {
        padding: 24px 30px;
    }

    .format__reclame__img-wrap {
      height: 360px;
    }

    .format__reclame__img-wrap,
    .black .format__reclame__img-wrap {
        padding: 30px;
    }

    .format__reclame__img-wrap.mobile {
        padding-right: 30px !important;
    }
}

@media(max-width: 1250px) {

    .hero__ttile,
    .hero__ttile * {
        font-size: 44px;
    }

    .hero__title-block {
        max-width: 470px;
    }

    .publisher__item {
        min-height: 239px;
    }

  .format__reclame__img-wrap {
    height: 327px;
  }
}

@media(max-width: 1150px) {
    .choose__block {
        min-width: 450px;
    }

    .hero::before {
        top: 29vh;
        left: 44vw;
        width: 694px;
        height: 278px;
    }

    .hero__ttile {
        margin-bottom: 64px;
    }

    .format__reclame__img,
    .choose__title {
        padding: 24px;
        border-radius: 24px;
    }

    .choose__title h2 {
        font-size: 24px;
    }

    .format__swap-btn__block {
        bottom: 12px;
        right: 24px;
    }

    .publisher__small-item {
        max-width: 309px;
    }

    .publisher__item {
        height: 100%;
        min-height: 168px;
        border-radius: 24px;
        padding: 24px;
    }

    .publisher__item__img {
        margin-bottom: 24px;
        width: 52px;
        height: 52px;
    }

    .publisher__item__title {
        font-size: 20px;
    }

    .publisher__mid-item:last-child .publisher__item__title {
        max-width: 78%;
    }

    .format .container {
        padding: 96px 20px;
    }

    .format,
    .format__reclame,
    .publisher {
        margin-bottom: 96px;
    }
}

@media(max-width:1000px) {
    .successfully__title {
        font-size: 40px !important;
        margin-bottom: 155px !important;
    }

    #unsuccessfully .container,
    #successfully .container {
        padding-bottom: 212px !important;
    }

    .hero__ttile,
    .hero__ttile * {
        font-size: 52px;
    }

    .hero {
        padding-bottom: 187px;
    }

    .format__title {
        margin-bottom: 40px;
        font-size: 40px;
    }

    main {
        margin-bottom: 96px;
    }
}

@media(max-width: 999px) {
    .choose__block {
        min-width: auto;
    }

    .hero {
        padding-bottom: 128px;
    }

    .hero__title-block {
        margin-bottom: 56px;
    }

    .hero__ttile {
        max-width: 100%;
        margin-bottom: 56px;
    }

    .hero .container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .hero__info-block,
    .hero__title-block {
        margin-right: 0;
        max-width: 100%;
    }

    .hero__info-block {
        margin: 0 auto;
    }

    .hero__desc {
        margin-bottom: 56px;
    }

    .hero::before {
        top: 21vh;
        left: 63vw;
    }

    .format__wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .choose__block {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .format__reclame__img img {
        max-width: 450px;
    }

    .choose__block:first-child {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .format__reclame__img img {
        width: 100%;
    }

    .publisher__wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .publisher__small-item,
    .publisher__big-item,
    .publisher__mid-item {
        min-height: unset;
        max-width: 100%;
    }

    .publisher__item .publisher__item__title {
        max-width: 100%;
    }

    .publisher__mid-item:first-child,
    .publisher__small-item:first-child {
        margin-right: 0;
    }

    .format .container {
        padding: 80px 20px;
    }

    .format__title {
        margin-bottom: 40px;
        font-size: 40px;
    }

    .form__top {
        margin-bottom: 40px;
    }

    .format,
    .format__reclame,
    .publisher {
        margin-bottom: 80px;
    }
}

@media(max-width:768px) {
    .successfully__title {
        margin-bottom: 166px !important;
    }

    #unsuccessfully .container,
    #successfully .container {
        padding-bottom: 207px !important;
    }

    .hero__ttile,
    .hero__ttile * {
        font-size: 44px;
    }

    .title-h2 {
        margin-bottom: 56px;
    }

    main {
        margin-bottom: 80px;
    }

    .hero::before {
        top: 22vh;
        left: 63vw;
        width: 683.052px;
        height: 267.194px;
    }
}

@media(max-width: 767px) {

    .hero {
        padding-bottom: 112px;
    }

    .hero__title-block {
        margin-bottom: 48px;
    }

    .hero__ttile,
    .hero__ttile * {
        font-size: 44px;
    }

    .hero__ttile {
        margin-bottom: 48px;
    }

    .hero__btn {
        max-width: 271px !important;
        font-size: 16px;
    }

    .hero__info-block__item-circles {
        margin-bottom: 20px;
    }


    .format__reclame__img,
    .choose__title {
        padding: 16px;
        border-radius: 20px;
    }

    .choose__title {
        height: 80px;
    }

    .choose__title h2 {
        font-size: 20px;
    }

    .format__swap-btn__block {
        bottom: 16px;
        right: 16px;
    }

    .publisher__item {
        border-radius: 20px;
        padding: 20px;
    }

    .publisher__item:last-child {
        margin-bottom: 0;
    }

    .publisher__big-item,
    .publisher__item:not(:last-child) {
        margin-bottom: 12px !important;
    }

    .publisher__item__img {
        margin-bottom: 20px;
        width: 48px;
        height: 48px;
    }

    .publisher__item__title {
        font-size: 18px;
    }

    .format .container {
        padding: 64px 20px;
        border-radius: 20px;
    }

    .form__input-block {
        width: 100%;
        max-width: 100%;
    }

    .form__input-block:not(:last-child) {
        margin-bottom: 20px;
    }

    .format__title {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .form__top {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .format__btn {
        max-width: 272px;
        font-size: 16px;
    }

    .form__label a,
    .form__label,
    .form__last-block__inp-cont select,
    .form__input-block input,
    .form__input-block__title {
        font-size: 16px;
    }

    .form__last-block__inp-cont select,
    .form__input-block input {
        padding: 10px 20px;
    }

    .form__last-block__inp-cont select,
    .form__input-block input {
        height: 52px;
    }

    .format,
    .format__reclame,
    .publisher {
        margin-bottom: 64px;
    }
}

@media(max-width:600px) {
    .hero__btn {
        max-width: 259px !important;
    }
}

@media(max-width:580px) {
    .successfully__title {
        text-align: center !important;
        font-size: 32px !important;
        margin-bottom: 243px !important;
    }

    .successfully__subtitle {
        font-size: 18px;
    }

    #unsuccessfully .container,
    #successfully .container {
        padding-bottom: 275px !important;
    }

    .unsuccessfully__btn {
        font-size: 16px;
    }

    .format__reclame__img-wrap {
      height: 253px;
    }

    .format__reclame__img-wrap,
    .black .format__reclame__img-wrap {
      padding: 20px 30px;
    }

    .black .format__reclame__img-wrap {
      padding-left: 10px;
    }
}

@media(max-width:480px) {

    .hero__ttile,
    .hero__ttile * {
        font-size: 36px;
    }

    .title-h2 {
        margin-bottom: 48px;
    }

    main {
        margin-bottom: 64px;
    }

    .hero::before {
        width: 517.656px;
        height: 204.889px;
        top: 19vh;
        left: 58vw;
    }

  .format__reclame__img-wrap {
    height: 200px;
  }
}

@media(max-width:479px) {
    .successfully__title {
        text-align: left !important;
        font-size: 24px !important;
        margin-bottom: 275px !important;
    }

    #unsuccessfully .container,
    #successfully .container {
        padding-bottom: 303px !important;
    }
}

@media(max-width: 440px) {
    .form__last-block__select {
        margin-bottom: 8px;
        margin-right: 0;
    }

    .hero {
        padding-bottom: 96px;
    }

    .hero__ttile {
        margin-bottom: 40px;
    }

    .title-h2 {
        margin-bottom: 40px;
    }

    .form__last-block__inp-cont {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .form__last-block__inp-cont select,
    .form__last-block__inp-cont input {
        max-width: 100%;
    }

    .hero__title-block {
        margin-bottom: 40px;
    }

    .hero__ttile,
    .hero__ttile * {
        font-size: 36px;
    }

    .hero__ttile {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .hero__desc {
        margin-bottom: 40px;
    }

    .choose__title h2 {
        max-width: 184px;
    }

    .format__swap-btn__block {
        width: 104px;
        height: 40px;
        bottom: 18px;
    }

    .format__swap-btn__block svg {
        width: 48px;
        height: 32px;
    }

    .format .container {
        padding: 56px 20px;
    }

    .format__title {
        margin-bottom: 28px;
        font-size: 24px;
    }

    .format,
    .format__reclame,
    .publisher {
        margin-bottom: 56px;
    }

    main {
        margin-bottom: 56px;
    }
}

@media(max-width: 360px) {
    .hero {
        padding-bottom: 96px;
    }

    .hero__ttile,
    .hero__ttile * {
        font-size: 28px;
    }
}
