body {
    font-family: Arial, sans-serif;
}

nav {
    background-color: #333;
    padding: 10px 0;
}

nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
}

footer {
    margin-top: 50px;
    text-align: center;
    background-color: #f4f4f4;
    padding: 20px 0;
}

/* Ensure the container takes the full width of its parent, but doesn't exceed it */
.responsive-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Ensure the image scales and remains within its parent's boundaries */
.responsive-image {
    display: block;
    max-width: 100%;
    height: auto;
}
/* Ensure the container takes the full width of its parent, but doesn't exceed it */
.responsive-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Ensure the image scales and remains within its parent's boundaries */
.responsive-image {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .responsive-image {
        max-width: 50%; /* You can adjust this value to make the image smaller on mobile devices */
    }
}