body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #fff;
    background-color: #f4f4f4; /* Light background for the content area */
        line-height: 1.6;
}

.header, .author {
    padding: 20px;
    background-color: #c4c4c4;
    color: #444444;
}

.header div, .author div {
    margin-left: 250px;
    width: calc(100% - 250px); /* Subtract the width of the sidebar from the total width */
    text-align: center; /* Center the text */
}


.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100%;
    background: #3c3c3c;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.sidebar h2 {
    margin-bottom: 20px; /* Increased spacing below 'Contents' header */
}

.main-contents, .sub-contents {
    list-style: none;
    padding: 0;
    line-height: 1.6; /* Increased line spacing */
}

.main-contents > li > a, .sub-contents > li > a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px; /* Increased spacing between links */
}

.sub-contents {
    padding-left: 20px;
    margin-top: 5px; /* Space above the subsections */
}

.main-content {
    margin-left: 330px;
    padding: 20px;
    padding-left: 40px; /* More left margin for the main content */
    color: #000;
        margin-right: 130px;
}

.main-content h2 {
    margin-top: 50px; /* Space above each main section heading */

}

/* Hover effects for sidebar links */
.sidebar a:hover {
    color: #e0e0e0;
    text-decoration: underline;
}


.image-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.image-container {
    text-align: center;
        margin: 0 20px;
}

.image-container img {
    width: 250px;
    height: 230px;
}

.image-description {
    color: #333;
    font-size: 14px;
        margin-bottom: 20px;
}

.image-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container.comparison {
    margin-right: 50px;
}

/* Remove the margin from the last .image-container.comparison */
.image-container.comparison:last-child {
    margin-right: 0;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


/* added by me */
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
