:root {
  --color-primary: #ffc413;
  --color-secondary: #091e3b;
  --color-subtext: rgb(117, 117, 117);
  --font-outfit: "Outfit";
  --font-recursive: "Recursive";
}

body {
  font-family: var(--font-recursive);
}

a:hover:not(.button) {
  opacity: 1;
}

p {
  font-size: 1.2rem;
  color: var(--color-subtext);
}

h2 {
  font-size: 4rem;
  font-weight: 500;
  font-family: var(--font-outfit);
  line-height: 1;
  max-width: 18ch;
  margin: 0;
}

h3 {
  font-size: 3rem;
  font-weight: 500;
  font-family: var(--font-outfit);
  line-height: 3rem;
}

h4 {
  font-size: 3rem;
  font-weight: 500;
  font-family: var(--font-outfit);
  line-height: 3rem;
  margin: 0;
}

h5 {
  font-size: 2rem;
  font-family: var(--font-outfit);
  margin: 0;
  font-weight: 700;
}

h6 {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
}

section {
  padding: 10rem 0;
}

#active {
  color: var(--color-primary);
}

.wrap {
  flex-wrap: wrap;
}

.bg-offwhite {
  background-color: #ececec;
}

.my-button {
  padding: 1.5rem 2rem;
  color: white;
  background-color: var(--color-primary);
  border-radius: 0px;
  font-size: 1.2rem;
  transition: 0.2s ease-in-out;
  line-height: 1;
  display: inline-block;
}

.my-button:hover {
  color: white;
  background-color: #333;
  opacity: 1;
}

.error {
  color: red;
  text-transform: uppercase;
}

.success {
  color: var(--color-primary);
  text-transform: uppercase;
}

.section-heading {
  margin: 2rem auto;
}

.section-blurb {
  max-width: 80ch;
  margin: 2rem auto;
}

.section-blurb-alt {
  max-width: 70ch;
  margin: 2rem 0;
}

.section-bar {
  width: 150px;
  margin: 3rem auto;
  display: flex;
  border-top: 2px solid var(--color-primary);
}

.mynav {
  background-color: var(--color-secondary);
  top: 0;
  position: sticky;
  padding: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
}

.mynav a {
  color: white;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-weight: 700;
  transition: 0.2s ease-in-out;
  margin: 1rem;
}

.mynav a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.mynav .my-button:hover {
  color: white;
  opacity: 1;
}

.hero {
  padding: 5rem 0;
  min-height: 100vh;
}

.hero h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 5rem;
  letter-spacing: -0.1rem;
  font-family: var(--font-outfit);
}

.hero p {
  margin: 2rem 0;
}

.hero .hero-img {
  width: 100%;
  padding: 2rem;
}

.news .news-card {
  box-shadow: none;
  border-radius: 0px;
  border: 2px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background-color: transparent;
  transition: 0.2s ease-in-out;
}

.news .news-card:hover {
  cursor: pointer;
  border-color: #333;
  .my-button {
    background-color: #333;
  }
}

.news .news-card .my-button {
  margin: auto 0 0 0;
  text-align: center;
}

.news .news-card .news-sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-subtext);
}

.news .news-card h3 {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
  line-height: 1;
  color: #333;
  max-width: 20ch;
}

.news .news-card p {
  line-height: 1.4rem;
}

.program .program-card {
  display: flex;
  flex-wrap: wrap;
  background-color: transparent;
  border: 2px solid var(--color-primary);
  position: relative;
  transition: 0.2s ease-in-out;
  margin: 1rem;
  padding: 2rem;
}

.program .program-card:hover {
  border-color: #333;
  cursor: pointer;
  box-shadow: 0px 0px 10px #33333333;
}

.program .program-card-button {
  display: flex;
  flex-wrap: wrap;
  background-color: transparent;
  border: 2px solid var(--color-primary);
  position: relative;
  transition: 0.2s ease-in-out;
  margin: 1rem;
  padding: 5rem;
}

.program-details a:hover {
  border-color: #333;
  cursor: pointer;
  opacity: 1;
  box-shadow: 0px 0px 10px #33333333;

  .my-button {
    background-color: #333;
  }
}

.program-details {
  margin: 5rem 0;
}

.program-card-span {
  font-family: var(--font-outfit);
  font-size: 15em;
  font-weight: 800;
  color: #d3d3d3;
  line-height: 1;
  padding: 2rem;
}

.research h3 {
  font-size: 6rem;
  line-height: 1;
  margin: 1rem 0;
  max-width: 10ch;
  font-weight: 800;
  color: #ececec;
}

.research h4 {
  line-height: 1;
}

.research .research-content {
  background-color: #ececec;
  margin: 2rem 0;
  transition: 0.2s ease-in-out;
}

.research .research-content:hover {
  box-shadow: 0 0 10px #33333333;
}

.research .research-content h4 {
  display: inline;
  margin: 0 0 0 auto;
}

.research .research-content p {
  margin: 0 auto;
  max-width: 90ch;
  line-height: 1.4rem;
}

.research .research-content summary {
  font-family: var(--font-outfit);
  padding: 2rem;
  cursor: pointer;
  user-select: none;
}

.research .research-content ::marker {
  content: "+";
  font-size: 3rem;
  font-weight: 500;
}

.research .research-content[open] ::marker {
  content: "-";
}

.research .research-content[open]::details-content {
  padding: 2rem;
  opacity: 1;
  margin: 0;
  background-color: rgb(250, 250, 250);
}

.research .research-content::details-content {
  opacity: 0;
  transition: 0.2s ease-in-out;
}

.info-left {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}

.info-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
}

.fade-img-left img {
  mask-image: linear-gradient(to right, black 10%, transparent 90%);
}

.fade-img-right img {
  mask-image: linear-gradient(to left, black 10%, transparent 90%);
}

.testimonials .testimonial-slide {
  padding: 5rem;
  border: 2px solid var(--color-primary);
  text-align: center;
  margin: 1rem;
}

.testimonials .testimonial-slide p {
  margin: 0;
}

.testimonials .testimonial-slide .testi-quote {
  font-style: italic;
  max-width: 60ch;
  margin: 0 auto;
}

.author .author-blurb {
  margin: 1rem 0;
}

footer {
  padding: 5rem;
  background-color: var(--color-secondary);
}

footer .mynav {
  padding: 0;
}

footer p {
  color: white;
  font-weight: 500;
  margin: 1rem 0;
}

footer p sup {
  font-size: 0.75rem;
}

footer .email-form {
  display: flex;
  flex-direction: row;
  font-size: 1.2rem;
}

footer .email-form .email-input {
  border-radius: 0px;
  background-color: transparent;
  color: white;
  border: 2px solid var(--color-primary);
}

footer .email-form .email-input:hover {
  border-radius: 0px;
  border-color: #333;
}

footer .email-form .email-input:focus {
  border-radius: 0px;
  border-color: #fff;
}

.product-listing {
  padding: 5rem;

  hgroup {
    margin: 5rem 0;
  }

  hgroup > * {
    margin: 0;
  }

  hgroup > h1 {
    font-size: 5rem;
    font-family: var(--font-outfit);
    margin: 0;
    line-height: 1;
  }

  hgroup > h2 {
    font-size: 3rem;
    font-family: var(--font-outfit);
    margin: 2rem 0 0.5rem 0;
  }

  hgroup > h5 {
    margin: 2rem 0 0.5rem 0;
    line-height: 1;
  }

  .shipping-sub {
    margin: 0;
    width: 100%;
  }

  .product-blurb {
    margin: 2rem 0;
  }

  .my-button {
    margin: 2rem 0;
  }

  .product-info-list {
    font-size: 1.2rem;
    color: var(--color-subtext);
    margin: 2rem 0;
    padding: 0;

    li {
      margin: 0.5rem 2rem;
      line-height: 1.6rem;
    }
  }
}

.resources {
  padding: 5rem;
}

.resources h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 5rem;
  letter-spacing: -0.1rem;
  font-family: var(--font-outfit);
}

@media (max-width: 900px) {
  .mynav {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
    position: unset;
  }
}

@media (max-width: 600px) {
  .mob-text-center {
    text-align: center;
  }

  .mob-flex-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .fade-img-left img {
    mask-image: linear-gradient(to bottom, black 10%, transparent 90%);
  }

  .fade-img-right img {
    mask-image: linear-gradient(to top, black 10%, transparent 90%);
  }

  section {
    padding: 1rem 0;
  }
}
