/* Section Authentication */
.auth {
    padding: 100px 0;
    background: var(--color-bg-light);
}
.auth-content {
    margin: auto;
    padding: 50px;
    width: 600px;
    background: var(--color-bg);
    border-radius: 30px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    text-align: center;
}
.auth-content > img {
    margin-bottom: 50px;
    width: 300px;
}
.auth-content > div {
    position: relative;
    display: flex;
    height: 45px;
    background: rgb(245, 245, 245);
    border-radius: 50px;
    overflow: hidden;
}
.auth-content > div > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--color-gradient);
    border-radius: 50px;
}
.auth-content > div > div.toggling { transform: scaleX(3); }
.auth-content > div > div.toggled { left: 50%; }
.auth-content > div > button,
.auth-content > div > button:hover {
    position: relative;
    padding: 10px 0;
    width: 100%;
    color: rgb(150, 150, 150);
    font-family: var(--font-heading2);
    border: 0;
    background: transparent;
    text-transform: uppercase;
}
.auth-content > div > button.active,
.auth-content > div > button.active:hover { color: var(--color-white); }

.auth-content > form {
    display: none;
    width: 500px;
    margin-top: 40px;
    opacity: 0;
    visibility: hidden; 
    transform: scale(0);
}
.auth-content > form.active {
    display: block;
    opacity: 1;
    visibility: visible; 
    transform: scale(1);
}
.auth-content > form > div:nth-child(1) {
    text-align: left;
}
.auth-content > form > div > p {
    margin-top: 5px;
    line-height: unset;
}
.auth-content > form > div:nth-child(2) {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.auth-content > form > div > div {
    display: flex;
    gap: 15px;
}
.auth-content > form > div .input {
    font-size: var(--font-s-normal);
}
.auth-content > form > div > p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    line-height: auto;
}
.auth-content > form > div > p > a {
    text-decoration: none;
    color: var(--color-primary);
}
.auth-content > form > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px auto auto;
}
.auth-content > form > div > span {
    cursor: pointer;
    color: var(--color-primary);
    font-family: var(--font-text2);
}
.auth-content > form > div > button {
    width: 200px;
}


@media only screen and (max-width: 768px) {
    .auth-content {
        padding: 20px;
        width: 90%;
    }
    .auth-content > form {
        width: 100%;
    }
    .auth-content > form > div:nth-child(2) > div {
        flex-direction: column;
    }
    .auth-content > form > div:last-child {
        margin-top: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .auth-content > form > div > button {
        width: 100%;
    }
    
}