html, body {
    margin: 0;
    padding: 0;
    background: #000; 
    color: #fff;
    font-family: Arial, sans-serif;
  }
  
  body {
    position: relative;
  }
  
  header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    position: fixed;
    top: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
  }
  
  header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
  }
  
  header nav ul li {
    margin: 0 10px;
  }
  
  header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }
  
  header nav ul li a:hover {
    text-decoration: underline;
  }
  
  main {
    margin-top: 70px; 
    padding: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
  }
  
  .writing {
    margin-bottom: 30px;
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
  }
  
  .writing h2 {
    margin-top: 0;
  }
  
  .date {
    font-size: 0.9em;
    color: #aaa;
  }
  
  .writing-text {
    white-space: pre-wrap;
    line-height: 1.6;
  }
  
  #star-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0; 
    overflow: hidden;
    pointer-events: none; 
  }
  
  .star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: twinkle 2s infinite ease-in-out alternate;
    opacity: 0.7;
  }
  
  @keyframes twinkle {
    0%   { opacity: 0.5; }
    50%  { opacity: 1;   }
    100% { opacity: 0.5; }
  }
  