body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #fafafa;
    color: #333;
  }
  
  header {
    background: #ff6b6b;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  header nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: bold;
  }
  
  header nav a:hover {
    text-decoration: underline;
  }
  
  main {
    max-width: 900px;
    margin: auto;
    padding: 2rem;
  }
  
  .latest-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .post-preview {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
  }
  
  .post-preview:hover {
    transform: scale(1.03);
  }
  
  .post-preview img {
    width: 100%;
    border-radius: 8px;
  }
  
  footer {
    text-align: center;
    padding: 1rem;
    background: #222;
    color: #eee;
    margin-top: 2rem;
  }
  .post {
    max-width: 800px;
    margin: auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .post img {
    width: 100%;
    border-radius: 10px;
    margin: 1rem 0;
  }
  #scrollTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    font-size: 18px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    outline: none;
    padding: 12px 18px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
  }
  
  #scrollTopBtn:hover {
    background-color: #ff4a4a;
  }
  
  