:root {
    font-size: 16px;
  }
  
  body {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: -0.022em;
    font-size: 1rem;
    display: flex;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in;
  }
  
  .container {
    display: flex;
    width: 100%;
    height: 100%;
  }
  
  .title {
    font-size: 1.5rem;
    margin-top: 5em;
  }
  
  .left-panel {
    width: 35%;
    padding: 2rem;
    box-sizing: border-box;
    overflow-y: scroll;
    border-right: 1px solid #000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.4;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }
  
  .left-panel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  .right-panel {
    width: 65%;
    padding: 2rem;
    overflow-y: scroll;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }
  
  .right-panel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  .back {
    color: black;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: -0.022em;
    font-size: 1rem;
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 1;
    width: fit-content;
    height: fit-content;
    pointer-events: auto;
    transition: color 0.3s ease;
  }
  
  
  
  .back:hover {
    color: blue;
  }
  
  video,
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  

  @media (max-width: 768px) {
    body {
      flex-direction: column;
      height: auto;
      overflow: auto;
      padding: 0;
      align-items: center; /* centers the .container */
    }
  
    .container {
      flex-direction: column;
      height: auto;
      width: 90%;               /* adjust this % to make the layout narrower or wider */
      max-width: 30rem;         /* max total width on mobile — try 28rem or 32rem to adjust */
      padding: 1rem 0;
    }
  
    .left-panel,
    .right-panel {
      width: 100%;
      padding: 0;
      box-sizing: border-box;
    }
  
    .left-panel {
      border-right: none;
      padding-bottom: 2rem;
    }
  
    .back {
      margin-top: 4rem;        /* make this larger or smaller to raise/lower the button */
      margin-left: 0.7rem;     /* increase this to push it further to the right */
      font-size: 1rem;
    }
  
    .title {
      font-size: 1.2rem;
      margin-left: 0.5rem;  
      margin-top: 2.5rem;      /* increase if you want more space between Back and Title */
      margin-bottom: 0.1rem;
    }
  
    p {
      font-size: 0.8rem;
      line-height: 1.3;
      padding: 0 0.5rem;       /* left and right padding on paragraph text */
    }
  
    .right-panel {
      gap: 1rem;               /* space between postcard images */
    }
  
    img {
      width: 100%;
      height: auto;
      display: block;
    }
  }
  
  