html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "IBM Plex Serif", serif !important;
    background-color: #f2f9ff !important;
}

/***** FONTS *****/
.ibm-plex-serif-thin {
  font-family: "IBM Plex Serif", serif;
  font-weight: 100;
  font-style: normal;
}

.ibm-plex-serif-extralight {
  font-family: "IBM Plex Serif", serif;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-serif-light {
  font-family: "IBM Plex Serif", serif;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-serif-regular {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-serif-medium {
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-serif-semibold {
  font-family: "IBM Plex Serif", serif;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-serif-bold {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: normal;
}

.ibm-plex-serif-thin-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 100;
  font-style: italic;
}

.ibm-plex-serif-extralight-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 200;
  font-style: italic;
}

.ibm-plex-serif-light-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 300;
  font-style: italic;
}

.ibm-plex-serif-regular-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.ibm-plex-serif-medium-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-style: italic;
}

.ibm-plex-serif-semibold-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 600;
  font-style: italic;
}

.ibm-plex-serif-bold-italic {
  font-family: "IBM Plex Serif", serif;
  font-weight: 700;
  font-style: italic;
}

/***** COMPONENTS *****/
.btn-primary {
    color: #f2f9ff !important;
    background-color: #005da4 !important;
    border-color: #14203b !important;
}

.coming-soon {
  pointer-events: none;
  cursor: default;
}

.header-text {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: auto;
}

.section-divider {
  background-color: #14203b;
  height: 2px;
  width: 100%;
  margin: 20px 0;
  border-radius: 50%;
}

/***** NAVBAR/HEADER *****/
header {
    padding: 20px 35px;
}

#navbar .navbar-container {
    gap: 2vw;
    align-items: center;
    position: relative;
    z-index: 105;
}

#navbar .navbar-brand {
    color: black;
    text-decoration: none;
    font-size: 2rem;
}

#navbar .nav-link {
    color: black;
    text-decoration: none;
    font-size: 1.25rem;
}

#donate-link {
    padding: 10px 30px;
}

/* keep header positioning */
header {
    position: relative;
    padding: 20px 35px;
    z-index: 100;
}

/* navbar container flex layout for desktop/expanded view */
#navbar .navbar-container {
    display: flex;
    gap: 2vw;
    align-items: center;     /* keeps items on same y-axis */
    position: relative;
    z-index: 105;
}

/* nav list alignment when expanded */
#navbar .navbar-collapse {
    /* revert to default behavior on desktop */
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* ensure nav items and donate button align vertically with brand */
#navbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* donate sits to the right when expanded */
#navbar .navbar-collapse > a#donate-link,
#navbar .navbar-collapse > .btn#donate-link {
    margin-left: 1rem;
}

#navbarContent {
  border-radius: 10px;
}

/* General */
p.building-img-subtitle {
    font-size: 12px;
    text-align: center;
    margin-bottom: 0;
}

.dark-page-section {
    background-color: #14203b;
    color: white;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 30px 10vw 50px 10vw;

    @media (max-width: 575px) {
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
    }
}

/* --- Mobile-only overlay styles --- */
@media (max-width: 575.98px) {
    /* overlay the collapse below the navbar-brand */
    #navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        z-index: 1000;
        padding: 1rem 1.25rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    /* center nav links and stack vertically */
    #navbar .navbar-collapse .navbar-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding-left: 0;
        margin: 0;
        list-style: none;
    }

    /* ensure each nav-item is full-width for easier tapping but centered content */
    #navbar .navbar-collapse .nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* center donate button even though it's outside the .navbar-nav */
    #donate-link {
        display: inline-block;
        margin: 0.5rem auto 0;
        width: auto;
    }

    /* remove desktop alignment margins that could push things left */
    #navbar .navbar-collapse > #donate-link,
    #navbar .navbar-collapse > .btn#donate-link,
    #navbar .navbar-collapse .ms-auto,
    #navbar .navbar-collapse .me-auto {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* keep the toggler aligned to the right */
    .navbar-toggler {
        margin-left: auto;
        font-size: 16px;
        padding: .25rem .5rem;
    }

    /* override display flex when collapsed */
    #navbar .collapse:not(.show) {
        display: none;
    }

    /* change text color to black since white background */
    .nav-item .nav-link {
        color: black !important;
    }
}

.copyright-footer {
    color: #2f1700;
    display: flex;
    justify-content: center;

    & > div {
        font-size: 12px;
        padding: 10px 5px;

        & > a {
            text-decoration: none;
            color: #2f1700;
        }
    }
}
