:root {
    --principalColor: #f11f40;
    --secundaryColor: #333333;
    --principalColorDarker: #e21737;
}

main {
    background: radial-gradient(circle at 7% 85%, #FF0042, transparent 28%),
        radial-gradient(circle at 98% 50%, #FF0042, transparent 40%);
    background-color: #141212;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    display: grid;
    place-content: center;
}

.login {
    width: 100%;
    max-width: 760px;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    padding: 0px 12px;
    padding-right: 28px;
    background: #fff;
    min-height: 462px;
    border-radius: 32px;
    column-gap: 24px;
}

.register {
    width: 100%;
    max-width: 760px;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    padding: 12px;
    padding-right: 28px;
    background: #fff;
    min-height: 500px;
    border-radius: 32px;
    column-gap: 24px;
}

.main_wellcome {
    border-radius: 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: flex-end;
    height: 96%;
}

.main_wellcome--circle--img {
    z-index: 2;
    bottom: 116px;
    right: -16px;
}

.main_wellcome--text {
    padding: 20px;
    position: absolute;
    z-index: 2;
}

.main_wellcome--text h2 {
    font-size: 24px;
    margin: 0;
    font-weight: normal;
    line-height: 28px;
}

.main_wellcome--text span {
    font-size: 32px;
    font-weight: bold;
}

.main_wellcome--text p {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 12px;
    margin: 0;
    line-height: 28px;
    text-transform: uppercase;
}

.main_login {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    margin-top: 32px;
    height: 400px;
    overflow: auto;
}

.main_login--data {
    display: grid;
    row-gap: 16px;
}

.main_login--data p {
    color: var(--principalColor);
    margin: 4px;
    font-weight: 600;
}

.main_login--logo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main_login--logo figure,
.main_login--logo figure img {
    width: 130px;
    margin: 0;
}

.error__input {
    border: 1px solid orange;
    border-radius: 4px;
    display: grid;
    place-items: center;

    position: absolute;
    height: 100%;
    max-height: 24px;
    aspect-ratio: 1;
    bottom: 8px;
    right: 20px;
    background: orange;
}

label input.bounce~.error__input {
    max-height: 27.4px;
    bottom: 10.5px;
}

@media (max-width: 768px) {
    .login {
        row-gap: 12px;
        width: 94%;
        margin-top: 0px;
        display: flex;
        flex-direction: column-reverse;
    }

    .register {
        width: 46vh;
        row-gap: 12px;
        margin-top: 0px;
        display: flex;
        flex-direction: column-reverse;
    }

    .main_wellcome {
        order: 2;
        display: none;
    }

    .main_wellcome--circle--s {
        width: 20px;
        height: 20px;
    }

    .main_wellcome--circle--m {
        width: 40px;
        height: 40px;
        top: 0;
        left: 50%;
    }

    .main_wellcome--circle--l {
        width: 60px;
        height: 60px;
        right: 30px;
        bottom: 10px;
    }

    .main_login {
        row-gap: 12px;
    }

    .main_login--data {
        row-gap: 8px;
    }

    .main_wellcome--circle--img {
        display: none;
    }

    .main_wellcome--decoration {
        display: none;
    }

    .main_wellcome--text {
        display: none;
    }
}

@media (max-width: 425px) {
    .login {
        width: 94%;
        padding-right: 12px;
        place-self: center;
    }

    .main_wellcome {
        padding: 12px 16px;
    }

    .main_wellcome--text p {
        letter-spacing: 11px;
    }
}