* { margin: 0px; padding: 0px; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
}
body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("/images/holders-bg-light.svg"), url("/images/holders-bg.svg");
  background-attachment: fixed;
  background-position-y: 70%, 80%;
  background-position-x: 270%, -130%;
  background-size: 150%;
  background-repeat: no-repeat;
  overflow: auto;
}
header.at-top {
  background-color: transparent;
}
footer {
  width: 100%;
}
main {
  margin: 8vh auto 0px;
  width: 100%;
  height: auto;
  max-width: 1600px;
}

main section {
  padding: 0px 2rem;
  width: 100%;
}

section.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  padding-top: 12vh;
  text-align: center;
}
section.content h5 {
  position: relative;
  font-size: 1em;
  font-weight: 700;
  line-height: 170%;
  color: #de6834;
}
section.content h5::before,
section.content h5::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  width: 1.5rem;
  height: 2px;
  background-color: #de6834;
}
section.content h5::before {
  left: -2.5rem;
}
section.content h5::after {
  right: -2.5rem;
}
section.content h1 {
  padding-bottom: 1rem;
  font-size: 6.35em;
  font-weight: 800;
  line-height: 1em;
  color: #000;
}
section.content p {
  padding-bottom: 1em;
  max-width: 1000px;
  font-size: 1.35em;
  font-weight: 500;
  line-height: 1.75em;
  opacity: 0.6;
}
section.content h6 {
  font-size: 0.9em;
  font-weight: 800;
  color: #666;
}
.content-display-area {
  display: flex;
  justify-content: center;
  gap: 8em;
}
.content-display-area .content .value {
  font-size: 2.25em;
  font-weight: 700;
  line-height: 135%;
  color: #de6834;
}
.content-display-area .content .label {
  font-size: 0.85em;
  font-weight: 600;
  line-height: 130%;
  color: #666;
}
.vertical-rule {
  margin-top: 3.13em;
  margin-bottom: 4.06em;
  width: 2px;
  height: 5em;
  min-height: 6em;
  min-width: 2px;
  background-color: #feeee5;
}
.selection-buttons {
  display: flex;
  gap: 1.5rem;
  padding: 1rem;
}
.selection-buttons button {
  padding: 1rem 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #de6834;
  border-radius: 2rem;
  border: 1px solid hsl(18, 68%, 78%);
  background-color: transparent;
  transition: 250ms ease-out background;
  outline: none;
}
.selection-buttons button:hover {
  background-color: #feeee5;
}
.selection-buttons button:disabled {
  color: #fff;
  background-image: linear-gradient(90deg, #de6834 0%, #a04118 100%);
  border-color: transparent;
}
.selection-result-area {
  width: 100%;
}
.selection-result {
  --base-font: 1;
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-items: center;
  gap: 2rem;
  margin: auto;
  padding: 6rem 0px 3rem;
  width: 100%;
  max-width: 1000px;
}
.selection-result[hidden] {
  display: none;
}
.selection-result .holder-card {
  display: flex;
  flex-direction: column;
  /* flex-shrink: 0; */
  width: calc(320px / var(--base-font));
  height: auto;
  border-radius: 1.5rem;
  background-color: #fff;
  border: 1px solid #D8D8D8;
  overflow: hidden;
}
.selection-result .holder-card .image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  height: 200px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  background-color: #f8c9a0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.selection-result .holder-card .image-container::after {
  content: "";
  position: absolute;
  left: 1.5em;
  bottom: -1.5rem;
  width: 3rem;
  height: 3rem;
  background-image: url("/images/quote.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.selection-result .holder-card .image {
  width: 100%;
  height: 100%;
  background-position: center 24%;
  background-size: cover;
  background-repeat: no-repeat;
  backdrop-filter: blur(1rem);
}
.selection-result .holder-card .content {
  display: flex;
  flex-direction: column;
  padding: 2em;
  height: 100%;
  text-align: left;
}
.selection-result .holder-card .content .name {
  margin-top: 0.5rem;
  font-size: 22px;
  font-weight: bold;
  color: #000;
}
.selection-result .holder-card .content .company {
  margin-top: 0.5rem;
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  text-transform: capitalize;
  color: #000;
}
.selection-result .holder-card .content .company.role {
  font-size: 16px;
}
.selection-result .holder-card .content .review {
  margin-top: 0.5rem;
  width: 100%;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4em;
  color: #888;
}
.selection-result .holder-card .link {
  margin-top: auto;
  margin-left: auto;
  padding-top: 1rem;
  font-size: 0.8em;
  font-weight: 800;
  line-height: 1em;
  color: #de6834;
  text-transform: uppercase;
}
.selection-result .holder-card .link img {
  width: 36px;
  height: 36px;
}

.nav-cards {
  display: flex;
  gap: 1rem;
  width: 100%;
}
.nav-cards .nav-card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 5rem 6rem;
  background-color: #feeee5;
  text-align: center;
  border-radius: 0.5rem;
}
.nav-cards .nav-card h1 {
  font-size: 3em;
  font-weight: 600;
  line-height: 1.1em;
  color: #000;
}
.nav-cards .nav-card p {
  margin: 0.5rem 0px 2rem;
  font-size: 1.2em;
  font-weight: 500;
  color: #222a;
}
.nav-cards .nav-card a {
  margin-top: auto;
  padding: 0.8em 2.4em;
  font-size: calc(24px / var(--base-font));
  font-weight: 500;
  border-radius: 4px;
  color: #fff;
  background-color: #de6834;
  border: none;
  outline: none;
  transition: 250ms ease-out background;
}
.nav-cards .nav-card a:first-of-type {
  margin-left: auto;
  margin-right: 0.5rem;
}
.nav-cards .nav-card a:last-of-type {
  margin-left: 0.5rem;
  margin-right: auto;
}

.overlay-button {
  display: none;
  position: sticky;
  padding: 1.25rem 2rem;
  bottom: 2rem;
  font-size: 1rem;
  font-weight: 500;
  word-spacing: 0.1rem;
  text-transform: uppercase;
  color: #fff;
  background-color: #de6834;
  border-radius: 2rem;
  border: none;
  outline: none;
  box-shadow: 0px 0.2rem 0.5rem #0004;
  transition: 250ms ease-out background;
}

@media screen and (max-width: 480px) {
  main {
    font-size: 0.75em;
  }
  main section {
    padding: 0px 2em;
  }
  section.content {
    padding-top: 6vh;
  }
  section.content h5 {
    font-size: 0.9em;
  }
  section.content h1 {
    font-size: 3.34em;
  }
  .selection-result .holder-card {
    max-width: calc(100vw - 3rem);
  }
  .vertical-rule {
    margin-top: 2em;
    margin-bottom: 2em;
    min-height: 5em;
  }
  .selection-buttons {
    gap: 1em;
  }
  .selection-buttons button {
    padding: 1rem 1rem;
    text-wrap: nowrap;
    font-size: 1em;
  }
  .selection-result {
    padding: 1rem 0px 3rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .nav-cards {
    flex-direction: column;
  }
  .nav-cards .nav-card {
    margin-bottom: 0px;
    padding: 2rem;
  }
  .nav-cards .nav-card h1 {
    margin-bottom: 0.5em;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.25em;
  }
  .nav-cards .nav-card a {
    padding: 1rem 1.5rem;
    font-size: 1em;
  }
  .nav-cards .nav-card a:first-of-type {
    margin-bottom: 0.75rem;
    margin-left: auto;
    margin-right: auto;
  }
  .nav-cards .nav-card a:last-of-type {
    margin-left: auto;
    margin-right: auto;
  }
  .overlay-button {
    margin-top: 1rem;
    padding: 1rem 1.75rem;
    font-size: 0.9em;
  }
}