body {
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

#h4ll3nh2 {
    color: #fff;
    text-decoration: underline 2px solid #97bf0d;
}

#loginform {
    min-width: 450px;
    background-color: #444;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #97bf0d;
}

#loginlogo {
    max-width: 100px;
    margin-bottom: 20px;
}

#loginform h2 {
    font-size: 24px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.logininfo {
    display: block;
    align-items: center;
    margin-bottom: 30px;
    max-width: 400px;
}

.logininfo i {
    margin-right: 10px;
    color: #fff;
}

.logininfo input[type="text"],
.logininfo input[type="password"] {
    flex: 1;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 3px;
    font-size: 16px;
    color: #fff;
    background-color: #555;
    max-width: 90%;
    box-sizing: border-box;
    margin-top: 20px;
}

.logininfo input[type="text"]:focus,
.logininfo input[type="password"]:focus {
    border-color: #97bf0d;
}

input[type="submit"] {
    background-color: #97bf0d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    width: 260px;
    transition: 0.5s;
}

input[type="submit"]:hover {
    letter-spacing: 2px;
    transition: 0.5s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
}
.error-message{
    padding-top: 20px;
    color: #B64A59;
}

@media only screen and (max-width: 767px) {
    body, html {
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    #loginform {
        width: 100%;
        height: 100%;
        max-width: 450px;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .logininfo {
        margin-top: 20px;
        text-align: center;
    }
}



@media only screen and (min-width: 768px) and (max-width: 1280px) {
    body, html {
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    #loginform {
        width: 100%;
        height: 100%;
        max-width: 100%;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .logininfo {
        margin-top: 20px;
        text-align: center;
    }
    body #h4ll3nh2 {
        color: #fff;
        text-decoration: underline 2px solid #97bf0d;
        font-size: 1.8rem;
    }
}

@media only screen and (orientation: landscape) and (min-width: 375px) and (max-width: 918px) {
    #loginform {
        min-width: 300px;
        padding: 30px;
    }
}

@media only screen and (orientation: landscape) and (min-width: 1024px) and (max-width: 1280px) {
    #loginform {
        min-width: 500px;
    }
}