*, *::after, *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}
/* Generic */
body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    background-color: var(--neo-background);
    color: var(--primary-text-color);
}
/**/
main {
    position: relative;
    width: 1000px;
    min-width: 1000px;
    min-height: 600px;
    height: 600px;
    padding: 25px;
    background-color: var(--neo-background);
    box-shadow: 10px 10px 10px var(--neo-grey-blue), -10px -10px 10px var(--neo-white-blue);
    border-radius: 12px;
    overflow: hidden;
}
@media (max-width: 1200px) {
    main {
        transform: scale(0.7);
   }
}
@media (max-width: 1000px) {
    main {
        transform: scale(0.6);
   }
}
@media (max-width: 800px) {
    main {
        transform: scale(0.5);
   }
}
@media (max-width: 600px) {
    main {
        transform: scale(0.4);
   }
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    width: 600px;
    height: 100%;
    padding: 25px;
    background-color: var(--neo-background);
    transition: 1.25s;
}
.form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.form__icon {
    object-fit: contain;
    width: 30px;
    margin: 0 5px;
    opacity: 0.5;
    transition: 0.15s;
}
.form__icon:hover {
    opacity: 1;
    transition: 0.15s;
    cursor: pointer;
}
form button:hover {
    cursor: pointer;
    box-shadow: 0px 0px 17px 10px var(--neo-grey-blue), -8px -8px 16px var(--neo-white-blue);
    transition: all 0.25s ease-in-out;
}
a:hover {
    cursor: pointer;
    color: var(--primary-text-color);
    transition: all 0.25s ease-in-out;
}
.form__input {
    width: 350px;
    height: 40px;
    margin: 4px 0;
    padding-left: 25px;
    font-size: 13px;
    letter-spacing: 0.15px;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--neo-background);
    transition: 0.25s ease;
    border-radius: 8px;
    box-shadow: inset 2px 2px 4px var(--neo-grey-blue), inset -2px -2px 4px var(--neo-white-blue);
}
.form__input:focus {
    box-shadow: inset 4px 4px 4px var(--neo-grey-blue), inset -4px -4px 4px var(--neo-white-blue);
}
.form__span {
    margin-top: 30px;
    margin-bottom: 12px;
}
.form__link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    margin-top: 25px;
    border-bottom: 1px solid var(--primary-text-color);
    line-height: 2;
}
.title {
    font-size: 34px;
    font-weight: 700;
    line-height: 3;
    color: var(--primary-color);
}
.title-minus {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: 2rem;
}
.description {
    font-size: 14px;
    letter-spacing: 0.25px;
    line-height: 1.6;
}
.button {
    width: 180px;
    height: 50px;
    border-radius: 25px;
    margin-top: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.15px;
    background-color: var(--secondary-color);
    color: var(--neo-white-blue);
    box-shadow: 8px 8px 16px var(--neo-grey-blue), -8px -8px 16px var(--neo-white-blue);
    border: none;
    outline: none;
}
/**/
.a-container {
    z-index: 100;
    left: calc(100% - 600px);
}
.b-container {
    left: calc(100% - 600px);
    z-index: 0;
}
.switch {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 400px;
    padding: 50px;
    z-index: 200;
    transition: 1.25s;
    background-color: var(--neo-background);
    overflow: hidden;
    box-shadow: 4px 4px 10px var(--neo-grey-blue), -4px -4px 10px var(--neo-white-blue);
}

.switch > a {
    position: absolute;
    top: 15px;
    left: 10px;
    color: var(--primary-color);
    text-decoration: none;
    z-index: 100;
}

.switch > a svg {
    width: 30px;
    transform: rotate(180deg);
}

.switch__circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: var(--neo-background);
    box-shadow: inset 8px 8px 12px var(--neo-grey-blue), inset -8px -8px 12px var(--neo-white-blue);
    bottom: -60%;
    left: -60%;
    transition: 1.25s;
}
.switch__circle--t {
    top: -30%;
    left: 60%;
    width: 300px;
    height: 300px;
}
.switch__container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    width: 400px;
    padding: 50px 55px;
    transition: 1.25s;
}
.switch__button {
    cursor: pointer;
}
.switch__button:hover {
    box-shadow: 6px 6px 10px var(--neo-grey-blue), -6px -6px 10px var(--neo-white-blue);
    transform: scale(0.985);
    transition: 0.25s;
}
.switch__button:active, .switch__button:focus {
    box-shadow: 2px 2px 6px var(--neo-grey-blue), -2px -2px 6px var(--neo-white-blue);
    transform: scale(0.97);
    transition: 0.25s;
}

.form__register {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-inline: 2rem;
    justify-content: space-evenly;
}

.form__register .form__register-input__container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.form__register-send__container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form__register h2 {
    margin: 0 auto;
}

.form__register .form__register-name,
.form__register .form__register-password,
.form__register .form__register-email {
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.form__register div input {
    width: 100%;
}

.form__register a {
    width: fit-content;
    margin: 0 auto;
}

.form__register button {
    margin: 0 auto;
}

.form__register button:disabled {
    background-color: var(--neo-grey-blue);
    color: var(--neo-white-blue);
    box-shadow: 8px 8px 16px var(--neo-grey-blue), -8px -8px 16px var(--neo-white-blue);
    border: none;
    outline: none;
}

.error-message {
    color: var(--danger-color);
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
}