:root {
  --color-primary: hsl(50, 75%, 92%);
  --color-secondary: hsl(330, 4%, 35%);
  --color-accent: hsl(36, 100%, 71%);
  --color-dark-neutral: hsl(320, 5%, 12%);
  --standard-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
  --standard-radius: 10px;
  font-size: 16px;
}

@font-face {
  font-family: "Franklin Stone";
  src: url("assets/FranklinStone-CondensedStamp.eot");
  src: url("assets/FranklinStone-CondensedStamp.eot?#iefix")
      format("embedded-opentype"),
    url("assets/FranklinStone-CondensedStamp.woff2") format("woff2"),
    url("assets/FranklinStone-CondensedStamp.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-primary);
  background-image: url("assets/cross-background.svg");
  background-repeat: no-repeat;
  background-position: 50% 5%;
  background-attachment: scroll;
  background-size: 70%;
  font-family: "Roboto";
  padding-top: 2vh;
}
body a {
  color: inherit;
  text-decoration: underline;
}
h1,
h2,
h3,
h4 {
  font-family: "Franklin Stone";
}
h1 {
  font-size: 3rem;
  line-height: 2.75rem;
  color: var(--color-secondary);
  margin: 1.5rem 1rem 2rem 1rem;
}
h2 {
  font-size: 2.5rem;
  line-height: 2rem;
}

.goldbox {
  background-color: var(--color-accent);
  padding: 1.25rem;
  border-radius: var(--standard-radius);
  box-shadow: var(--standard-shadow);
}
main {
  max-width: 955px;
  margin: 5vh auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 1vh 1vh 4vh 1vh;
}
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.logo img {
  max-width: 20rem;
  align-self: flex-end;
}
.logo .titles {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}
.logo .titles h1:last-of-type {
  font-size: 11rem;
  color: var(--color-dark-neutral);
}

.subhead {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0 4vh;
}
.subhead .presented {
  text-align: center;
  align-items: flex-start;
  gap: 0;
}
.goldbox {
  display: flex;
  align-content: space-around;
  flex-direction: column;
  justify-content: center;
}
.goldbox ul {
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: space-around;
}
.goldbox ul li {
  margin: 1rem;
  font-size: 1.6rem;
  font-family: "Franklin Stone";
}
.goldbox ul li a {
  text-decoration: none;
  color: inherit;
}
.goldbox ul li a:hover {
  border-bottom: solid 2px var(--color-dark-neutral);
}

main section.cards {
  display: flex;
  flex-direction: column;
  margin-top: 6vh;
  gap: 5vh;
}
main .card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5vw;
}

@media (max-width: 767px) {
  body {
    padding-top: 0;
  }
  h1 {
    font-size: 2.5rem;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1rem;
  }
  /* .logo {
    justify-content: space-between;
  }
  .logo img {
    width: 40%;
  } */
  .subhead {
    padding: 10px;
  }
  main {
    padding: 2vh 2vw 5vh 2vw;
  }
  main .card {
    flex-direction: column;
  }
  main .card .cardCopy {
    width: 100%;
  }
  main .card .cardAsset,
  main .card .cardCopy {
    max-width: 100%;
  }
  main .card .cardAsset img {
    width: 100%;
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  main .card .cardAsset img {
    max-width: 20vw;
  }
  main .card:nth-child(even) {
    flex-direction: row-reverse;
  }
  main .card:nth-child(even) .cardCopy {
    text-align: right;
    background-position: right center;
  }

  main .card .cardAsset,
  main .card .cardCopy {
    max-width: 50%;
  }
}

main .card .cardAsset img {
  box-shadow: var(--standard-shadow);
  border-radius: var(--standard-radius);
}
main .card .cardAsset ul li,
main .card .cardAsset ul a {
  padding: 0;
  margin: 0;
  font-size: 1.2rem;
}
main .card .cardCopy {
  background-position: left center;
  background-size: 10rem;
  background-repeat: no-repeat;
}
main #about .cardCopy {
  background-image: url(assets/oa-info.svg);
}
main #meetings .cardCopy {
  background-image: url(assets/oa-calendar.svg);
}
main #location .cardCopy {
  background-image: url(assets/oa-map.svg);
}
main #contact .cardCopy {
  background-image: url(assets/oa-contact.svg);
}
footer {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  text-align: center;
  padding: 1em;
  line-height: 1.6em;
}
