/* font-family: "Unbounded", sans-serif; */

html {
    min-height: 100%;
    height: 100%;
}

body {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.25;
    font-family: "Unbounded", sans-serif;
    color: #fff;
    background: #272a3f;
    height: 100%;
    background: radial-gradient(63.44% 74.68% at 50% 74.68%, #272a3f 0%, #12151c 98%);
}

@media screen and (max-height: 820px) {
    body {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 16px;
    }
}

/* main */
.layout {
    min-height: 100%;
    justify-content: center;
    flex-direction: column;
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
}

.note {
    position: absolute;
    left: 37px;
    top: 36px;
    z-index: 1;
}

.btn-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn {
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 71px;
    width: 100%;
    padding: 5px 15px;
    color: #fff;
    max-width: 358px;
    background: linear-gradient(102.88deg, #8cff00 -7.44%, #0059ff 44.68%, #7a0099 112.37%), linear-gradient(120.33deg, #1768ff 4.74%, #003699 76.31%);
    box-shadow: 0px 0px 14.3px rgba(0, 89, 255, 0.75);
    border-radius: 35.5px;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.23;
    text-align: center;
    text-transform: uppercase;
    transition: 0.2s ease-out;
    position: relative;
    z-index: 1;
}

.btn::after {
    content: "";
    position: absolute;
    border-radius: 35.5px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(100.99deg, #ffffff 28.69%, #a7c6ff 92.09%);
    z-index: -1;
    opacity: 0;
    transition: 0.2s ease-out;
}

.btn:focus,
.btn:active,
.btn:hover {
    color: #0661f5;
}

.btn:focus::after,
.btn:active::after,
.btn:hover::after {
    opacity: 1;
}

@media screen and (max-height: 820px) {
    .note {
        left: 20px;
        top: 20px;
        max-width: 65px;
    }

    .btn {
        min-height: 60px;
        max-width: 330px;
        font-size: 25px;
    }
}

@media screen and (max-width: 768px) {
    .note {
        max-width: 50px;
        left: 20px;
        top: 20px;
    }

    .btn {
        min-height: 50px;
        max-width: 288px;
        font-size: 20px;
    }
}

/* media */
.music {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 40px;
    z-index: 20;
    width: 61px;
    height: 57px;
    cursor: pointer;
    background: linear-gradient(102.88deg, #8cff00 -7.44%, #0059ff 44.68%, #7a0099 112.37%), linear-gradient(120.33deg, #1768ff 4.74%, #003699 76.31%);
    box-shadow: 0px 0px 14.3px rgba(0, 89, 255, 0.75);
    border-radius: 35.5px 0px 0px 35.5px;
}

.music__on {
    display: none;
}

.music__off {
    margin-left: 7px;
}

.music.active .music__on {
    display: block;
}

.music.active .music__off {
    display: none;
}

.movie {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.2s;
    z-index: -1;
    pointer-events: none;
}

.movie.active {
    opacity: 1;
}

.movie__item {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    top: 0;
    left: 0;
    display: block;
    position: absolute;
    pointer-events: none;
}

@media screen and (max-height: 820px) {
    .music {
        top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .music {
        top: 20px;
        width: 41px;
        height: 39px;
    }

    .music img {
        height: 24px;
        width: auto;
    }

    .music__off {
        margin-left: 0;
        margin-right: -5px;
    }

    .movie__item {
        -o-object-position: center top;
           object-position: center top;
    }

    .movie__item.last {
        -o-object-position: right bottom;
           object-position: right bottom;
    }
}

/* step */
.step {
    text-align: center;
    position: absolute;
    top: 60%;
    left: 26%;
    transform: translate(-50%, -50%);
    transition: opacity 1s;
    opacity: 0;
    max-width: 600px;
    min-width: 300px;
    background: rgba(0, 1, 47, 0.46);
    border: 2px solid #0661f5;
    box-shadow: 0px 0px 14.2px #0059ff;
    border-radius: 35.5px;
}

.step.show {
    opacity: 1;
    z-index: 3;
}

.step__content {
    padding: 0 55px 49px;
}

.step__logo {
    position: relative;
    margin: -166px auto 0;
    max-width: initial;
}

.step__title {
    font-weight: 800;
    font-size: 40px;
    line-height: 104%;
    text-align: center;
    text-transform: uppercase;
    color: #207ec7;
    padding-bottom: 16px;
    padding-top: 37px;
}

.step__title .white {
    color: #fff;
}

.step__txt {
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding-bottom: 22px;
}

.step__txt .bold {
    font-weight: 800;
    padding-top: 8px;
}

.step .block {
    display: block;
}

.progress + .step__title {
    padding-top: 18px;
}

.step__title + .btn-wrap {
    padding-top: 5px;
}

@media screen and (max-height: 820px) {
    .step {
        max-width: 500px;
    }

    .step.last {
        max-width: 640px;
    
    }
    
    .step__logo {
        max-width: 310px;
        margin-top: -105px;
    }

    .step__title {
        font-size: 34px;
        padding-bottom: 10px;
        padding-top: 11px;
    }

    .step__content {
        padding: 0 30px 39px;
    }
}

@media screen and (max-width: 1024px) {
    .step {
        width: 100%;
        max-width: 650px;
        left: 30%;
        transform: translate(-50%, -50%);
        transition: opacity 1s;
    }
}

@media screen and (max-width: 768px) {
    .step {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: 390px;
        text-align: center;
        position: absolute;
        top: initial;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border: none;
        box-shadow: none;
        border-radius: 0;
        background: none;
    }

    .step::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: -70px;
        background: linear-gradient(180deg, rgba(0, 1, 47, 0) 0%, #00012f 54.27%);
        z-index: -1;
    }

    .step__logo {
        margin: 0 auto;
        max-width: 310px;
    }

    .step__content {
        padding: 0 44px 50px;
    }

    .step__title {
        font-size: 26px;
        padding-bottom: 13px;
        padding-top: 19px;
    }

    .step__txt {
        padding-bottom: 16px;
    }

    .step__txt .bold {
        padding-top: 8px;
    }

    .progress + .step__title {
        padding-top: 18px;
    }

    .step__title + .btn-wrap {
        padding-top: 20px;
    }
}

@media screen and (max-width: 768px) and (max-height: 660px) {
}

/* progress */
.progress {
    padding-top: 7px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.progress__line {
    position: relative;
    width: 100%;
    height: 10px;
    background: rgba(34, 0, 0, 0.46);
    border: 1px solid #0661f5;
    box-shadow: 0px 0px 9.7px #0059ff;
    border-radius: 35.5px;
}

.progress__status {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: #ffffff;
    border-radius: 35.5px;
}

.progress__count {
    font-weight: 800;
    font-size: 81px;
    line-height: 1;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress__count span:first-child {
    min-width: 195px;
    text-align: right;
}

@media screen and (max-height: 820px) {
    .progress {
        max-width: 330px;
    }

    .progress__count {
        font-size: 66px;
    }

    .progress__count span:first-child {
        min-width: 162px;
    }
}

@media screen and (max-width: 768px) {
    .progress {
        padding-top: 0;
        max-width: 278px;
    }

    .progress__line {
        height: 6px;
    }

    .progress__count {
        font-size: 56px;
    }

    .progress__count span:first-child {
        min-width: 140px;
    }
}

@media screen and (max-width: 768px) {
    .hidden-mob {
        display: none !important;
    }
}

/* form */
.reg-form {
    margin: 20px auto 20px;
    /* max-width: 550px; */
    width: 100%;
}

.reg-form-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 10px;
}

.reg-form-label {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-top: 7px;
}

.reg-form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border: none;
    border-radius: 15px;
    color: #000;
    display: block;
    font-family: "Unbounded", sans-serif;
    font-size: 18px;
    font-weight: 700;
    height: 50px;
    outline: 0;
    padding: 5px 20px;
    max-width: 365px;
    width: 100%;
    transition: background-color 0.4s ease;
}
.reg-form-control.error {
    background: #ff8282;
}
label.error {
    color: #f20000;
    font-size: 16px;
    line-height: 20px;
}
.last .btn {
    margin: 30px auto 0;
}

@media screen and (max-width: 768px) {
    .reg-form {
        max-width: 324px;
    }
    .reg-form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .step.last {
        padding-top: 90px;
        padding-bottom: 0;
        /* position: relative; */
        min-height: 100vh;
    }
    .step.last .step__content {
        padding-bottom: 20px;
    }
    
}