/* ==================================================
   RESET
================================================== */

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

/* ==================================================
   BODY
================================================== */

body{

    background:#FAF7F2;

    font-family:'Poppins',sans-serif;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:100vh;

    color:#3A3A3A;
    overflow-x:hidden;

}

/* ==================================================
   CAIXA
================================================== */

.login-container{

    width:440px;

    background:#FFFFFF;

    padding:38px;

    border-radius:18px;

    border:2px solid #D9C7A3;

    box-shadow:0 12px 35px rgba(140,122,90,.18);
    max-width:calc(100vw - 48px);

}

/* ==================================================
   TÍTULO
================================================== */

.logo{

    font-family:'Playfair Display',serif;

    font-size:42px;

    font-weight:800;

    color:#8C7A5A;

    text-align:center;

    margin-bottom:10px;

}

.subtitle{

    text-align:center;

    color:#5A4A3A;

    font-size:18px;

    margin-bottom:35px;

}

/* ==================================================
   FORMULÁRIOS
================================================== */

form{

    width:100%;

}

label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#5A4A3A;

}

input{

    width:100%;

    padding:15px;

    margin-bottom:22px;

    border:2px solid #D9C7A3;

    border-radius:12px;

    font-size:16px;

    background:white;

    transition:.25s;

}

input:focus{

    outline:none;

    border-color:#8C7A5A;

    box-shadow:0 0 12px rgba(140,122,90,.20);

}

/* ==================================================
   LINK
================================================== */

.text-link{

    display:block;

    text-align:right;

    margin-top:-10px;

    margin-bottom:25px;

    text-decoration:none;

    color:#8C7A5A;

    font-size:15px;

}

.text-link:hover{

    color:#5A4A3A;

}

/* ==================================================
   BOTÕES
================================================== */

.primary-btn{

    width:100%;

    padding:15px;

    background:#8C7A5A;

    color:white;

    border:none;

    border-radius:12px;

    cursor:pointer;

    font-size:17px;

    font-weight:600;

    transition:.25s;

}

.primary-btn:hover{

    background:#756548;

    transform:translateY(-2px);

}

.secondary-btn{

    width:100%;

    padding:15px;

    margin-top:15px;

    background:#F7EFE3;

    border:2px solid #D9C7A3;

    border-radius:12px;

    cursor:pointer;

    font-size:17px;

    font-weight:600;

    color:#8C7A5A;

    transition:.25s;

}

.secondary-btn:hover{

    background:#EDE4D4;

}

/* ==================================================
   SEPARADOR
================================================== */

.separator{

    display:flex;

    align-items:center;

    margin:30px 0;

}

.separator::before,
.separator::after{

    content:"";

    flex:1;

    height:1px;

    background:#D9C7A3;

}

.separator span{

    padding:0 18px;

    color:#8C7A5A;

    font-weight:600;

}

/* ==================================================
   MENSAGENS
================================================== */

.message{

    display:none;

    margin-top:18px;

    padding:14px;

    border-radius:10px;

    background:#FFE9E9;

    border-left:5px solid #D60000;

    color:#A10000;

    font-size:15px;

}

/* ==================================================
   H2
================================================== */

h2{

    text-align:center;

    font-family:'Playfair Display',serif;

    color:#8C7A5A;

    margin-bottom:30px;

    font-size:34px;

}

/* ==================================================
   ANIMAÇÃO
================================================== */

#loginSection,
#registerSection,
#forgotSection{

    animation:fade .35s;

}

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==================================================
   RESPONSIVO
================================================== */

@media(max-height:800px) and (min-width:601px){
    .login-container{padding:28px}
    .logo{font-size:36px;margin-bottom:6px}
    .subtitle{margin-bottom:20px}
    h2{font-size:28px;margin-bottom:18px}
    input{padding:11px;margin-bottom:14px}
    label{margin-bottom:5px}
    .text-link{margin-bottom:17px}
    .primary-btn,.secondary-btn{padding:12px;font-size:16px}
    .separator{margin:18px 0}
}

@media(max-height:650px) and (min-width:601px){
    .login-container{transform:scale(.88);transform-origin:center}
}

@media(max-width:600px){

.login-container{

    width:92%;

    padding:30px;

}

.logo{

    font-size:32px;

}

.subtitle{

    font-size:16px;

}

}
