@font-face {
    font-family: 'Cygre';
    src: url('/static/login/ttf/Cygre-SemiBold.ttf');
}


* {
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(180deg, rgb(221, 221, 221), rgb(110, 110, 110));

    width: 100dvw;
    height: 100dvh;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

ul, li {
    list-style-type: none;
}

.login-widget {
    border-radius: 1svh;
    width: 14dvw;
    aspect-ratio: 11/13;
    background-color: azure;

    font-size: 1.1em;
    padding: 1em;
    display: grid;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    grid-template-rows: 20% 45% 1fr;
}

.login-widget h3 {
    font-family: 'Cygre';
    font-weight: 300;
}

.inputs-container {
    height: 100%;
}

label {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: lighter;
    font-size: 0.7em;
}

.username-block, .password-block {
    height: 50%;
    margin: 0;
    box-sizing: border-box;
}

input {
    border: none;
    background: rgb(212, 212, 212);
    width: 100%;
    height: 32%;
    border-radius: 5px;
    padding-left: 10px;
    margin-top: 7px;
    box-sizing: border-box;
    transition: all .2s ease-in-out;
}

input:focus {
    outline: none;
    transform: scale(1.02);
}

.signin-button {
    width: 100%;
   // background: rgba(0,0,255,0.4);
}


button {
    width: 100%;
    height: 25%;

    margin-top: 25%;

    border: none;
    border-radius: 5px;
    background-color: rgb(51,51,51);
    color: white;
    font-family: sans-serif;
    font-weight: 300;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

button:hover {
    background-color: rgb(220,220,220);
    color: rgb(20,20,20);
}

.login-errors-list {
    background: rgba(255,0,0,0.7);
    position: absolute;
    top: 2%;
    color: white;
    padding: 0.5%;
    font-family: system-ui;
    border-radius: 10px;
}

@media screen and (max-width: 1440px) {
    .login-widget {
        width: 22dvw;
    }
}

@media screen and (max-width: 800px) {
    .login-widget {
        width: 80dvw;
    }
    .login-errors-list {
        padding: 1%;
    }
}