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;
    }

    #glance-section {
        position: relative;
        text-align: center;
        color: white;
        padding: 2rem 1rem 4rem 1rem; /* much smaller top space */
      }
      
  
  .main-text {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 75%;
    line-height: 70%;
    font-family: 'American Average';
    text-align: center;
  }
  
  /* Subheading */
  .sub-text {
    font-size: 1rem;
    font-weight: 300;
    max-width: 700px;
    width: 75%;
    font-family: 'The Bold Font';
    padding-top: 2%;
  }
  
  .glance-header {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fefbee;
    width: 100%;
    background: #1a274aae; 
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 10px;
    margin-top: 4rem;
  }
  
  .glance-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .glance-box {
    background-color: #fefbee;
    flex: 1 1 300px;
    max-width: 500px;
    padding: 1rem;
    box-sizing: border-box;
    position: relative;
    border-radius: 10px;
  }
  
  /* Base text style */
  .box-text {
    font-size: 1.2rem;
    color: #1A274A;
    position: relative;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    opacity: 1;
    visibility: visible;
  }
  
  
/* Modal base */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(26, 39, 74, 0.9); /* dark transparent background */
  }
  
  /* Modal content box */
  .modal-content {
    background-color: #fefbee;
    margin: auto;
    padding: 2rem;
    border: 1px solid #991529;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    color: #1A274A;
    text-align: center;
    font-family: 'The Bold Font', sans-serif;
  }
  
  /* Close button */
  .close {
    color: #991529;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
  }
  
  .mobile-learn-button {
    margin: 3rem auto 2rem auto;
    text-align: center;
  }
  
  .mobile-learn-button button {
    background-color: #1a274a;
    color: #fefbee;
    font-family: 'The Bold Font', sans-serif;
    font-size: 1.5rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .home-button {
    position: fixed;
    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;
  }
  
  /* 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;
  }