/* General body styling */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
    font-family: "Georgia", serif;
    line-height: 1.8;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    height: 100%;
    font-size: 18px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  /* Flexbox on the body */
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* Header styling */
  header {
    background-color: #fff;
    color: black;
    padding: 20px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    position: relative;
  }
  
  header h1 {
    margin: 0;
    color: #000;
    text-align: center;
  }
  
  /* Menu toggle */
  header .menu-toggle {
    background-color: #fff;
    color: #000;
    border: none;
    font-size: 2.8rem;
    padding: 0.3rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  /* Menu styling */
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: max-height 0.4s ease;
  }
  
  nav a {
    color: black;
    text-decoration: none;
    padding: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
  }
  
  nav a:hover {
    color: #555;
  }
  
  @media (min-width: 768px) {
    nav {
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      padding: 0;
      max-height: none;
    }
  
    .menu-toggle {
      display: none;
    }
  }
  
  /* Ensure menu visibility on toggle */
  .menu-open nav {
    max-height: 500px;
  }
  
  /* Main content */
  main, article {
    padding: 20px;
    border-top: 1px solid #ddd;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-grow: 1;
  }
  
  /* Post list */
  ul#post-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  ul#post-list li {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
  }
  
  ul#post-list li img.post-image {
    width: 33%;
    height: auto;
    margin-right: 20px;
  }
  
  ul#post-list li .post-content {
    width: 67%;
  }
  
  ul#post-list li .post-title {
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
  }
  
  ul#post-list li .post-summary {
    font-size: 18px;
    color: #555;
    margin-top: 5px;
  }
  
  ul#post-list li .post-date {
    font-size: 16px;
    color: #999;
    margin-top: 10px;
    border-top: 1px dashed #ddd;
    padding-top: 5px;
    text-align: right;
    width: 100%;
  }
  
  /* Blog post styling */
  article h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #000;
    display: block;
  }
  
  article .post-meta {
    font-size: 18px;
    color: #999;
    display: block;
    margin-top: 5px;
  }
  
  /* Footer styling */
  footer {
    text-align: center;
    padding: 20px;
    background-color: #000;
    color: white;
    border-top: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    bottom: 0;
    margin-top: auto;
  }
  
  hr {
    border: none;
    height: 1px;
    background-color: #ddd;
  }
  
  /* Mobile adjustments */
  @media (max-width: 600px) {
    ul#post-list li {
        flex-direction: column;
        padding: 10px;
    }
  
    ul#post-list li img.post-image {
        width: 100%;
        margin-bottom: 15px;
    }
  
    ul#post-list li .post-content {
        width: 100%;
        padding: 5px;
    }
  
    main, article {
        padding: 15px;
        font-size: 22px; 

    }
    article p {
      font-size: 22px; 
  }
    header h1 {
        text-align: center;
    }
  }
  
  /* Hide article content initially */
  article {
    display: none;
  }
  
  /* Read More button */
  ul#post-list li .post-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  ul#post-list li .read-more {
    display: inline-block;
    margin-top: 0px;
    padding: 0px 0px;
    background-color: #fff;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    align-self: flex-end;
  }
  
  ul#post-list li .read-more:hover {
    background-color: #fff;
    border-radius: 4px;
    border-color: #999;
    text-decoration: underline;
    border-width: 2px;
  }
  
  /* Login page styles */
  .login-container {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
  }
  
  .login-container h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #000;
  }
  
  .login-container input[type="email"] {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
  }
  
  .login-container button {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
  }
  
  .login-container button:hover {
    background-color: #333;
  }
  
  #message {
    margin-top: 20px;
    color: red;
    font-size: 16px;
  }
  
  @media (max-width: 600px) {
    .login-container {
        padding: 20px;
    }
  
    .login-container input[type="email"], 
    .login-container button {
        font-size: 16px;
        padding: 12px;
    }
  }
  
  /* Social icons styling */
  .social-icons {
    text-align: center;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .social-icons a {
    margin: 0 10px;
    font-size: 32px;
    color: #fff;
  }
  
  .social-icons a:hover {
    color: #555;
  }
  
  @media (max-width: 600px) {
    .social-icons a {
        font-size: 20px;
        margin: 0 8px;
    }
  }

  /* Mobile-specific logo-header styling */
@media (max-width: 600px) {
    .logo-header h1 {
      text-align: left; /* Align logo to the left in mobile view */
    }
  }
  
  /* Desktop-specific logo-header styling */
  @media (min-width: 601px) {
    .logo-header h1 {
      text-align: center; /* Keep the logo centered on desktop */
    }
  }
  
  