body {
    margin: 0;
    font-family: Arial, sans-serif;
    transition: background-color 0.5s, color 0.5s;
    display: flex;
    align-items: center;
    margin: 0;
    font-family: Arial, sans-serif;
}

.dark-theme {
    background-color: #343a40; /* Dark background color */
    color: #fff; /* Light text color */
}

.light-theme {
    background-color: #f8f9fa; /* Light background color */
    color: #000; /* Dark text color */
}

.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #343a40;
    overflow-x: hidden;
    padding-top: 20px;
    transition: background-color 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .sidebar a {
        padding: 10px 15px;
        text-decoration: none;
        font-size: 1.2rem;
        color: #fff;
        display: block;
        transition: color 0.5s;
    }

        .sidebar a:hover {
            color: #f1f1f1;
        }

.content {
    padding: 20px;
    padding-top: 40px; /* Add padding to bring content down */
    transition: margin-left 0.5s;
    position: fixed;
    width: calc(100% - 250px);
    height: 100%;
    margin-left: 250px; /* Adjusted to match sidebar width */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

footer {
    background-color: #343a40;
    color: #fff;
    padding: 20px 0;
    width: calc(100% - 250px);
    bottom: 0;
    position: fixed;
    text-align: center;
    left: 250px;
}

.theme-toggle-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.5s;
    width: 100%;
}

    .theme-toggle-btn:hover {
        background-color: #0056b3;
    }

.vertical-line {
    border-left: 1px solid #ccc;
    height: 100%;
    position: fixed;
    left: 250px;
    top: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 10px;
    display: none;
    z-index: 1000;
}

.light-theme .cookie-banner {
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
}

.cookie-banner button {
    margin-left: 20px;
    padding: 5px 10px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.5s;
}

    .cookie-banner button:hover {
        background-color: #0056b3;
    }

.message {
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}