@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');

* 
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width:959px)
{
    #img {
        display: none;
    }
}

html
{
    font-size: 16px;
}
main 
{
    width:100%;
    height: 100vh;
    display: flex;
}

#login
{
    background:rgb(6,6,6);
    min-width: 320px;
    flex-grow: 1;
    padding: 3vw 6vw;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#logo
{
   
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 500;
    
    font-size:calc(25px + 1vw);
    color:#196BDE;
    position: absolute;
    top:6vw;
    left:6vw;
}

#logo span
{
    font-family: 'Roboto', sans-serif;
    font-weight: 900; 
      
    color:#FFF;   
}

form
{   
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
}
input[name="username"]:focus,
input[name="password"]:focus,
input[name="username"].error:focus,
input[name="password"].error:focus
{
    border-bottom: solid 2px #1149CE;
}
input[name="username"].error,
input[name="password"].error
{
    border-bottom:solid 2px red;
}
input[name="username"],
input[name="password"] 
{
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color:lightgray;
    height: 50px;
    background: transparent;
    border:none;
    border-bottom:solid 2px rgb(30,30,30);
    outline: none;
    margin-bottom: 12px; 
    padding: 0 10px;
}

input[name="username"]::placeholder,
input[name="password"]::placeholder
{
    font-weight: 400;
    color:#A9A9A9;
}

input[name="send"]
{
    width: fit-content;
    background:#1149CE;
    border: none;
    outline: none;

    padding: 10px 20px;

    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color:#FFF;
    cursor: pointer;
}

form div
{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items:center;
    margin-top:18px;
}
input[type="checkbox"]
{
   position: absolute;
   top:0;
   left: 0;
   visibility: hidden;
}
label[for="stay"] span.active
{
    background: #1149CE;
}

label[for="stay"]
{
    position: relative; 
    font-family: 'Roboto', sans-serif;
    color:#FFF;
    display: flex;
    height: fit-content;
    align-items:center;
    font-weight: 400;
}


label[for="stay"] span
{
    cursor: pointer;
    width:16px;
    margin-right: 8px; 
    height: 16px;
    border:solid 1px #FFF;
    flex-shrink: 0;
}
label[for="stay"] p
{
    font-size: 16px;
    user-select: none;
}

#msg
{
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color:red;
}


#img
{
    flex-grow: 4;
    background:rgb(6,6,6);
    min-width: 640px;
}

