.wrapper {
    background-color: var(--primary-color);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(https://animeaz.site/dex-ezekiel-IxDPZ-AHfoI-unsplash.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 10px 0;
}

.wrapper__box {
    padding: 20px;
    background-color: #123456;
    box-shadow: 0 0 12px rgb(0 0 0 / 40%);
    border-radius: 10px;
    min-height: 530px;
    min-width: 527px;
    text-align: center;
    color: #fff;
}

.wrapper__box form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.wrapper__box h5 {
    font-size: 22px;
    margin-bottom: 36px;
}

.wrapper__box.register h5 {
    margin-top: unset;
}

.wrapper__box h5 a {
    color: #fff305;
    text-decoration: none;
    text-transform: uppercase;
}

.wrapper__box-other--btn {
    display: block;
    margin: 0 auto 12px;
    width: 50%;
    margin-bottom: 12px;
    min-width: 270px;
    min-height: 30px;
    line-height: 30px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.wrapper__box-other--btn.face {
    background-color: #4765ca;
}

.wrapper__box-other--btn.face i svg {
    width: 12.5px;
}

.wrapper__box-other--btn.gg {
    background-color: #e43838;
}

.wrapper__box-other--btn + span {
    font-style: italic;
    margin-bottom: 10px;
    font-size: 13px;
    display: inline-block;
}

.wrapper__box-text {
    background-color: #2de3da;
    min-width: 270px;
    margin-bottom: 10px;
    padding: 8px 12px;
    font-size: 16px;
    color: #000;
}

.wrapper__box-button {
    min-width: 270px;
    font-size: 16px;
    margin: 12px;
}

.wrapper__box form + span {
    margin-top: 27px;
    display: inline-block;
}

.wrapper__box form ~ span a {
    text-decoration: none;
    color: #e43838;
}

.wrapper__box form ~ span:last-child {
    display: block;
}

.error_msg {
    font-size: 13px;
    display: inline-block;
    margin-bottom: 12px;
    margin-top: -8px;
    font-style: italic;
    color: #e43838;
}

.error_msg.last {
    font-size: 14px;
    font-style: unset;
    margin-bottom: 0;
    margin-top: 12px;
}

@media (max-width: 1023px) {
    .wrapper__box {
        min-width: 450px;
    }
}

@media (max-width: 740px) {
    .wrapper__box {
        min-width: 380px;
    }
}

@media (max-width: 490px) {
    .wrapper__box {
        min-width: 300px;
    }
    .wrapper__box form + span {
        margin-top: 14px;
    }
}
