:root {
    --main-color: #9148b3;
    --second-color: #6f2c8e;
}
/* header menu */
html {
    box-sizing: border-box;
    overflow-x: hidden;
}
*,
*:after,
*:before {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    color: #fff;
    overflow-x: hidden;
    background: #090909;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    background: linear-gradient(180deg, rgba(16,1,23,1) 65%, rgba(0,0,0,1) 100%);
}
.main_wrapper {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
img {
    margin: 20px 0;
}
p {
    font-size: 1em;
    line-height: 1.5;
    font-weight: 300;
}
.menuRight {
    height: 85px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}
.mainLogo {
    height: 50px;
}
.menuToggle {
    display: block;
    position: relative;
    top: 30px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}
.menuToggle a {
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}
.menuToggle a:hover {
    color: var(--main-color);
}
.menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    cursor: pointer;
    opacity: 0;
    /* hide this */
    z-index: 2;
    /* and place it over the hamburger */
    -webkit-touch-callout: none;
}
.menuToggle span {
    position: relative;
    display: block;
    width: 33px;
    height: 2px;
    margin-bottom: 8px;
    position: relative;
    background: #cdcdcd;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
.menuToggle span:first-child {
    transform-origin: 0% 0%;
}
.menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}
.menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #fff;
}
.menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}
.menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(1px, -1px);
}
.menuToggle input:checked ~ .menuItem {
    transform: none;
}
.menuItem {
    position: absolute;
    width: 350px;
    border-radius: 0 0 0 30px;
    border: 1px solid var(--main-color);
    /* height: calc(100vh + 150px); */
    padding: 50px;
    padding-top: 135px;
    background: #090909;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}
.menuItem li {
    text-align: center;
    padding: 10px 0;
    font-size: 22px;
}
.menuRight .menuToggle {
    position: absolute;
    right: 0;
}
.menuRight .menuToggle input {
    right: 50px;
}
.menuRight .menuToggle span {
    right: 50px;
}
.menuRight .menuItem {
    right: -2px;
    margin: -150px 0 0 0;
    transform: translate(100%, 0);
}
.menuRight .menuItem li a:hover {
    padding-left: 5px;
}
@keyframes text-slide-in {
    0% {
        -webkit-transform: translateX(100px);
        -moz-transform: translateX(100px);
        -ms-transform: translateX(100px);
        -o-transform: translateX(100px);
        transform: translateX(100px);
    }
    100% {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}
header {
    height: 100vh;
    margin-top: -85px;
    text-align: center;
    background-image: url(../img/header_bg.webp);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 40px;
}
h1.title {
    font-size: 2em;
    line-height: 1.8em;
    font-family: "Poiret One", sans-serif;
    text-transform: uppercase;
    margin-bottom: 20px;
}
h1.title > div {
    position: relative;
    display: inline-block;
    padding-left: 50px;
}
h1.title > div span {
    position: absolute;
    left: 0;
    color: #cc82ef;
    transform: rotate(15deg) translateY(-3px);
    font-size: 1.2em;
}
.subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.btn {
    display: block;
    margin: 0 auto;
    width: 320px;
    background-color: var(--main-color);
    padding: 20px 35px;
    color: #fff;
    font-size: 1.2em;
    text-align: center;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn:hover {
    background-color: var(--second-color);
}
section {
    margin: 30px 0;
    padding: 0 20px;
}
section > img {
    width: 100%;
}
h2.title {
    font-family: "Poiret One", sans-serif;
    font-size: 1.5em;
    line-height: 1.5;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

p.text {
    padding-left: 8px;
    margin: 10px 0 20px;
    border-left: 2px solid var(--main-color);
}
p.text b {
    font-weight: 500;
}
.emj {
    display: inline-block;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
}
.emj.cool {
    background-image: url(../img/cool.png);
}
.emj.kiss {
    background-image: url(../img/kiss.png);
}
.emj.fun {
    background-image: url(../img/fun.png);
}
.emj.money {
    background-image: url(../img/money.png);
}
.emj.security {
    background-image: url(../img/security.png);
}
.steps__wrap {
    border: 3px solid var(--main-color);
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 20px;
}
.steps__wrap img {
    width: 40px;
    margin: 0 auto 20px;
}
.step_num {
    font-family: "Poiret One", sans-serif;
    font-size: 1.8em;
    letter-spacing: 8px;
    color: var(--main-color);
    margin-bottom: 20px;
}
.review__wrap {
    display: flex;
    align-items: flex-start;
    column-gap: 15px;
    margin-bottom: 30px;
}
.review__wrap:nth-child(even) {
    display: flex;
    flex-direction: row-reverse;
}
.review_ava {
    width: 60px;
}
.review_content {
    background: #d8d8d8;
    border-radius: 30px;
    color: #000;
    padding: 20px;
}
.review_content .info {
    position: relative;
    padding: 0 30px;
    font-weight: 300;   
    font-size: 0.9em;
    margin-bottom: 20px;
}
.review_content .info span {
    display: block;
    margin-bottom: 10px;
}
.review_content .info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 19px;
    background-image: url(../img/quot.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

form input {
    display: block;
    margin-bottom: 20px;
    width: 100%;
    background: transparent;
    color: #fff;
    border: 1px solid #595959;
    border-radius: 30px;
    height: 60px;
    text-align: center;
    font-size: 1.2em;
    font-family: "Montserrat", sans-serif;
}
form .btn {
    width: 100%;
    border: 0;
    font-family: "Montserrat", sans-serif;
}
.help {
    font-size: 0.8em;
    margin-top: -10px;
    margin-bottom: 10px;
    text-align: center;
    display: none;
}
#nickname:invalid + .help {
    display: block;
}

.contact__link {
    position: relative;
    display: block;
    color: #fff;
    font-size: 1.2em;
    font-weight: 200;
    padding: 5px 0 5px 55px;
    border-left: 2px solid var(--main-color);
}
.contact__link::before {
    content: '';
    width: 28px;
    height: 28px;
    position: absolute;
    top: 6px;
    left: 15px;
    background-repeat: no-repeat;
    background-size: contain;
}
.contact__link.telegram::before {
    background-image: url(../img/tg.svg);
}

footer {
    text-align: center;
    font-size: 0.8em;
    line-height: 1.5;
    padding: 1em 0;
}
.footerLogo {
    width: 80px;
    margin: 20px auto;
}
footer a {
    display: block;
    color: #fff;
    transition: all 0.3s ease;
}
footer a:hover {
    text-decoration: underline;
}