* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    background-color: #4caf50; /* Green background */
    color: white;
    width: 250px;
    padding: 20px;
    transition: width 0.3s;
}

.sidebar h2 {
    margin: 0 0 20px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
    border-radius: 4px;
}

.sidebar ul li a:hover {
    background-color: #45a049; /* Darker green on hover */
}

.content {
    flex: 1;
    padding: 20px;
    background-color: #e8f5e9; /* Light green background */
    transition: padding 0.3s;
    margin-bottom: 20px;
}

#dynamicContent {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #a5d6a7; /* Light green border */
    border-radius: 4px;
    background-color: white;
}
.footer {
    position: fixed; /* Fix the footer at the bottom */
    left: 0;
    bottom: 0;
    width: 100%; /* Full width */
    background-color: #4caf50; /* Green background */
    color: white; /* White text */
    text-align: center; /* Center the text */
    padding: 10px 0; /* Padding for top and bottom */
    z-index: 1000; /* Ensure it stays above other content */
    margin-top: 30px;
}

/* Media Queries */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }

    .content {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        position: absolute;
        height: auto;
        z-index: 1000;
        transition: width 0.3s;
    }

    .content {
        padding: 20px;
        margin-top: 60px; /* Space for the sidebar */
    }

    .sidebar ul {
        display: flex;
        flex-direction: column;
    }

    .sidebar ul li {
        margin: 5px 0;
    }
}