#part1, #part2, #part3, #donor-wall {
    scroll-snap-align: center;
}

/********** part 1 **********/

#part1 {
    margin: 0px;
    height: var(--background-pic-height);
    /* border: dashed black 1px; */
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr 1fr;
}

img#background-pic {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    /* bottom: 0; */
    z-index: -1;
    width: 100%; 
    height: 100%;
    object-fit: cover;
    /* object-position: 60% 19%; */
    /* up to a point */
    /* height: 95vh; */
}

.link-header {
    border-bottom: 1px solid;
    border-bottom-color: currentColor;
}

.header10vw {
    font-size: 10vw;
}

#first-words {
    margin: 2rem;
    color: white;
    height: 100%;
    grid-column-start: 3;
    grid-row-start: 2;
    font-size: 1.25rem;
}

.subtle-text-shadow {
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}

.harder-text-shadow {
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.8);
}

#short-tagline {
    /* font-size: 3rem; */
    font-size: 7vh;
}

#long-tagline {
    font-size: 3.5vh;
}
#img-credit {
    position: absolute;
    color: white;
    top: 80vh;
    left: 2.5%;
    width: 15vw;
}

/********** part 2 **********/

#part2 article {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

#part2 article img {
    width: 400px;
    border-radius: 5px;
    filter: drop-shadow(5px -5px 2px rgba(0, 0, 0, 0.5));
}

#part2 article div {
    width: 400px;
}

.blue-italics {
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1px  #090a0a;
    text-shadow: 1px 1px 0px var(--deep-blue);
    font-weight: 700;
}

#part2 h2 {
    margin: 0;
    font-size: 4rem;
}

article#engineers {
    flex-direction: row-reverse;
}

/********** part 3 **********/
#part3 {
    background-color: black;
    color: white;
}

.central-image {
    display: block;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.big-text-arrow-link {
    background-color: var(--deep-blue);
    font-size: 3rem;
    transform: translateY(-2rem);
    text-align: center;
}

/********** Part 4 **********/

#donor-wall {
    background: black;
    color: white;
    /* height: 100vh; */
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.background-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 80%;
    /* height: 100%; */
    margin-left: auto;
    margin-right: auto;
    gap: 8rem;

}

.centered {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sticky-header {
    position: sticky;
    top: 1rem;
    /* font-size: 100wh;5rem; */
    /* font-size:  */
    color: white;
}


.sponsor {
    color: white;
    text-shadow: 0 4px 4px rgba(0,0,0,.5);
}

.parallax {
    /* The image used */
    background-image: url("../assets/engineers_working.jpg");
  
    /* Set a specific height */
    /* min-height: 500px;  */
    min-height: 100vh;
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    padding-bottom: 50px;
}

@media only screen and (max-device-width: 800px) {
    .parallax {
        background-attachment: scroll;
    }
}

/***************************************** Media **********************/

/* @media screen and (max-width: 300px) { */
    /* #background-pic { */
        /* height: var(--background-pic-height); */
        /* height: 100vh; */
        /* display: none; */
    /* } */
/* } */

@media screen and (width <= 500px) {
    #img-credit {
        /* display: none; */
        width: 80vw;
        top: 90vh;
    }
    #part1 {
        display: block;
        /* padding-top: 30px; */
    }
    #part2 h2 {
        font-size: 10vw;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

/********** Animation **********/

@keyframes bounceInUp {
    from,
    60%,
    75%,
    90%,
    to {
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
  
    from {
      opacity: 0;
      transform: translate3d(0, 3000px, 0) scaleY(5);
    }
  
    60% {
      opacity: 1;
      transform: translate3d(0, -20px, 0) scaleY(0.9);
    }
  
    75% {
      transform: translate3d(0, 10px, 0) scaleY(0.95);
    }
  
    90% {
      transform: translate3d(0, -5px, 0) scaleY(0.985);
    }
  
    to {
      transform: translate3d(0, 0, 0);
    }
  }
  
  .bounceInUp {
    animation-name: bounceInUp;
  }