@font-face {
    font-family: 'Roboto';
    src: url("/static/fonts/Roboto.ttf");
}

*{
    font-family: 'Roboto';
    margin: 0;
    padding: 0;

}

a{
    transition: all .25s;
    text-decoration: none;
    color:#55A0E2;;
}
a:hover{
    color: black;
}

html, body{
    height: 100%;
    width: 100%;
}

.content{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items:center;
}

.signblock{
    height: 300px;
    width: 400px;
    border-radius: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
    background: white;
    padding-top: 50px;
    padding-bottom: 25px;
    padding-left: 75px;
    padding-right: 75px;
}

.signh{
    font-size: 26px;
    text-align: center;
    padding-bottom: 5px;
    border-bottom: solid 1px black;
}

input[name=username]{
    margin-top: 25px;
    margin-bottom: 10px;
}

input[name=password]{
    margin-bottom: 25px;
}

input[name=username], input[name=password]{
    height: 30px;
    width: 75%;
    border-radius: 10px;
    border: 1px solid #8B8B8B;
    text-align: left;
    padding-left: 20px;
    transition: all .5s;
}

input[name=username]:focus, input[name=password]:focus{
    outline: none;
    text-align: center;
}

.formf{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.zabil{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zav{
    width: 80%;
    display: block;
}

.signbut{
    height: 40px;
    width: 100px;
    color: white;
    border-radius: 20px;
    background: #55A0E2;
    border: none;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: all .5s;
    margin-bottom: 25px;
}

.signbut:hover{
    box-shadow: 10px -10px 0 rgba(39, 7, 239, 0.75);
    cursor: pointer;
}

.zav{
    margin-bottom: 30px;
}

.error{
    text-align: center;
    height: 40px;
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: red;
    color: white;
    animation: start forwards .5s ease-in-out;
}

@keyframes start {
    0%{
        transform: translateY(-100%);
    }
    100%{
        transform: translateY(0%);
    }

}

.red{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (max-width: 768px){
    .signblock{
        border-radius: 0;
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding-bottom: 0;
        padding-top: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    form{
        width: 80%;
    }
    .signh{
        font-size: 22px;
    }
}