body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    display: flex;
    min-height: 100vh; /* Ensure the container takes at least the full viewport height */
}

.sidebar {
    background-color: #333;
    color: #f4f4f4;
    width: 200px; /* Adjust as needed */
    padding: 20px;
    position: fixed; /* Keep the sidebar fixed on scroll */
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto; /* Enable scrolling if navigation items overflow */
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.sidebar a:hover {
    background-color: #555;
}

.content {
    flex-grow: 1; /* Allow the content to take up remaining horizontal space */
    padding: 20px;
    margin-left: 220px; /* Adjust to match sidebar width + padding */
}

.text-and-image-wrapper {
  display: flex;
  flex-direction: column; /* Stack text and image vertically */
  width: 100%;
  margin-bottom: 20px;						 						  
}

.image-container {
    width: 100%; /* Image container takes full width */
    margin-top: 20px; /* Add some space above the image */
    margin-left: 220px;
    text-align: center; /* Center the image horizontally */
}

.content-text {
													  
  margin-bottom: 10px;
														   
}

.image-container img {
    max-width: 100%; /* Image doesn't exceed container width */
    height: auto;    /* Maintain aspect ratio */
    object-fit: contain;
}

/* Responsive Design for Tablets */
@media (max-width: 992px) {
    .sidebar {
        width: 150px;
    }

    .content {
        margin-left: 170px;
        padding: 15px;
    }

    .sidebar a {
        padding: 8px 10px;
        font-size: 0.9em;
    }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack sidebar and content vertically */
    }

    .sidebar {
        position: static; /* Make sidebar scroll with the content */
        width: 100%;
        height: auto;
        overflow-y: visible;
        margin-bottom: 20px;
    }

    .sidebar ul {
        display: flex;
        overflow-x: auto; /* Enable horizontal scrolling for navigation */
    }

    .sidebar li {
        margin-right: 15px;
        margin-bottom: 0;
    }

    .content {
        margin-left: 0;
        padding: 10px;
    }
}
