body {
    font-family: Georgia, serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    position: relative;
    margin-bottom: 100px;  /* Negative value of footer height */
}
header {
    background-color: #000000;
    color: white;
    padding: 100px 0;
    text-align: left;
    margin-bottom: 50px;  /* Negative value of footer height */
    font-size: 0.8em;
}
.header1 {
    font-family: Times New Roman, serif;
    background-color: #000000;
    position: relative; /* Enable positioning for child elements */
    display: flex; /* Arrange icons horizontally */
    align-items: center; /* Vertically align icons in the center */
    justify-content: flex-start; /* Align icons to the right */
    margin-left: 100px;
    font-size: 3em;
    margin-bottom: 2px;
    margin-top: 2px;
}
.header2 {
    font-family: Arial, sans-serif;
    background-color: #000000;
    position: relative; /* Enable positioning for child elements */
    display: flex; /* Arrange icons horizontally */
    align-items: center; /* Vertically align icons in the center */
    justify-content: flex-start; /* Align icons to the right */
    margin-left: 100px;
    font-size: 2.5em;
    margin-bottom: 2px;
    margin-top: 2px;
}
.header3 {
    font-family: Lucida Handwriting, cursive;
    background-color: #000000;
    position: relative; /* Enable positioning for child elements */
    display: flex; /* Arrange icons horizontally */
    align-items: center; /* Vertically align icons in the center */
    justify-content: flex-start; /* Align icons to the right */
    margin-left: 100px;
    font-size: 1.5em;
    margin-bottom: 2px;
    margin-top: 2px;
}
h1 {
    margin: 0;
    padding: 0;
}
.main {
    margin: 20px;
}
.post {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
}
footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    margin-top: auto; 
    bottom: 0;
    width: 100%;
    height: 25px;  /* Height of the footer */
}
figcaption {
    text-align: left;
    font-style: italic;
    width: 100%; /* or max-width: 300px; or any other width you want */
    margin-left: auto;
    margin-right: auto;
    color: #707b7c;
}
.post-content {
    width: 90%;
    max-width: 300px;  /* Adjust as needed */
    float: center;
    padding-left: 25%;
    font-size: 20px;
    line-height: 1.7;
}
.post-title {
    width: 100%;
    max-width: 800px;  /* Adjust as needed */
    text-align: left; /* or center, right */
    font-size: 15px;
    color: black;
}
.post-previews-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Create two equal-width columns */
    gap: 20px; /* Space between the grid items */
    padding: 5px;
    justify-content: center; /* Center items horizontally */
    margin-left: auto; /* Center the container itself */
    margin-right: auto;
    margin-top: 60px;
    max-width: 800px; /* Set a maximum width to prevent excessive stretching */
}
.post-preview {
    width: 90%;
    max-width: 300px;
    margin: 10px auto;
    background-color: #fff;
    padding: 1px;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
}
.post-thumbnail {
    width: 100%;
    height: auto;
}
.post-description {
    font-size: 0.7em;
    color: #808080;
    margin-top: 1px;
}
.no-underline {
    text-decoration: none;
}
.avatar-info {
    display: flex; /* Enable flexbox for author info */
    /* flex-direction: column; Stack elements vertically */
    align-items: flex-start; /*Align content to the left */
    padding: 5px; /* Add some padding */
}
.author-avatar {
    width: 35px; /* Adjust avatar size */
    height: 35px;
    border-radius: 50%; /* Make avatar circular */
    margin-right: 10px; /* Add space between avatar and name */
}
.author-name {
    font-size: 0.7em;
    color: #5d899e;
    margin-bottom: -5px;  /* Add some space at the top */
}
.author-details {
    display: flex; /* Enable flexbox for author name and date */
    flex-direction: column; /* Stack elements vertically */
    margin-top: -8px;  /* Add some space at the top */
}
.post-date {
    font-size: 0.5em;
    color: #808080;
}
.social-icons {
    position: relative; /* Enable positioning for child elements */
    display: flex; /* Arrange icons horizontally */
    align-items: center; /* Vertically align icons in the center */
    justify-content: flex-end; /* Align icons to the right */
    margin-right: 50px;
    margin-top: 15px;
}
.social-icons a {
    margin: 0 10px; /* Add spacing between icons */
}
.social-icons a i {
    font-size: 2em; /* Default icon size */
    color: #ffffff; /* Icon color */
    transition: font-size 0.3s ease; /* Smooth transition on resize */
}


/* Responsive design adjustments */
@media (max-width: 768px) {
    .header1, .header2 {
        font-size: 1.8em;
    }

    .header3 {
        font-size: 0.9em;
    }

    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
        margin: 10px auto;
    }

    .social-icons a i {
        font-size: 1.5em;
        margin: 8px;
    }

    .topic-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}


.topic-navigation {
    background-color: #003636;
    padding: 10px;
    margin-top: -50px; /* try adjusting this value */
}

.topic-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 0;
    padding: 0;
}


.topic-navigation a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

.topic-navigation a:hover {
    text-decoration: underline;
}