body {
    font-family: Georgia, serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 18px;
    background-color: #ffffff;
    position: relative;
    margin-bottom: 100px;  /* Negative value of footer height */
}

header {
    background-color: #000000;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;  /* Negative value of footer height */
}

h1 {
    margin-bottom: 50px;
    padding: 0;
}
.main {
    margin: 20px;
}

.post {
    background-color: rgb(255, 255, 255);
    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: center;
    font-style: italic;
    width: 100%; /* or max-width: 300px; or any other width you want */
    margin-left: auto;
    margin-right: auto;
    color: #707b7c;
    font-size: 16px;
}
.responsive-img {
    max-width: 100%;
    height: auto;
}
.post-content {
    max-width: 800px;  /* Adjust as needed */
    font-size: 20px;
    line-height: 1.7;
    justify-content: center; /* Center items horizontally */
    margin-left: auto; /* Center the container itself */
    margin-right: auto;
    margin-top: 80px;
}
.post-title {
    width: 50%;
    max-width: 800px;  /* Adjust as needed */
    padding-left: 25%;
    text-align: left; /* or center, right */
}
.date-font {
    font-size: 14px; /* Adjust the value to the desired font size */
    color: #444545;
    font-family: 'Open Sans', sans-serif; /* Headings */
}
.author-font {
    font-size: 14px; /* Adjust the value to the desired font size */
    color: #000000;
    font-family: 'Open Sans', sans-serif; /* Headings */
}
.subtitle-font {
    font-size: 30px; /* Adjust the value to the desired font size */
    color: #000000;
    font-family: 'Roboto Slab', serif; /* Headings */
    margin-top: 100px; /* Adjust the value to increase the space above the subtitle */
    font-weight: bold;
}
.subsubtitle-font {
    font-size: 28px; /* Adjust the value to the desired font size */
    color: #000000;
    font-family: 'Comic Sans MS', cursive; /* Headings */
    margin-top: 10px; /* Adjust the value to increase the space above the subtitle */
    font-weight: bold;
}
blockquote {
    font-family: 'Georgia', serif;
    font-size: 25px; /* Adjust the font size as needed */
    font-style: italic;
    color: #555; /* Adjust the color as needed */
    border-left: 5px solid #ccc; /* Vertical bar to the left */
    margin: 20px 0;
    padding: 10px 20px;
    background-color: #f9f9f9; /* Light background color */
    margin-top: 50px; /* Adjust the value to increase the space above the subtitle */
    margin-bottom: 50px; /* Adjust the value to increase the space above the subtitle */
}
/* Para hacer la primera letra del post grande */
.first-paragraph::first-letter {
    font-size: 4em;
    font-weight: bold;
    float: left;
    margin-right: 0.15em;
    line-height: 0.9;
    color: #2b2d31;
    padding-top: 5px;
}

/* 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;
    }
    .post-content {
        margin-left: auto; /* Center the container itself */
        margin-right: auto;
    }
}

/* tables style*/
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 50px;
    margin-bottom: 50px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}
.section-separator {
    border-top: 2px solid #000; /* Thick border for section separation */
}
caption {
    text-align: center;
    font-style: italic;
    width: 100%; /* or max-width: 300px; or any other width you want */
    margin-left: auto;
    margin-right: auto;
    color: #707b7c;
    font-size: 16px;
}

/* pone avatar con fecha */
.avatar-info {
    display: flex; /* Enable flexbox for author info */
    align-items: flex-start; /*Align content to the left */
    padding: 5px; /* Add some padding */
}
.author-avatar {
    width: 50px; /* Adjust avatar size */
    height: 50px;
    border-radius: 50%; /* Make avatar circular */
    margin-right: 10px; /* Add space between avatar and name */
}
.author-name {
    font-size: 1.2em;
    color: #5d899e;
    margin-bottom: -15px;  /* 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: -28px;  /* Add some space at the top */
    margin-bottom: 0px;  /* Add some space at the top */
}
.post-date {
    font-size: 0.7em;
    color: #808080;
    margin-top: 5px;  /* Add some space at the top */
}
.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 */
}


.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;
}