    /* --- Base / Reset --- */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html, body, main, .container {
        overflow: visible;
      }

    html,
    body {
        height: 100%;
    }

    :root {
        --primary: #FFFEF5;
        --secondary: #202020;
    }

    body {
        margin: 0;
        font-family: 'Courier New', Courier, monospace;
        color: var(--secondary);
        background: var(--primary);
    }

    a {
        color: inherit;
        text-decoration: none
    }

    img {
        width: 100%;
        height: auto;
    }

    header {
        position: fixed;
        top: 0;
        width: 100%;
        background-color: var(--primary);
        z-index: 100;
    }

    .topnav {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .pageheader {
        font-size: 28px;
        text-transform: uppercase;
    }

    .navlinks {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        margin-left: 75px;
        text-transform: uppercase;
    }

    .navlinks a {
      position: relative; /* needed so the triangle positions relative to the link */
    }
    
    .navlinks a.current::after {
      content: '▲';
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: -1.5rem;   
      font-size: 1.25rem; 
    }

    .navlinks a.current:hover::after {
      opacity: 1;
    }

    .navlinks a:hover::after {
      content: '▲';
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: -1.5rem;   
      font-size: 1.25rem; 
      opacity: 0.3;
    }

    .chinese{
      font-family: "ar-yuangbstd", sans-serif;
      font-weight: 300;
    }
    
    @media (max-width: 640px) {
        .content {
            grid-template-columns: 1fr
        }
    }

    footer {
        bottom: 0;
        left: 0;
        right: 0;
        align-items: center;
    }


#about-panel {
    position: fixed;
    inset: 0;              
    z-index: 1000;
    pointer-events: none;   
  }
  
  #about-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .about-sheet {
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: 33vw;                
    max-width: 550px;           
    min-width: 280px;           
    background: var(--secondary);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 30px;
  }
  
  .about-close {
    align-self: flex-end;
    border: none;
    color: var(--primary);
    background: none;
    font-size: 2.5rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    font-weight: 100;
  }
  
  .about-content {
    color: var(--primary);
    overflow-y: auto;
    scrollbar-width: none;
    padding-left: 30px;
  }
  
  #about-panel:target {
    pointer-events: auto;
  }
  
  #about-panel:target::before {
    opacity: 1;
  }
  
  #about-panel:target .about-sheet {
    transform: translateX(0);
  }

  .about-content h1{
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 100;
    text-align: center;
  }

  .about-content h2{
    font-size: 28px;
    font-weight: 100;
    padding-top: 20px;
  }

  .about-content p{
    line-height: 1.6rem;
    padding-bottom: 30px;
  }
  
  @media (max-width: 620px) {
    .about-sheet {
      width: 100vw;
      max-width: 100vw;
    }
  }
  