:root {
    --gap-mult: 0.25;
  }
  
  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* hide scrollbars */
  }
  
  body {
    font-family: 'Momo Trust Display', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  body.light {
    background-color: #f0f0f0;
    color: #000;
  }
  
  /* Top section 20vh */
  header#top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* align content to top */
    padding: 1rem;
    height: 20vh;
    box-sizing: border-box;
  }
  
  #info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  #days-left {
    font-size: 2em; /* double size for emphasis */
    font-weight: bold;
  }
  
  #controls {
    display: flex;
    flex-direction: column; /* stacked vertically */
    gap: 0.5rem;
    align-items: flex-end;
  }
  
  #controls span {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-size: 1rem;
    color: inherit;
    text-decoration: none; /* remove underline */
  }
  
  /* Mobile adjustments */
  @media (max-width: 600px) {
    #theme-toggle {
      display: none; /* hide theme toggle on mobile */
    }
    #screenshot-btn {
      display: none; /* hide screenshot button on mobile */
    }
  }
  
  #grid {
    display: grid;
    justify-content: center;
    align-content: center;
    height: 80vh; /* fully fit remaining space */
    overflow: hidden;
  }
  
  .dot {
    border-radius: 50%;
    position: relative;
  }
  
  .dot.past {
    background-color: grey;
    opacity: 0.3;
  }
  
  .dot.remaining {
    background-color: white;
    opacity: 0.9;
  }
  
  body.light .dot.remaining {
    background-color: black; /* remaining dots black in light mode */
  }
  
  .dot-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1.2em;
    pointer-events: none;
    transition: opacity 0.2s ease, color 0.2s ease;
    color: white; /* default text color */
  }
  
  footer {
    text-align: center;
    padding: 1rem;
  }
  