html,
body {
    width: 100%;
    overflow-x: hidden;
}

.main {
    min-height: calc(100vh - var(--nav_height));
    position: relative;
    display: flex;
    align-items: center;
    padding: 24px;
    justify-content: center;
    background: #2980b9;
    background-image: url(../../img/signup/mountain.svg), url(../../img/signup/stars_white.svg), url(../../img/signup/stars_lblue.svg), linear-gradient(to right, var(--accent), var(--lighter_accent), var(--white)) !important;
    background-repeat: no-repeat !important;
    background-position: bottom right, left 50% top 60%, center, center, center, center !important;
    background-size: auto 45%, contain, contain, contain, contain, contain !important;
}

.darkmode .main {
    background: var(--white);
    background-image: url(../../img/signup/mountain.svg), url(../../img/signup/stars_white.svg), url(../../img/signup/stars_lblue.svg), linear-gradient(to right, #221f4e, #322d72, #3d388d) !important;
}

.block {
    display: block;
}

.box {
    overflow: hidden;
    position: relative;
    z-index: 2;
    background-color: var(--secondary_background);
    padding: 24px 32px;
    max-width: 420px;
    width: 100%;
}

@media (min-width: 500px) {
    .box {
        padding: 48px 64px;
    }
}

h1 {
    font-size: 24px;
}

ul {
    padding-left: 17px;
}

.error {
    text-align: center;
    display: none;
    color: var(--red);
    font-size: 14px;
}

.box form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main label {
    margin-top: 24px;
    margin-bottom: 10px;
}

.bold {
    font-weight: 600;
}

.cloud {
    width: 100%;
    position: absolute;
    z-index: 1;
    animation-name: animation;
    animation-duration: 300s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
}

.cloud:nth-of-type(1) {
    top: 3%;
    left: 3%;
    right: 3%;
    height: 140px;
}

.cloud:nth-of-type(2) {
    height: 130px;
    bottom: 5%;
    right: 5%;
    animation-direction: alternate-reverse;
}

.cloud img {
    height: 100%;
}

@keyframes animation {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.reset-success #reset-success {
    display: block;
}

#reset_password,
.reset #main_form {
    display: none;
}

.reset #reset_password {
    display: block;
}

#reset-success,
.reset-success #reset_password,
.reset-success #main_form {
    display: none;
}

#sendagain {
    display: block;
    margin-top: 5px;
}

#vk,
#yandex,
#google {
    display: flex;
}