html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    align-items: center;
    background-color: #f1f1f1;
    background-image: url("/assets/images/background.png");
    background-repeat: repeat;
    display: flex;
    height: 100vh;
    justify-content: center;
    max-width: 100%;
    overflow-x: hidden;
}

.logo {
    height: 60px;
    margin-bottom: 20px;
    width: 300px;
}

.login-box {
    background-color: #ffffff;
    border: 2px solid #66cc33;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    padding: 20px;
    text-align: center;
    width: 400px;
}

.login-box form {
    text-align: left;
}

input[type="text"],
input[type="password"] {
    border: 1px solid #66cc33;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px;
    width: 100%;
}

input[type="submit"] {
    background-color: #66cc33;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    padding: 8px 20px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

input[type="submit"]:hover {
    background-color: #3e8e41;
    box-shadow: rgba(0, 0, 0, 0.1) 1.95px 1.95px 2.6px;
}

#error-msg {
    color: #ff0000;
    margin-bottom: 10px;
    padding: 10px;
}

@media (max-width: 600px) {

    /* Adjust the logo size for smaller screens */
    .logo {
        height: auto;
        width: 60%;
    }

    /* Reduce the width of the login box for smaller screens */
    .login-box {
        width: 80%;
    }
}