html, body {
    margin: 0;
}
button {
    color: black !important;
    cursor: pointer;
}
.nav-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    right: 25px;
    bottom: 50px;
    gap: 5px;
    z-index: 9999;
}
.nav-container button {
    display: flex;
    border-radius: 50%;
    height: 50px;
    aspect-ratio: 1;
    font-size: 2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: grey;
    background-color: white;
    border: 1px solid grey;
}
.nav-container button:hover {
    background-color: rgb(235, 235, 235);
}
.nav-button-arrow {
    width: 20px;
    opacity: 50%;
}

.image-splash {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.g-caption {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 25px;
}
.g-caption-text {
    width: 600px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 0.75rem;
    color: gray;
}

.g-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* margin-bottom: 35px; */
}
.g-text {
    width: 600px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 12.5px;
}
.g-image-container {
    display: inline-block;
    width: 600px;
    margin-bottom: 50px;
    position: relative;
}
.g-image {
    width: 600px;
    object-fit: contain;
}
.g-image-text {
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    position: absolute;
    z-index: 9999;
    font-style: italic;
    letter-spacing: 0.3rem;
    text-shadow:
    0 0 5px white,
    0 0 10px white,
    0 0 20px white,
    0 0 30px white,
    0 0 40px white,
    0 0 5px white,
    0 0 10px white,
    0 0 20px white,
    0 0 30px white,
    0 0 40px white;
}
.g-wrapper {
    margin-bottom: 25px;
    position: relative;
}

.g-heading {
    margin-top: 20px;
    margin-bottom: 35px;
}
.g-heading-logo {
    width: 240px;
    margin-bottom: 15px;
    opacity: 50%;
}
.g-title {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', Times, serif;
    font-size: 2.375rem;
    line-height: 1.2;
    margin-bottom: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-rendering: optimizeLegibility;
}
.g-chapter-title {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', Times, serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 80px;
}
.g-chapter-subtitle {
    font-weight: 400;
    color: grey;
    font-size: 1.375rem;
}
.g-chapter-line {
    width: 80px;
    border-bottom: lightgrey 1px solid;
    margin-bottom: 25px;
    margin-top: 25px;
}


@media (max-width: 600px) {
    .g-text, .g-caption-text {
        width: 85vw;
        font-size: 1.1rem;
        line-height: 1.25;
    }
    .g-image-container {
        width: 85vw;
    }
    .g-image {
        width: 85vw;
        /* padding: 0 30px; */
        object-fit: contain;
    }
    .g-image-text {
        font-size: 0.8rem;
        font-weight: 600;
    }
    .image-splash {
        height: 400px;
    }
    .g-heading {
        margin-top: 15px;
    }
    .g-title {
        font-size: 1.8rem;
    }
    .g-caption-text {
        font-size: 0.6rem;
    }
    .g-chapter-subtitle {
        font-size: 0.9rem;
    }
}



.g-heading-button-container {
    display: flex;
    justify-content: left;
    align-items: center;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid lightgray;
}
.g-heading-button-container a {
    text-decoration: none;
    color: black;
}
.g-heading-button {
    font-size: 0.75rem;
    font-family: Arial, sans-serif;
    border-radius: 20px;
    border: 1px solid lightgray;
    padding: 8px 12px;
    background-color: white;   
    display: flex;
    align-items: center;
    margin-right: 12px;
}
.g-heading-button:hover {
    background-color: lightgray;
}
.g-heading-button-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}
.g-heading-bio-container {
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}
.g-heading-bio-author {
    font-size: 0.9rem;
    font-weight: 500;
}
.g-heading-bio-author a {
    color: black !important;
}
.g-heading-bio-text, .g-heading-bio-date {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.g-heading-line {
    height: 1.5px;
    background-color: black;
    width: 125px;
    margin-bottom: 25px;
}

.g-image-logo {
    position: absolute;
    top: 6%;
    left: 6%;
    width: 40%;
    height: auto;
    object-fit: contain;
}
.g-image-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    border: none;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-family: Arial, sans-serif;
    font-weight: 800;
    color: black;
}
.g-image-button:hover {
    cursor: pointer;
}

.footing {
    font-size: 0.65rem;
    font-family: Arial, sans-serif;
    text-align: center;
    color: gray;
    border-top: 1px lightgray solid;
    padding-top: 10px;
    padding-bottom: 75px;
}

h1, p {
    margin: 0;
}
a {
    color: #326891;
    text-decoration-color: #a7b8c4;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

#g-wrapper-splash:hover {
    cursor: pointer;
    opacity: 0.8;
}




.scrollytelling-container {
    display: flex;
    flex-direction: column;
    position: relative;
  }
  
  .scrollytelling-image-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
  }
  
  .scrollytelling-image {
    position: absolute;
    /* top: 0; */
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
  }

  .scrollytelling-image-full {
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  
  .scrollytelling-image.active {
    opacity: 1;
    z-index: 1;
  }
  
  
  .scrollytelling-step {
    padding: 50vh 2rem 50vh 2rem; /* Makes each step tall enough to scroll */
    font-size: 1.2rem;
    line-height: 1.6;
    background: transparent;
    z-index: 1;
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .scrollytelling-step p {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding: 1rem;      
    width: 600px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 12.5px;
  }

.highlight {
    background: white;
    box-decoration-break: clone;
    padding: 0.4rem 0.4rem;
}


@media (max-width: 600px) {
    .scrollytelling-image {
        width: 85%;
    }
    .scrollytelling-image-full {
        width: 100%;
    }
    .scrollytelling-step p {
        width: 85%;
        font-size: 1.1rem;
    }
    .highlight {
        padding: 0.3rem 0.3rem;
    }
}

  .article-content {
    padding: 4rem 2rem;
  }
  

#copy-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}
