*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: lightsteelblue;
    color: #333;
    line-height: 1.6;
}
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}
header {
    background: #333;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #0779e4 3px solid;
}
header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}
nav {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    background-color: #333;
}
nav ul {
    list-style: none;
    padding: 0;
}
nav ul li {
    display: inline;
    margin: 0 5px;
}
.main-content {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}
.sidebar {
    width: 30%;
    background: #f4f4f4;
    padding: 20px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
}
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    .main-content {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        margin: 20px 0;
    }
}
.image-row img {
    width: auto;
    height: auto;
    border: 4px solid #333;
    max-height: 250px; /* Adjust based on the smallest image's height */
    margin-left: 10px;
    margin-right: 10px;
}
.image-row {
    display: flex;
    justify-content: center; /* Centers the images horizontally */
    align-items: center; /* Keeps the images vertically aligned */
    margin: 40px; /* Centers the div itself if it has a specified width */
}