* {
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: 'Fonte1';
    src: url('../fontes/A2-Type\ New\ Rail\ Alphabet\ Bold.otf') format('truetype');
}
@font-face {
    font-family: 'Fonte2';
    src: url('../fontes/A2-Type\ New\ Rail\ Alphabet\ Light.otf') format('truetype');
}
@font-face {
    font-family: 'Fonte3';
    src: url('../fontes/A2-Type\ New\ Rail\ Alphabet\ Medium.otf') format('truetype');
}
@font-face {
    font-family: 'Fonte4';
    src: url('../fontes/A2-Type\ New\ Rail\ Alphabet\ White.otf') format('truetype');
}
body {
    background-color: rgb(224, 224, 224);
    display: flex;
    align-items: center;
    justify-content: center;
}
  
section {
    display: flex;
    min-height: 80%;
    height: max-content;
    width: 80%;
    background-color: white;
    box-shadow: 0px 5px 5px #666;
}
#parte1 {
    flex: 1;
    padding: 20px 80px;
}
#parte2 {
    flex: 1;
    background-image: url(../images/foto-mega.jpg); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size:cover;
}

#parte1 #logo-area {
    width: 100%;
    height: 20vh;
    display: flex;
}

#parte1 #logo {
    flex: 2;
    height: 100%;
    background-image: url(../images/logo\ mega\ business\ cinza.png); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size:contain;
}
#logo-espaco {
    flex: 3;
}

#boa-vinda {
    font-size: 70px;
}
#boa-vinda #texto1 {
    font-family: 'Fonte4';
    height: 60px;
}
#boa-vinda #texto2 {
    font-family: 'Fonte1';
}

#campos {
    width: 100%;
    height: 30vh;
}
.campo {
    width: 80%;
    height: 25%;
    border: 1px solid rgb(210, 210, 210);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 50px;
    outline: none;
    color: rgb(190, 190, 190);
    box-sizing: border-box;
}
#campo-email {
    border-left: 10px solid rgb(210, 210, 210);
    padding: 0 40px;
}
.campo:hover {
    outline: none;
}
.campo label {
    font-family: 'Fonte1';
}
.campo input {
    height: 30px;
    margin: none;
    background-color: transparent;
    color: rgb(215, 215, 215);
    border: none;
    padding-left: 10px;
}
.campo:focus,
.campo:valid {
  outline: none;
  background: transparent !important;
}

#cliente-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin-top: 10px;
    color: #888;
    font-family: 'Fonte2';
    color: rgb(210, 210, 210);
}
.lembrar {
    display: flex;
    gap: 5px;
}
.lembrar input {
    border:1px solid rgb(210, 210, 210);
}
.esqueceu {
    display: flex;
    align-items: center;
    justify-content: end;
    cursor: pointer;
}
#botao-area {
    margin-top: 25px;
}
.botao-login {
    border: none;
    outline: none;
    width: 30%;
    padding: 10px;
    color: #fff !important;
    font-size: 16px;
    font-weight: bolder;
    letter-spacing: 1px;
    background: #111111 !important;
    cursor: pointer;
    text-align: center;
}
@media only screen and (max-width:840px) {
    section {
        flex-direction: column-reverse;
        min-height: 90%;
        height: max-content;
        width: 90%;
    }
    #parte1 {
        flex: auto;
    }
    #parte2 {
        flex: auto;
        background-position: bottom; 
        height: 250px;
    }
    
    #parte1 #logo-area {
        height: 10vh;
        display: flex;
    }
    
    #parte1 #logo {
        flex: 2;
        height: 100%;
    }
    #logo-espaco {
        flex: 3;
    }
    
    #boa-vinda {
        font-size: 40px;
    }
    #boa-vinda #texto1 {
        font-family: 'Fonte4';
        height: 40px;
    }
    #boa-vinda #texto2 {
        font-family: 'Fonte1';
    }
    
    #campos {
        width: 100%;
        height: 150px;
    }
    .campo {
        width: 80%;
        height: 25%;
        padding: 0 50px;
    }
    #campo-email {
        border-left: 10px solid rgb(210, 210, 210);
        padding: 0 40px;
    }
    .campo input {
        height: 30px;
        margin: none;
        background-color: transparent;
        color: rgb(215, 215, 215);
        border: none;
        padding-left: 10px;
    }

    #cliente-area {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 80%;
        margin-top: 10px;
        color: #888;
        font-family: 'Fonte2';
        color: rgb(210, 210, 210);
    }
    .lembrar {
        display: flex;
        gap: 5px;
    }
    .lembrar input {
        border:1px solid rgb(210, 210, 210);
    }
    .esqueceu {
        display: flex;
        align-items: center;
        justify-content: end;
        cursor: pointer;
    }
    #botao-area {
        margin-top: 25px;
    }
    .botao-login {
        border: none;
        outline: none;
        width: 30%;
        padding: 10px;
        color: #fff !important;
        font-size: 16px;
        font-weight: bolder;
        letter-spacing: 1px;
        background: #111111 !important;
        cursor: pointer;
        text-align: center;
    }
}

@media only screen and (max-width:640px) {
    section {
        flex-direction: column-reverse;
        min-height: 85%;
        height: max-content;
        width: 90%;
    }
    #parte1 {
        padding: 10px 15px;
    }
    #campos {
        height: max-content;
    }
    .campo {
        width: 100%;
        height: 25%;
        padding: 0 20px;
    }
    #campo-email {
        border-left: 10px solid rgb(210, 210, 210);
        padding: 0 20px;
    }
}