@import "normalize.css";
@import url("https://fonts.googleapis.com/css2?family=Noticia+Text:ital,wght@0,400;0,700;1,400;1,700&display=swap");

@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/woff2/Metropolis-Regular.woff2") format("woff2"),
    url("/fonts/woff/Metropolis-Regular.woff") format("woff"),
    url("/fonts/eot/Metropolis-Regular.eot") format("embedded-opentype");
}
@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/woff2/Metropolis-Medium.woff2") format("woff2"),
    url("/fonts/woff/Metropolis-Medium.woff") format("woff"),
    url("/fonts/eot/Metropolis-Medium.eot") format("embedded-opentype");
}

@font-face {
  font-family: "Metropolis";
  font-style: bold;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/woff2/Metropolis-Bold.woff2") format("woff2"),
    url("/fonts/woff/Metropolis-Bold.woff") format("woff"),
    url("/fonts/eot/Metropolis-Bold.eot") format("embedded-opentype");
}
body {
  background-color: #f2f4f7;
  font-family: "Noticia Text", serif;
  color: #131a26;
  font-size: 1.0625rem;
}
body.menu-open {
  overflow-y: hidden;
}
h1 {
  font-family: Metropolis, sans-serif;
  text-transform: uppercase;
  font-size: 2.4rem;
  color: #2b3442;
  line-height: 1.1;
}
h2 {
  font-family: Metropolis, sans-serif;
  text-transform: uppercase;
  margin-top: 1.25em;
  margin-bottom: 0;
  color: #2b3442;
  line-height: 1.1;
}
h2 + p {
  margin-top: 0.4rem;
}
p,
.main-content {
  margin: 0;
  line-height: 1.5;
}
p {
  margin-top: 0.75rem;
}
figure {
  font-size: 0.9em;
}
blockquote {
  margin: 0;
}
a {
  color: #0f48a0;
  touch-action: manipulation;
}
a:hover {
  color: #042a64;
}
.main-header {
  position: sticky;
  top: 0;
}
.navbar {
  background-color: #fff;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
}
.navbar--menu-open {
  position: fixed;
  top: 0;
  width: 100%;
}
.navbar__menu-container {
  margin-right: 1rem;
}
.navbar__menu-button {
  cursor: pointer;
}
.navbar__links-container {
  position: fixed;
  inset: 0;
  top: 50px;
  background-color: rgba(2, 1, 1, 0.3);
  box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  display: none;
  /* transform: translateX(100vw); */
}
.navbar__menu-button--open + .navbar__links-container {
  display: block;
  transform: translateX(0);
}
.navbar__links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  padding: 2rem 0;
  background-color: #f2f4f7;
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2);
  max-height: 100vh;
  max-width: 100vw;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.navbar__links a {
  display: block;
  white-space: nowrap;
  text-decoration: none;
  padding: 0.45em 2rem;
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
  font-family: Metropolis, sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  color: #2b3442;
  opacity: 0.85;
}
@media screen and (min-width: 640px) {
  .navbar__links-container {
    position: static;
    background: none;
    box-shadow: none;
    transform: none;
    display: block;
  }
  .navbar__links {
    position: static;
    margin: 0;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
  }
  .navbar__links a {
    font-size: 0.8em;
    opacity: 0.7;
    padding: 0.45em 0.5rem;
    margin: 0;
    margin-top: 0.3em;
  }
  .navbar__links a:hover {
    opacity: 0.9;
  }
  .navbar__links > * + * > a {
    margin-left: 0.3rem;
  }
  .navbar__menu-button {
    display: none;
  }
}

.navbar__links a:hover {
  text-decoration: underline;
}
.navbar .container {
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0;
}
.logo-container {
  margin: 0;
  margin-left: 1rem;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  display: flex;
}
.logo {
  display: inline-flex;
  text-decoration: none;
  color: #2b3442;
  align-content: center;
}
.logo > * {
  width: 60px;
}
.logo__primary-name,
.logo__secondary-name {
  display: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-left: 0.3125rem;
  letter-spacing: -0.02em;
}
.logo__secondary-name {
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media screen and (min-width: 340px) {
  .logo__primary-name,
  .logo__secondary-name {
    display: block;
  }
  .logo__primary-name {
    font-size: 1rem;
  }
  .logo__secondary-name {
    font-size: 0.75rem;
  }
  .logo > * {
    width: unset;
  }
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 60ch;
}
.home-section {
  margin-top: 6.25rem;
}
.home-section--smaller {
  margin-top: 4.25rem;
}
.home-section--centered {
  text-align: center;
}
.home-section .container {
  max-width: 50ch;
}
.home-section--bg-img {
  padding-top: 14rem;
  background-repeat: no-repeat;
  background-position: top center;
}
.home-section--welcome-students {
}
.home-section--welcome-students a {
  text-decoration: none;
  background-color: rgba(117, 149, 214, 0.1);
  border-radius: 30px 30px 10px 30px;
  padding: 12px 20px 24px 20px;
}
.home-section--welcome-students a:hover {
  text-decoration: underline;
}
.home-section--welcome-students img {
  transition: all 200ms;
}
.home-section--welcome-students a:hover img {
  transform: scale(1.05);
}
.home-section--welcome-students a svg {
  transition: all 200ms;
}
.home-section--welcome-students a:hover svg {
  transform: translateX(0.5rem);
}
.home-section--hero {
  margin-top: 7.5rem;
  padding-top: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.home-section--hero .container {
  max-width: 60ch;
}
.home-section--hero .home-section-text {
  max-width: 44ch;
  margin: auto;
}
.home-section--real-family {
  background-image: url("../assets/lighthouse.png");
}
.home-section--big-impact {
  background-image: url("../assets/waves.png");
}
.home-section--firm-foundation {
  background-image: url("../assets/rocks.png");
}
.home-section--contact {
  text-align: center;
}
.home-section--contact .home-section__heading {
  font-size: 2.2rem;
  font-size: clamp(2.2rem, 4.2vw, 2.6rem);
}
.home-section--hero .home-section__heading {
  font-size: 2.1875rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.home-section__heading {
  text-transform: uppercase;
  font-size: 1.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1;
  margin-bottom: 0.625rem;
}
address {
  font-style: normal;
  font-size: 1.125rem;
}
.footer-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.main-content {
  margin-top: 3rem;
}
.subheading-label {
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.label-text {
  font-family: Metropolis, sans-serif;
  font-weight: bold;
  font-size: 0.875em;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #4b505a;
}
.scripture-citations {
  list-style-type: none;
  margin: 0;
  margin-top: 0.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.scripture-citations > * {
  white-space: nowrap;
}
.scripture-citations > *::after {
  content: "·";
  margin-left: 0.75ch;
  margin-right: 0.75ch;
}
.scripture-citations *:last-child::after {
  content: "";
}
.img-carousel {
  overflow: hidden;
  max-width: min(763px, 85vw);
  margin-inline: auto;
  margin-top: 4rem;
  /* margin-bottom: -4rem; */
  border-radius: 10px;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  /* -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  ); */
}
.img-carousel img {
  display: block;
  animation-name: welcome-students-carousel;
  animation-duration: 30s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.img-carousel:hover img {
  animation-play-state: paused;
}
@keyframes welcome-students-carousel {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -1402px;
  }
}
.testimonials {
  margin: clamp(3.375rem, 5vw, 5rem) auto;
  /* display: flex;
  flex-wrap: wrap;
  justify-content: center; */
  columns: 2 343px;
  max-width: 763px;
  padding: 0 clamp(30px, 5vw, 40px);
  gap: clamp(30px, 5vw, 40px);
}
.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 0;
  max-width: 343px;
  break-inside: avoid-column;
  margin-bottom: 2.5rem;
}
.testimonial__text {
  border-radius: 30px 30px 10px 30px;
  padding: 12px 20px 24px 20px;
}
.testimonial:nth-child(3n + 1) .testimonial__text {
  background-color: rgba(238, 157, 141, 0.2);
}
.testimonial:nth-child(3n + 2) .testimonial__text {
  background-color: rgba(117, 149, 214, 0.1);
}
.testimonial:nth-child(3n + 3) .testimonial__text {
  background-color: rgba(237, 219, 125, 0.25);
}
.testimonial__footer {
  align-self: flex-end;
  display: flex;
  gap: 12px;
  margin-top: -16px;
  align-items: center;
}
.testimonial__name,
.testimonial__title {
  font-size: 0.9375rem;
  font-family: Metropolis, sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  color: #2b3442;
}
.testimonial__title {
  color: #676f79;
}
