body {
    font-family: "Courier New", monospace;
    background-color: #f6f3e8;
    color: #2c2c2c;
    line-height: 1.6;
    padding: 2rem;
    max-width: 900px;
    margin: auto;
  }
  
  h1 {
    font-size: 2em;
    text-align: center;
  }
  
  main.letter, main.journal {
    background-color: #fffdf8;
    padding: 2rem;
    border: 1px solid #ccc;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.1);
  }
  
  a.journal-link, a.back-link {
    display: block;
    margin-top: 2rem;
    font-weight: bold;
    color: #4d004d;
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
  }
  

  /* grid */

  .gallery {
    margin-top: 1rem;
    text-align: center;
  }
  
  .gallery h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 0;
  }
  .grid-usb{
    display: flex;
    align-items: baseline;
    justify-content: center;
  }
  .grid-usb img{
    width: 40%;
  }

  .grid-usb img.wood{
    width: 60%;
    transform: rotateZ(180deg);
  }
  
  .grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  
  @media (max-width: 768px) {
    .grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .grid-usb{
      flex-wrap: wrap;
    }
  }
  
 
  
  