body {
  color: #222;
  margin: 0;
  font-family: "fairplex-wide", serif;
  --accent: rgb(49, 75, 33);
  background-color: var(--accent);
}

main {
  display: grid;
  grid-template: "center";
}
main #parallax, main #content {
  grid-area: center;
}
main #parallax #top {
  background-color: whitesmoke;
  height: 25vh;
}
main #parallax #bottom {
  min-height: 75vh;
  background-color: var(--accent);
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);
}

.headline {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, whitesmoke 15%) whitesmoke;
  margin-bottom: 18rem;
}
@media (min-width: 680px) {
  .headline {
    margin-bottom: 0;
  }
}

.donation-overview {
  max-width: 1024px;
  margin: 0 auto;
  box-sizing: border-box;
  display: none;
}
@media (min-width: 680px) {
  .donation-overview {
    display: block;
  }
}

.donation-progress {
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.donation-progress .background {
  stroke: rgb(250, 250, 250);
  fill: rgb(250, 250, 250);
  opacity: 0.2;
}
.donation-progress .fill {
  stroke: whitesmoke;
  stroke-width: 7;
}
.donation-progress .achieved text {
  fill: var(--accent);
}
.donation-progress text {
  fill: whitesmoke;
  font-weight: bold;
  font-size: 0.25rem;
}
.donation-progress .cta {
  font-size: 0.25rem;
  color: whitesmoke;
  font-style: italic;
  text-align: center;
}

#content header.main {
  display: grid;
  max-width: 1024px;
  margin: 0 auto;
  padding: 1rem 0;
  box-sizing: border-box;
  height: 8.4rem;
}
@media (min-width: 680px) {
  #content header.main {
    grid-template-columns: 1fr 1fr;
    height: 6.4rem;
  }
}
#content header.main div.donation-box {
  order: 2;
}
@media (min-width: 680px) {
  #content header.main div.donation-box {
    order: 1;
  }
}
#content header.main div.donation-box address {
  font-family: "fairplex-narrow", serif;
  font-weight: 400;
  font-style: normal;
  padding: 2rem;
  box-sizing: border-box;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);
  margin: 1rem 0;
}
#content header.main div.donation-box address header {
  text-align: right;
}
#content header.main div.donation-box address p {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  border-bottom: 1px dashed var(--accent);
  padding: 0.5rem 0;
  margin: 0.5rem 0;
  box-sizing: border-box;
}
#content header.main div.donation-box address p strong {
  text-align: right;
}
#content header.main div.donation-box address footer {
  margin-top: 1rem;
  text-align: center;
}
#content header.main div.donation-box address footer small {
  display: block;
  opacity: 0.5;
  font-size: 0.8rem;
  margin: 0.5rem 0;
}
#content header.main div.title {
  order: 1;
  font-style: italic;
  text-align: center;
}
@media (min-width: 680px) {
  #content header.main div.title {
    order: 2;
    text-align: right;
  }
}
#content header.main div.title h1 {
  font-size: 1.7rem;
  line-height: 1.7rem;
  padding: 0.5rem 0;
  margin: 0;
}
#content header.main div.title small {
  font-weight: 400;
}
#content header.main div.title .donation-progress {
  display: none;
}
@media (min-width: 680px) {
  #content header.main div.title .donation-progress {
    display: block;
  }
}

#eyecatcher {
  display: grid;
  grid-template-columns: 1fr;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 2rem;
  box-sizing: border-box;
  max-width: 1024px;
  margin: 1.5rem auto;
  gap: 1.5rem;
  color: whitesmoke;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
}
@media (min-width: 680px) {
  #eyecatcher {
    grid-template-columns: 1fr 1fr;
  }
}
#eyecatcher .graphics {
  order: 1;
}
@media (min-width: 680px) {
  #eyecatcher .graphics {
    order: 2;
  }
}
#eyecatcher .content {
  order: 2;
  text-align: center;
  padding: 0 2rem;
  box-sizing: border-box;
}
@media (min-width: 680px) {
  #eyecatcher .content {
    order: 1;
  }
}
#eyecatcher .images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
#eyecatcher .images .image {
  --width: auto;
}

.image {
  display: block;
  background: var(--image) center/cover;
  width: var(--width, 300px);
  aspect-ratio: 1/1;
  border-radius: 1rem;
}

.text {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6rem;
}

.impressions {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  padding: 2rem 1rem;
  box-sizing: border-box;
  border-radius: 1rem;
  max-width: 1024px;
  margin: 1rem auto;
  justify-content: center;
  align-items: center;
}
@media (min-width: 680px) {
  .impressions {
    display: grid;
  }
}
.impressions .desc {
  text-align: center;
  color: whitesmoke;
}

.history {
  box-sizing: border-box;
  border-radius: 1rem;
  max-width: 1024px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 1fr;
  color: whitesmoke;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 680px) {
  .history {
    grid-template-columns: 1fr 1fr;
  }
}
.history header {
  font-weight: bold;
  font-size: 1.5rem;
  text-align: center;
  margin: 1rem 0;
}
.history .gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
.history .timeline {
  display: grid;
  max-width: 480px;
  margin: 0 auto;
}
.history .timeline > div {
  display: grid;
  grid-template-columns: 0.25fr 1fr;
  padding: 0.5rem;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
}
.history .timeline > div > div {
  text-align: right;
  padding: 1rem;
  box-sizing: border-box;
  font-weight: bold;
}
.history .timeline > div p {
  margin: 0;
}
.history .frame {
  display: grid;
  justify-content: center;
  align-items: center;
  background-color: rgba(250, 250, 250, 0.1);
  height: 100%;
  border-radius: 1rem;
  padding: 2rem;
  box-sizing: border-box;
}
.history .image {
  display: block;
}

.main-content {
  color: whitesmoke;
  max-width: 1024px;
  margin: 0 auto 3rem;
}

footer.main {
  background-color: rgba(0, 0, 0, 0.2);
  color: whitesmoke;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.01rem;
}
footer.main > div {
  max-width: 1024px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 680px) {
  footer.main > div {
    text-align: left;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}
footer.main header {
  display: block;
  font-weight: bold;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
footer.main nav a {
  line-height: 1.45rem;
  display: inline-block;
  box-sizing: border-box;
  color: whitesmoke;
  text-decoration: none;
  border-bottom: 1px dashed whitesmoke;
  font-size: 0.8rem;
}
footer.main nav a:hover {
  border-bottom-style: solid;
}
footer.main .copyright {
  margin: 0;
}
@media (min-width: 680px) {
  footer.main .copyright {
    text-align: right;
  }
}

.md {
  background-color: rgba(250, 250, 250, 0.1);
  padding: 1rem;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6rem;
  border-radius: 1rem;
}
@media (min-width: 680px) {
  .md {
    padding: 1rem 3rem;
  }
}
.md h1 {
  font-size: 1.7rem;
}
.md h2 {
  font-size: 1.5rem;
}
.md h3 {
  font-size: 1.3rem;
}

#news {
  background-color: rgba(0, 0, 0, 0.1);
  margin: 1.5rem auto;
  padding: 2rem;
  border-radius: 1rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 2rem;
}
#news header {
  font-size: 1.5rem;
  font-weight: bold;
}
#news p {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.5rem;
}