@import url("./main.css");

.about-header {
  min-height: 60vh;
  padding-block: 8rem;
}

.about-header h1 {
  text-align: left;
  margin-bottom: 0.5rem;
}

.about-header .wrapper {
  max-width: 800px;
}

.about-header p:not(:last-of-type) {
  margin-bottom: 0.5rem;
}

@media (max-width: 50rem) {
  .about-header {
    min-height: 50vh;
  }
}

.about-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 50em) {
  .about-images {
    display: block;
  }

  .about-images img:nth-of-type(1) {
    display: none;
  }
}

.about-text {
  margin-block: 8rem;
}

.about-text .wrapper {
  max-width: 800px;
}

.about-text p:not(:last-of-type) {
  margin-bottom: 0.5rem;
}

.about-image-full img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center -100px;
}

@media (max-width: 50em) {
  .about-image-full img {
    height: 100%;
    object-position: center;
  }
}

.help {
  margin-block: 4rem;
}

.help .wrapper {
  max-width: 100%;
}

.help__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-radius: 1rem;

  box-shadow: 2px 4px 25px rgba(0, 0, 0, 0.07);
}

.help__text {
  padding-inline: 2.5rem 2rem;
  padding-block: 2rem;

  display: grid;
  align-items: center;
}

.help__text h2 {
  margin-bottom: 0.5rem;
}

.help__text ul > * + * {
  margin-top: 0.5rem;
}

.help__text li {
  --gap: 0.5rem;
  list-style: none;
  margin-left: -2.5rem;
}

.help__img img {
  height: 100%;
  object-fit: cover;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

@media (max-width: 50em) {
  .help__grid {
    grid-template-columns: 1fr;
  }

  .help__text {
    order: 2;
    padding: 1.5rem;
  }

  .help__text h2 {
    font-size: 1.5rem;
  }

  .help__img img {
    border-radius: 0;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
  }
}

@media (max-width: 30em) {
  .help__text li {
    align-items: start;
  }

  .help__text li svg {
    margin-top: 0.1rem;
  }
}

/* Activities */
.activities {
  margin-block: 4rem;
}

.activities .wrapper > * + * {
  margin-top: 0.5rem;
}

.activities h2 {
  color: var(--clr-accent);
}

.activities h3 {
  font-size: 1.5rem;
}

.activities iframe {
  width: 100%;
}

@media (min-width: 35em) {
  .activities iframe {
    height: 30rem;
  }
}
