html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    position: relative;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    height: 100vh;
}

.blog-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-section h2 {
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
}

.blog-preview {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.blog-preview h3 {
    margin: 0 0 0.5rem 0;
}

.blog-preview h3 a {
    color: #333;
    text-decoration: none;
}

.blog-preview h3 a:hover {
    color: #666;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    padding-bottom: 4rem; /* Add extra padding at the bottom to prevent content from being hidden behind the fixed footer */
}

.blog-post h1 {
    color: #333;
    margin-bottom: 0.5rem;
}

.post-content {
    margin-top: 2rem;
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #333;
    text-decoration: none;
}

.back-link:hover {
    color: #666;
}

.roboto-serif-hompeage {
    font-family: "Roboto Serif", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings:
      "wdth" 100,
      "GRAD" 0;
  }

  h2 {
    font-weight: normal;
  }

  .blog-preview a {
    text-decoration: none;
    color: #000;
  }

  /* Footer Styles */
  .site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #eee;
  }

  .footer-content {
    max-width: 800px;
    margin: 0 auto;
  }

  .footer-content p {
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.8rem;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }

  .footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 1.2rem;
  }

  .footer-links a:hover {
    color: #666;
  }
  
  /* Custom Substack icon */
  .fa-substack {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
