body {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  color: #233047;
}

/* navbar */
/*#region*/
.nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  z-index: 3;

  padding-left: 0;
  padding-top: 0;

  background-color: #234190;
  overflow: hidden;

  border-bottom: 2px solid white;
}

.nav ul {
  display: flex;
  justify-content: center;

  flex-grow: 1.5;
}

.nav li:hover {
  background-color: #2a4fad;
}

.spacer {
  flex-grow: 3;
}

.nav a {
  text-decoration: none;
  text-decoration-thickness: 3px;

  font-family: "Lato", sans-serif;
  font-weight: 750;
  font-size: 30px;
  color: white;
  flex: 1;
}

#pltfmBtnWd {
  padding-bottom: 1px;
  border-bottom: 4px solid #ffcd31;
}

.nav a:link,
.nav a:visited {
  color: white;
}

.navElmts {
  margin: 0;
}

.navElmts li {
  list-style-type: none;
  flex: 1;

  /* a alignment */
  text-align: center;

  padding-top: 3vh;
  padding-bottom: 3vh;
}

#donateText {
  overflow: hidden;
}

.donateUl li {
  list-style-type: none;
  flex: 1;

  /* a alignment */
  text-align: center;

  padding-top: 3vh;
  padding-bottom: 3vh;
  max-width: 12vw;

  overflow: hidden;
}

#donateText {
  flex: 0.85;
  background-color: #234190;
  margin-left: 4vw;
  margin-right: 4vw;
  width: 0.05vw;
  height: 6vh;

  text-align: center;

  border: 2px solid white;

  border-radius: 3px;
  display: flex;
  justify-content: stretch;
}

#donateText:hover {
  border: 2px solid white;
  background-color: white;

  color: #234190;
}

#donateNav {
  color: #ffcd31;
  font-size: 33px;
  letter-spacing: 1px;
  font-weight: 700;

  border: transparent;

  background: transparent;
  flex-grow: 1;
}

#donateNav:hover {
  border: 2px solid white;
  background-color: white;

  color: #234190;
}

/* platform hero banner */
/*#region*/

/*Header Card Stuff*/
.BackgroundCard {
  background-color: #234190;
  padding: 8vh 6vw 9vh;
}

.BackgroundCardInner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.KelownaForEveryone {
  color: #ffcd31;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.platformTitle {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.05;
}

.platformTitle .accent {
  color: #ffcd31;
}

.platformParagraph {
  color: #dbe3f5;
  font-size: clamp(1.5rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin: 0;
}

.platformMain {
  background-color: #ffffff;
  padding: 6vh 6vw;
}

.planksGrid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.plankAccent {
  display: block;
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background-color: #ffcd31;
  margin-bottom: 1rem;
}

.plankCard h2 {
  color: #234190;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.plankCard p {
  color: #4a5670;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

.platformBottom {
  background-color: #234190;
  padding: 7vh 6vw;
  text-align: center;
}

.platformBottom h2 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 2rem;
}

.platformBottom h3 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  margin-top: 50px;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: #ffcd31;
}
.platformBottom .ctaButtons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ctaButtons a {
  text-decoration: none;
}

.ctaButton {
  background-color: white;
  color: #234190;
  font-size: 1.25rem;
  font-weight: 700;
  border: 2px solid white;
  border-radius: 10px;
  padding: 0.9rem 2.4rem;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.ctaButton:hover {
  background-color: #234190;
  color: white;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffcd31;
  outline-offset: 2px;
}

@media (max-width: 1150px) {
  .spacer {
    flex-grow: 1.2;
  }

  .donateUl {
    padding-left: 10px;
  }

  #donateText {
    width: max-content;
  }
}

@media (max-width: 900px) {
  .planksGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spacer {
    flex-grow: 1/4;
  }
}

@media (max-width: 700px) {
  .nav {
    flex-wrap: wrap;
    padding-bottom: 1vh;
  }

  .navElmts {
    padding-left: 0;
  }
  .donateUl {
    padding-left: 0;
  }

  .nav ul {
    flex-wrap: wrap;
  }

  .nav a {
    font-size: 22px;
  }

  .spacer {
    flex-grow: 0;
    width: 100%;
    height: 0;
  }

  .donateUl li {
    max-width: none;
  }

  #donateText {
    margin-left: 1.5vw;
    margin-right: 1.5vw;
    width: auto;
  }

  .planksGrid {
    grid-template-columns: 1fr;
  }

  .platformHero,
  .platformMain,
  .platformCta {
    padding-left: 6vw;
    padding-right: 6vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plankCard {
    transition: none;
  }

  .plankCard:hover {
    transform: none;
  }
}
