html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
  }  

/* Fonts */
 @font-face {
    font-family: 'American Average';
    src: url('../font/AmericanAverage-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'The Bold Font';
    src: url('../font/THEBOLDFONT-FREEVERSION.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }


/* Background */   
  .fixed-background-wrapper {
    background: url('../img/capitol.jpeg') center center / cover no-repeat fixed;
    background-color: #1A274A; /* fallback */
    filter: grayscale(45%);
    min-height: 100vh; /* 👈 this will force it to fill the screen */
    width: 100%; /* just in case */
    margin: 0;
    padding: 0;
    }

    .home-button {
        position: fixed !important;
        top: 1rem;
        right: 1rem;
        color: #991529;
        background-color: #fefbee;
        font-family: 'The Bold Font', sans-serif;
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
        border-radius: 8px;
        text-decoration: none;
        z-index: 1000; /* make sure it stays on top */
        transition: background-color 0.3s ease;
      }
      
      .home-button:hover {
        background-color: #6f0f1f;
      }

      .back-button {
        position: fixed;
        top: 1rem;
        left: 1rem;
        color: #991529;
        background-color: #fefbee;
        font-family: 'The Bold Font', sans-serif;
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
        border-radius: 8px;
        text-decoration: none;
        z-index: 1000;
        transition: background-color 0.3s ease;
    }
    
    .back-button:hover {
        background-color: #6f0f1f;
    }
    

#gap-section {
    padding: 4rem 2rem;
  }
  
  .gap-main-text {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 70%;
    font-family: 'American Average';
    text-align: center;
    color: #fefbee;
    padding-top: 5rem;
    background-color: #1a274ab9;
    padding-bottom: 2rem;
  }
  
  .gap-grid {
    grid-template-columns: 1fr; /* Stack cards vertically */
    padding: 1rem;
    gap: 1.5rem;
  }
  
  /* Default card (square-ish) */
  .gap-card {
    background-color: #fefbee;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: auto;
    padding: 1rem;
  }
  
  /* Wide card */
  .gap-card.wide {
    grid-column: span 2;
  }
  
  /* Tall card */
  .gap-card.tall {
    grid-row: span 2;
  }
  
  /* Chart inside */
  .gap-chart {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    flex-grow: 1;
  }
  
  /* Caption under the chart */
  .gap-caption {
    padding: 1rem;
    font-size: 1rem;
    text-align: left;
    color: #1A274A;
  }
  
  /* Hover lift effect */
  .gap-card:hover {
    transform: scale(1.02);
  }
  
  .gap-explainer{
    width: 100%;
    padding: 4rem 2rem;
    color: #1a274a;
    font-family: 'The Bold Font', sans-serif;
    box-sizing: border-box;
  }
  
    /* Mobile Responsive */
    @media (max-width: 768px) {
      .gap-grid {
        grid-template-columns: 1fr;
      }
  
      .gap-card.wide,
      .gap-card.tall {
        grid-column: span 1;
      }
    }
  
    /* FOOTER */
#site-footer {
    background-color: #1A274A;
    color: #fefbee;
    text-align: center;
    font-family: 'The Bold Font', sans-serif;
    font-size: 0.9rem;
    padding: 2rem 1rem;
    margin-top: 4rem;
  }
  
  .footer-content p {
    margin: 0.5rem 0;
  }