body {
    font-family: 'Orbitron', sans-serif; /* Font: Orbitron */
    color: #8b0000; /* Dark blood red text */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: url('background-image.jpg'); /* Replace with your background image URL */
    background-size: cover; /* Cover the entire viewport */
    background-repeat: no-repeat; /* No repeating of the background image */
    transition: background-color 0.3s, color 0.3s;
}

h1 {
    color: #8b0000; /* Dark blood red color */
    text-shadow: 2px 2px 5px #000000;
    margin: 0 0 80px 0; /* Increased margin to create a larger gap */
    font-size: 3em; /* Increased font size */
    text-align: center;
    transition: color 0.3s;
}

.login-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 400px; /* Set a wider fixed width for the login form */
    max-width: 90%; /* Ensure responsiveness */
    transition: background-color 0.3s, color 0.3s;
}

.login-form input[type="text"], .login-form input[type="password"] {
    width: calc(100% - 22px); /* Adjust width to account for padding and borders */
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #8b0000;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    transition: background-color 0.3s, color 0.3s;
}

.login-form input[type="submit"] {
    width: calc(100% - 22px); /* Adjust width to account for padding and borders */
    padding: 10px;
    background: #8b0000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    transition: background-color 0.3s, color 0.3s;
}

.login-form input[type="submit"]:hover {
    background: #5a0000;
}

.dark-mode {
    background-color: #333; /* Dark grey background */
    color: #8b0000; /* Keep the same red text */
}

.dark-mode .login-form {
    background: rgba(51, 51, 51, 0.9); /* Dark grey background for the form */
    color: #8b0000; /* Keep the same red text */
}

.dark-mode .login-form input[type="text"], .dark-mode .login-form input[type="password"] {
    background-color: #555; /* Darker grey for input fields */
    color: #fff; /* White text in input fields */
    border: 1px solid #8b0000; /* Dark blood red border */
}

.dark-mode .login-form input[type="submit"] {
    background-color: #8b0000; /* Dark blood red background for submit button */
    color: #fff; /* White text on the submit button */
}

.dark-mode-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: #8b0000; /* Dark blood red background */
    color: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.dark-mode-toggle:hover {
    background: #5a0000;
}

/* Cookie Banner Styles */
.cookie-warning {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff; /* White background */
    border-top: 2px solid #8b0000; /* Dark blood red border */
    color: #8b0000; /* Dark blood red text */
    text-align: center;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    display: none; /* Initially hidden */
}
.cookie-warning button {
    background-color: #8b0000; /* Dark blood red */
    color: #fff; /* White text */
    border: none;
    padding: 10px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}
.cookie-warning button:hover {
    background-color: #5a0000; /* Darker shade of red on hover */
}
