body {
    color: #a5aeae;
    font-family: "Ubuntu", sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    background: #1b1b1b;
    /* background-image: linear-gradient(#111111b3 .1em, transparent .1em), linear-gradient(90deg, #111111b3 .1em, transparent .1em); */
    background-image: url("/login/2023-10-16_13.09.55.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

h1 {
    text-align: center;
    margin: 5px;
}

#content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #111111;
    color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

form {
    margin-top: 5%;
}

label {
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: normal;
}

input {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
    background-color: #3c3c3c;
    border-radius: 4px;
    border: 2px solid #3c3c3c;
    color: white;
    outline: none;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box;
}

input:focus {
    border-color: #303030;
    background-color: #303030;
    box-shadow: 0 0 3px #303030;
}

input[type="submit"],
#failed {
    width: 100%;
    font-size: 1rem;
    background-color: #303030;
    border: 2px solid #303030;
    border-radius: 4px;
    box-shadow: 0 0 3px #303030;
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
}

input:hover {
    border-color: #177a30;
}

body[data-failed] input[type="submit"] {
    display: none;
}

body:not([data-failed]) #failed {
    display: none;
}

#failed {
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 0;
    box-shadow: 0 0 3px #ab1414;
    border: 1px solid #8c1111;
    cursor: not-allowed;
    user-select: none;
}

#error {
    opacity: 0;
    text-align: center;
    border: 1px solid #a81420;
    border-radius: 4px;
    box-shadow: 0 0 3px #aa3514;
    padding: 4px;
    transition: opacity 0.5s ease-in;
}

#error.show {
    opacity: 1;
}

@media only screen and (max-width: 600px) {





    #content {
        width: 100%;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    #login {
        width: calc(100% - 40px);
        bottom: 5px;
        margin: 20px;
    }

    #content>form>div:not(#login) {
        text-align: center;
        padding-bottom: 30px;
    }

    input {
        width: calc(100% - 10px);
    }
}
