@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&family=Poppins:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    /* font-family: 'Noto Sans', sans-serif; */
    font-family: 'Roboto', sans-serif;
}

:root {
    --color: #293356;
}


/**
======================== Header ===========================
**/

ul.nav-list>li>a {
    color: #fff;
    text-transform: none;
    transition: 0.3s;
}

ul.nav-list>li>a:hover {
    opacity: 0.7;
}

.logo {
    position: absolute;
    left: 45%;
    top: 5%;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--color);
    height: 8vh;
}

ul.nav-list {
    list-style: none;
    display: flex;
}

ul.nav-list li {
    letter-spacing: 3px;
    margin-left: 32px;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.mobile-menu div {
    width: 32px;
    height: 2px;
    background: #fff;
    margin: 8px;
    transition: 0.3s;
}

.nav-list.active {
    transform: translateX(0);
}

.mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
    opacity: 0;
}

.mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
}

/**
======================= end Header
**/

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #ecf0f1;
}

.content {
    position: relative;
    border-radius: 15px;
    background-color: #fefefe;
    width: 65vw;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content::before {
    content: "";
    position: absolute;
    background-color: var(--color);
    width: 40%;
    height: 100%;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.content::after {
    content: "";
    position: absolute;
    background-color: #f47a00;
    width: 100%;
    height: 0%;
    bottom: 0;
    border-radius: 15px;
}

.title {
    font-size: 1.7vw;
    font-weight: bold;
    text-transform: capitalize;
}

.title-primary {
    color: #fefefe;
}

.title-secondary {
    color: var(--color);
}

.description {
    font-size: 13px;
    font-weight: 300;
    line-height: 25px;
}

.description-primary {
    color: #fefefe;
}

.description-secondary {
    color: #7f8c8d;
}

.btn {
    padding: 10px 30px;
    margin-top: 1rem;
    border-width: 0px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fefefe;
    align-self: center;
    cursor: pointer;
}

.btn-primary {
    background-color: transparent;
    border: 1px solid #fefefe;
    transition: background-color .5s;
}

.btn-primary:hover {
    background-color: #fefefe;
    color: var(--color);
}

.btn-secondary {
    background-color: var(--color);
    border: 1px solid var(--color);
    transition: background-color .5s;
}

.btn-secondary:hover {
    background-color: #fefefe;
    border: 1px solid var(--color);
    color: var(--color);
}

/*
=================== First Content =====================
*/

.first-content {
    display: flex;
}

.first-content .second-column {
    z-index: 11;
}

.first-column {
    text-align: center;
    width: 40%;
    z-index: 10;
}

.second-column {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form {
    display: flex;
    flex-direction: column;
    width: 30vw;
}

.form input {
    height: 6.26vh;
    width: 100%;
    border: none;
    background-color: #ecf0f1;
    outline: 0;
}


input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #ecf0f1 inset !important;
    -webkit-text-fill-color: var(--color) !important;
}

.label-input {
    background-color: #ecf0f1;
    display: flex;
    align-items: center;
    margin: 8px;
}

.icon-modify {
    color: #7f8c8d;
    padding: 0 5px;
}

/*
=================== Second Content =====================
*/

.second-content {
    position: absolute;
    display: flex;
}

.second-content .first-column {
    order: 2;
    z-index: -1;
}

.second-content .second-column {
    order: 1;
    z-index: -1;
}

.forgotpassword {
    width: 160px;
    margin: 15px 0px;
    font-size: 14px;
    color: #34495e;
    align-self: center;
    text-align: center;
}

.forgotpassword::first-letter {
    text-transform: capitalize;
}

/*
======================= JS ========================
*/

/*------------------- Before ---------------------*/

.sign-in-js .first-content .first-column,
.sign-in-js .first-content .second-column {
    z-index: -1;
}

.sign-in-js .second-content .second-column {
    z-index: 11;
}

.sign-in-js .second-content .first-column {
    z-index: 13;
}

.sign-in-js .content::before {
    left: 60%;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    animation: slidein 1.2s;
    z-index: 12;
}

.sign-up-js .content::before {
    animation: slideout 1.2s;
    z-index: 12;
}

.sign-up-js .second-content .first-column,
.sign-up-js .second-content .second-column {
    z-index: -1;
}

.sign-up-js .first-content .second-column {
    z-index: 11;
}

.sign-up-js .first-content .first-column {
    z-index: 13;
}


/* Por trás do BEFORE */
.sign-in-js .first-content .second-column {
    z-index: -1;
    position: relative;
    animation: deslocamentoEsq 1.2s;
}

.sign-up-js .second-content .second-column {
    z-index: -1;
    position: relative;
    animation: deslocamentoDir 1.2s;
}


/*-------------------- After ---------------------*/

.forgot-password-in .first-content .first-column,
.forgot-password-in .first-content .second-column {
    z-index: -1;
}




.sign-in-js .first-content .first-column,
.sign-in-js .first-content .second-column,
.sign-up-js .first-content .first-column,
.sign-up-js .first-content .second-column {}


/*
===================== Animação CSS =====================
*/

@keyframes deslocamentoEsq {
    from {
        left: 0px;
        opacity: 1;
        z-index: 12;
    }

    50% {
        left: -55px;
        opacity: .6;
    }

    to {
        left: -110px;
        opacity: 0;
        z-index: -1;
    }
}

@keyframes deslocamentoDir {
    from {
        left: 0px;
        opacity: 1;
        z-index: 12;
    }

    50% {
        left: 90px;
        opacity: .6;
    }

    to {
        left: 110px;
        opacity: 0;
        z-index: -1;
    }
}







@keyframes slidein {
    from {
        left: 0;
        width: 40%;
    }

    50% {
        left: 30%;
        width: 60%;
    }

    to {
        left: 60%;
        width: 40%;
    }
}

@keyframes slideout {
    from {
        left: 60%;
        width: 40%;
    }

    50% {
        left: 30%;
        width: 60%;
    }

    to {
        left: 0;
        width: 40%;
    }
}




/**
======================== Media =========================
**/


@media only screen and (max-width: 950px) {

    body {
        overflow-x: hidden;
    }

    .nav-list {
        position: absolute;
        top: 8vh;
        right: 0;
        width: 50vw;
        height: 92vh;
        background: var(--color);
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;

    }

    .logo {
        left: 42%;
        top: 8%;
    }

    .nav-list li {
        margin-left: 0;
        opacity: 0;
    }

    .mobile-menu {
        display: block;
    }

    .content {
        width: 95%;
        height: 55%;
    }

    .title {
        font-size: 28px;
    }

    .description.description-primary {
        font-size: 13.5px;
    }

    .form {
        width: 40vw;
    }

    .btn {
        height: auto;
        width: 120px;
        padding: 10px 30px;
        font-size: 11px;
    }
}

@media only screen and (max-width: 600px) {
    .content {
        width: 95%;
        height: auto;
    }

    .content::before {
        width: 8%;
    }

    .first-column {
        display: none;
    }

    .second-column {
        width: 100%;
    }

    .title {
        font-size: 5.7vw;
        padding: 15px 0 0;
    }

    .description {
        font-size: 3vw;
    }

    .content.second-content .description {
        margin-bottom: 26.21px;
    }

    .form {
        width: 80%;
    }

    .form input {
        height: 6.26vh;
        width: 100%;
    }

    .btn {
        height: auto;
        width: 40%;
        padding: 10px 30px;
        margin-bottom: 1rem;
        font-size: 11px;
    }

    .logo {
        left: 28%;
        top: 15%;
    }

    /*
======================== JS ===========================
*/

    .sign-in-js .first-content .second-column {
        z-index: -1;
    }

    .sign-in-js .second-content .second-column {
        z-index: 11;
    }

    .sign-in-js .content::before {
        left: 92%;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
        animation: slidein 1.2s;
        z-index: 12;
    }

    .sign-up-js .content::before {
        animation: slideout 1.2s;
        z-index: 12;
    }

    .sign-up-js .second-content .second-column {
        z-index: -1;
    }

    .sign-up-js .first-content .second-column {
        z-index: 11;
    }


    /* Por trás do BEFORE */
    .sign-in-js .first-content .second-column {
        z-index: -1;
        position: relative;
        animation: deslocamentoEsq 1.2s;
    }

    .sign-up-js .second-content .second-column {
        z-index: -1;
        position: relative;
        animation: deslocamentoDir 1.2s;
    }

    /*
===================== Animação CSS =====================
*/

    @keyframes deslocamentoEsq {
        from {
            left: 0px;
            opacity: 1;
            z-index: 12;
        }

        50% {
            left: -55px;
            opacity: .6;
        }

        to {
            left: -110px;
            opacity: 0;
            z-index: -1;
        }
    }

    @keyframes deslocamentoDir {
        from {
            left: 0px;
            opacity: 1;
            z-index: 12;
        }

        50% {
            left: 90px;
            opacity: .6;
        }

        to {
            left: 110px;
            opacity: 0;
            z-index: -1;
        }
    }







    @keyframes slidein {
        from {
            left: 0;
            width: 40%;
        }

        50% {
            left: 30%;
            width: 60%;
        }

        to {
            left: 60%;
            width: 40%;
        }
    }

    @keyframes slideout {
        from {
            left: 60%;
            width: 40%;
        }

        50% {
            left: 30%;
            width: 60%;
        }

        to {
            left: 0;
            width: 40%;
        }
    }
}







@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}