@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root
{
    --linear-grad: linear-gradient(to right,  #141E30, #243B55);
    --grad-clr1: #597cbe;
    --grad-clr2: #243B55;
}

.desktop footer
{
    z-index: 13;
}

.desktop body
{
    height: 100vh;
    background: #282729;
    display: grid;
    place-content: center;
    font-family: 'Poppins', sans-serif;
}

.desktop footer
{
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
}

.desktop footer marker
{
    padding: 8px 30px;
    border-radius: 7px;
}

.desktop footer a
{
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: #003;
}

.desktop
{
    position: relative;
    width: 850px; height: 500px;
    background-color: #fff;
    box-shadow: 1px 3px 12px 5px rgba(0, 0, 0, 0.5);
    border-radius: 13px;
    overflow: hidden;
    margin-top: 10%;
}

.form-container
{
    position: absolute;
    width: 60%;
    height: 100%;
    padding: 0px 40px;
    transition: all .3s ease-in-out;
}

.sign-up-container
{
    opacity: 0;
    z-index: 1;
}

.sign-in-container
{
    z-index: 2;
}

.desktop form
{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 50px;
}

.desktop h1
{
    color: var(--grad-clr1);
}

.social-container
{
    margin: 20px 0px;
}

.social-container a
{
    border: 1px solid #ddd;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0px 5px;
    height: 40px;
    width: 40px;
}

.desktop span
{
    font-size: 12px;
}

.infield
{
    position: relative;
    margin: 8px 0px;
    width: 100%;
}

.desktop input
{
    width: 100%;
    padding: 12px 15px;
    background-color: #f3f3f3;
    border: none;
    outline: none;
}

.desktop label
{
    position: absolute;
    left: 55%;
    top: 70%;
    transform: translateX(-50%);
    width: 0%; height:  2px;
    background: var(--linear-grad);
    transform: .3s;
}

.desktop input:focus ~ .desktop label
{
    width: 100%;
}

.desktop a
{
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0px;
}

.desktop a.forgot
{
    padding-bottom: 3px;
    border-bottom: 2px solid #EEE;
}

.desktop button
{
    border-radius: 20px;
    border: 1px solid var(--grad-clr1);
    background: var(--grad-clr2);
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.desktop .form-container input
{
    margin: 17px;
    transition: 80ms ease-in;
}

.desktop .form-container input:hover
{
    background: #FFF;
    color: var(--grad-clr1);
}

.desktop .overlay-container
{
    position: absolute;
    top: 0%;
    left: 60%;
    width: 40%;
    height: 100%;
    overflow: hidden;
    transition: transform .6s ease-in-out;
    z-index: 9;
}

.desktop #overlayBtn
{
    cursor: pointer;   
    position: absolute;
    left: 50%;
    top: 304px;
    transform: translateX(-50%);
    width: 243.67px;
    height: 40px;
    border: 1px solid #FFF;
    background: transparent;
    border-radius: 20px;
}
.desktop .overlay
{
    position: relative;
    background: var(--linear-grad);
    color: #FFF;
    left: -150%;
    height: 100%;
    width: 250%;
    transition: transform .6s ease-in-out;
}

.desktop .overlay-panel
{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0px 40px;
    text-align: center;
    height: 100%;
    width: 340px;
    transition: .6s ease-in-out;
}

.desktop .overlay-left
{
    right: 60%;
    transform: translateX(-12%);
}

.desktop .overlay-right
{
    right: 0;
    transform: translateX(0%);
}

.desktop .overlay-right button
{
    transform: translateY(-26.2%);
}

.desktop .overlay-panel h1
{
    color: #fff;
    line-height: 35px;
}

.desktop p
{
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: .5px;
    margin: 25px 0px 35px;
}

.desktop .overlay-panel button
{
    border: none;
    background-color: transparent;
}

 .right-panel-active .overlay-container
{
    transform: translateX(-150%);
}

.right-panel-active .overlay
{
    transform: translateX(50%);
}
.right-panel-active .overlay-left
{
    transform: translateX(25%);
}
.right-panel-active .overlay-right
{
    transform: translateX(35%);
}

.right-panel-active .sign-in-container
{
    transform: translateX(20%);
    transition: .56s ease-in-out;
    opacity: 0;
    z-index: 0;
}

.right-panel-active .sign-up-container
{
    transform: translateX(64%);
    opacity: 1;
    z-index: 1;
    animation: show .6s;
}


/* RETURNING ERRO OR ALERT TO USER  */
.desktop .alert-user
{
    width: 400px;
    max-width: 100%;
    background-color: rgb(247, 142, 23);
    padding: 20px;
    border-radius: 9px;
}

@keyframes show
{
    0%, 50%
    {
        opacity: 0;
        z-index: 1;
    }
    50.1%, 100%
    {
        opacity: 1;
        z-index: 5;
    }
}

@media (max-width: 784px) {
    /* Quando a largura for maior que 700px, o elemento aparecerá */
    .desktop {
        display: none; /* ou o display adequado, como flex, grid, etc. */
    }
}

@media (min-width: 784px) {
    /* Quando a largura for maior que 700px, o elemento aparecerá */
    .mobile {
        display: none; /* ou o display adequado, como flex, grid, etc. */
    }
}