@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    list-style: none;
}

body{
    background-color: #262628;
    position: relative;
}

.section-login{
    width: 100%;
    height: 92vh;
    background-color: #262628;
    display: flex;
}

.esquerda{
    width: 40%;
    height: 100%;
    position: relative;
}

.esquerda video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.esquerda img{
    position: absolute;
    z-index: 5;
    width: 50%;
    top: 40%;
    left: 25%;
}

.direita{
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-login{
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 30px;
}

.form-control {
    position: relative;
    margin: 20px 0 40px;
    width: 60%;
}

.form-control img{
    width: 20px;
    position: absolute;
    right: 10px;
    top: 40%;
    cursor: pointer;
}

.form-control input {
background-color: transparent;
border: 0;
border-bottom: 2px #fff solid;
display: block;
width: 100%;
padding: 15px 0;
font-size: 18px;
color: #fff;
}

.form-control input:focus,
.form-control input:valid {
outline: 0;
border-bottom-color: #3F5A78;
transition: 1.2s;
}

.form-control label {
position: absolute;
top: 15px;
left: 0;
pointer-events: none;
}

.form-control label span {
display: inline-block;
font-size: 18px;
min-width: 5px;
color: #fff;
transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input:focus+label span,
.form-control input:valid+label span {
color: #3F5A78;
transform: translateY(-30px);
}

.form-login button{
    padding: 10px 40px;
    border: 0;
    outline: none;
    background: linear-gradient(32deg, rgba(0, 0, 0, 1) 0%, rgba(5, 58, 84, 1) 83%) !important;
    color: whitesmoke;
    font-size: 16px;
    cursor: pointer;
}

.form-login button:hover{
    padding: 9px 38px;
    font-size: 18px;
}



@media screen and (max-width: 800px){

    .section-login{
        flex-direction: column;
    }

    .esquerda{
        width: 100%;
        height: 30%;
    }

    .direita, .form-login{
        width: 100%;
    }


}

