@import url("https://use.typekit.net/mfj0rmd.css");
@import url("/websiteNew/assets/fonts/Avenir Next/stylesheet.css");

@font-face {
  font-family: 'Avenir Next';
  src: url('/websiteNew/assets/fonts/Nunito Sans/NunitoSans_10pt-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('/websiteNew/assets/fonts/Avenir/Avenir-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('/websiteNew/assets/fonts/Nunito Sans/NunitoSans_10pt-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('/websiteNew/assets/fonts/Avenir/Avenir-Black.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir';
  src: url('/websiteNew/assets/fonts/Nunito Sans/NunitoSans_10pt-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('/websiteNew/assets/fonts/Avenir/Avenir-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir Roman';
  src: url('/websiteNew/assets/fonts/Avenir/Avenir-Roman.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'IBM Plex Sans';
  height: 1500px;
  color: #000;
  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;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 0.6em;
    }
}

.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

header {
  background-color: #FFFFFF !important;
}

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;
  font-size: 1rem;
}

section.content h5 {
  position: relative;
  font-size: 1em;
  font-weight: 700;
  line-height: 170%;
  color: #d31f18;
}

section.content h5::before,
section.content h5::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  width: 1.5rem;
  height: 2px;
  background-color: #d31f18;
}

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;
}

.selection-result-area {
  width: 100%;
}

.selection-result {
  --base-font: 1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  justify-items: center;
  gap: 2rem;
  grid-auto-columns: 1fr;
  grid-template-rows: auto auto;
  margin: auto;
  padding: 5rem 0px 3rem;
  max-width: 1000px;
}

.selection-result[hidden] {
  display: none;
}

.selection-result .holder-card {
  display: flex;
  flex-direction: column;
  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.5rem;
  font-weight: 700;
  color: #333;
  background-color: #FFE5E4;
  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: #d31f18;
  text-transform: uppercase;
}

.selection-result .holder-card .link img {
  width: 36px;
  height: 36px;
}

@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 {
    padding-bottom: 0.5rem;
    font-size: 2.75em;
  }

  section.content p {
    font-size: 1.25em;
    line-height: 1.5em;
    text-align: left;
  }

  .selection-result {
    padding: 1rem 0px 3rem;
  }
}