@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');



body{
    margin: 0;
    font-family: "Noto Sans", sans-serif;
}

body * {
    box-sizing: border-box;
}

main {
    width: 100vw;
    height: 100vh;
    background: #201b2c;
    display: flex;
    justify-content: center;
    align-items: center;
}  /* O justify-content referesse ao eixo x e o align-items referesse ao eixo y */


.esquerda-login {
    width: 50vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.esquerda-login > h1{
    color: #77ffc0;
    font-size: 4vh;
    
} /* A seta > é usado para selecionar uma tag dentro da tag selecionada */

.img-login {
    width: 30vw;
}




.direita-login {
    width: 50vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
}  /* O justify-content referesse ao eixo x e o align-items referesse ao eixo y */





.card-login{
    width: 60%;
    background: blue;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px 35px;
    background-color: #2f2841;
    border-radius: 20px;
    box-shadow: 0px 10px 40px #00000056;
}

.card-login > h1{
    color: #00ff88;
    font-weight: 800;
    margin: 0;
    
}


.textfield{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 10px 0px;
}  
/* O justify-content referesse ao eixo x e o align-items referesse ao eixo y. Porém 
quando usamos junto o flex-direction essa ordem é invertida, ou seja o justify-content vai se referir
ao eixo y e o align-items vai se referir ao eixo x */





.textfield > input{
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 15px;
    background: #514869;
    color: #f0ffffde;
    font-size: 12pt;
    box-shadow: 0px 10px 40px #00000056;
    outline: none;
    box-sizing: border-box;   /* Coloca uma colisão entre a div filho e a div pai,
    a div filho não vai poder ultrapassar o tamanho da div pai. */
} 


.textfield > label {
    color: #f0ffffde;
    margin-bottom: 5px;
}


.textfield > input::placeholder{
    color: #f0ffff94;
}


.btn-login {
    width: 100%;
    padding: 16px 0px;
    margin: 25px;
    border: none;
    border-radius: 8px;
    outline: none;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    color: #2b134b;
    background: #00ff88;
    cursor: pointer;
    box-shadow: 0px 10px 40px -12px #00ff8052;
}




@media only screen and (max-width: 950px){
    .card-login{
        width: 85%;
    }
}


@media only screen and (max-width: 600px){
    main{
        flex-direction: column;
    }
    .esquerda-login > h1{
        display: none;
    }

    .esquerda-login {
        width: 100%;
        height: auto;
        
    }

    .direita-login {
        width: 100%;
        height: auto;
        
    }

    .esquerda-login {
        width: 50vh;
    }

    .card-login{
        width: 90%;
    }
}