body {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    backdrop-filter: blur(5px);
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

form {
    text-align: left;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form>.form-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form>.form-head>img {
    margin: -25px 0 -40px;
}

form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

@keyframes input-invalid {
    0% {
        border: 1px solid #ccc;
    }
    50% {
        border: 1px solid red;
    }
    100% {
        border: 1px solid #ccc;
    }
}

form input[type=submit] {
    margin-top: 20px;
    background-color: #333;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s;

    &:hover,
    &:active {
        background-color: #444;
    }
}

form .register-hint {
    margin-bottom: -5px;
    font-size: 14px;
    font-style: italic;
}

form .login-invalid {
    color: red;
    margin: 0;
    margin-top: -20px;
    font-size: 14px;
    padding: 0;
}

form ul {
    display: none;
}

form .register-hint a {
    color: blue;
    font-weight: bold;

    &:active {
        color: red;
    }
}