html {
  scroll-behavior: smooth;
}

/* Colors */
:root {
  --lightgrey: #F1F3F5;
  --black: rgba(36, 31, 51, 1);
  --black74: rgba(36, 31, 51, .74);
  --taffy: #EA11C1;
  --lighttaffy: #FF47DC;
}

*> {
  box-sizing: border-box;
}

/* Typography */
body {
  font-family: "Poppins", Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1;
  position: relative;
}

h1 {
  visibility: hidden;
  width: 0;
  overflow: hidden;
}

h2 {
  font-size: 2rem;
  width: 100%;
  max-width: 980px;
  margin-bottom: 32px;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 56px;
}

h4 {
  font-size: 30px;
  margin-bottom: 20px;
  line-height: 1.2;
}

h5 {
  font-size: 24px;
  margin-bottom: 24px;
  line-height: 1.5;
  font-weight: normal;
}

p {
  margin-bottom: 32px;
  color: var(--black);
  position: relative;
  z-index: 2;
}

@media screen and (min-width: 800px) {
  h2 {
    font-size: 4.5rem;
    width: 100%;
    max-width: 980px;
    margin-bottom: 32px;
    text-align: center;
  }

  h3 {
    font-size: 2.5rem;
    margin-bottom: 56px;
  }
}

@media screen and (min-width: 1024px) {
  body {
    font-size: 18px;
  }

  h2 {
    font-size: 76px;
  }
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
  transition: .3s;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

a:visited {
  color: inherit;
}

a:hover {
  color: var(--taffy);
}

a span,
a span img,
a span svg {
  width: 24px;
  position: relative;
  top: 1px;
  margin-left: 4px;
}

* {
  box-sizing: border-box;
}

.cta-dot-link {
  font-size: 24px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 60px;
}

.cta-dot-link::before {
  content: '';
  height: 64px;
  width: 64px;
  background-color: var(--lighttaffy);
  position: absolute;
  left: -16%;
  border-radius: 100px;
  z-index: -1;
  transition: .3s;
}

.cta-dot-link:hover {
  color: inherit;
  color: white;
}

.cta-dot-link:hover::before {
  width: 128%;
  background-color: var(--taffy);
}

.cta-dot-link svg {
  position: relative;
  top: 4px;
}

.cta-dot-link svg path {
  transition: .3s;
}

.cta-dot-link:hover svg path {
  fill: white !important;
}


/* Layout */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

main>* {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main>*>* {
  max-width: 1350px;
}

section {
  width: 100%;
  margin-bottom: 40px;
  position: relative;
}

body>main>section {
  margin-bottom: 120px;
}

body>main>section:last-of-type {
  margin-bottom: 0px;
}

body>section,
main>section {
  padding: 24px;
}

header {
  width: 100%;
  padding: 0 24px;
  margin: 4% 0 12% 0;
}

header h3 {
  font-weight: 500;
  padding: 24px 0 48px 0;
  font-size: 1.2rem;
}

header p {
  width: 100%;
  max-width: 1076px;
  font-size: 20px;
}

footer {
  color: var(--black);
  padding: 48px 24px;
}

footer>section>* {
  font-size: 32px;
}

footer a {
  margin: 0;
}

img {
  max-width: 100%;
  border-radius: 8px;
}

video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.flex-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.flex-row svg {
  height: 64px;
  width: auto;
}

#float-img-1 {
  width: 34%;
  position: absolute;
  top: 14vh;
  right: 8%;
}

#float-img-2 {
  max-width: 50%;
  position: absolute;
  bottom: -20vh;
  left: 8%;
  z-index: 2;
}

#float-img-3 {
  position: absolute;
  bottom: -12%;
  left: 8%;
  width: 54%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: min-content;
  width: 100%;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.three-col-grid {
  grid-template-columns: repeat(1, 1fr);
  gap: 0;
}

.three-col-grid p {
  font-size: 18px;
  opacity: .72;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .20);
  margin-bottom: 0;
}

.three-col-grid p:nth-last-of-type(1),
.three-col-grid p:nth-last-of-type(2),
.three-col-grid p:nth-last-of-type(3) {
  border: none;
}

.align-bottom {
  align-items: flex-end;
}

.align-top {
  align-items: flex-start;
}

.two-col-left {
  max-width: 1076px;
}

.two-col-left>p {
  margin-bottom: 0;
}

.width-60 {
  width: 100%;
}

.width-50 {
  width: 100%;
}

.width-40 {
  width: 100%;
  padding-right: 0;
}

.grid a {
  overflow: hidden;
  display: grid;
}

.grid a img {
  object-fit: cover;
  max-width: initial;
}

.grey-bg {
  background-color: var(--lightgrey);
  padding-top: 4%;
  padding-bottom: 4%;
}

.dark-bg {
  background-color: black;
  color: white;
  padding-top: 4%;
  padding-bottom: 4%;
}

.dark-bg>* {
  max-width: 1350px;
  padding: 0;
}

.dark-bg .flex-row.half div {
  padding: 0;
}

.auto-width {
  width: auto;
}

.no-padding {
  padding: 0;
}

.no-radius {
  border-radius: 0;
}

.margin-left-auto {
  margin-left: auto;
}

.margin-bottom-0 {
  margin-bottom: 0;
}

.margin-bottom-20 {
  margin-bottom: 20px;
}

.margin-bottom-60 {
  margin-bottom: 60px;
}

.margin-bottom-80 {
  margin-bottom: 80px;
}

.margin-bottom-120 {
  margin-bottom: 120px;
}

.text-black-60 {
  color: rgba(0, 0, 0, .60);
}

.text-black-80 {
  color: rgba(0, 0, 0, .80);
}

.justify-end {
  justify-content: flex-end;
  align-items: flex-end;
}

.normalize-padding {
  padding: 120px 24px 24px 24px;
}

.no-gap {
  gap: 0;
}

@media screen and (min-width: 1044px) {

  body>section,
  main>section {
    padding: 48px;
  }

  header {
    padding: 0 48px;
  }

  .flex-row {
    flex-direction: row;
    justify-content: space-between;
  }

  .flex-row.row-reverse {
    flex-direction: row-reverse;
  }

  .flex-row.half>* {
    width: 50%;
    margin-top: 24px;
  }

  .flex-row.half div {
    padding: 56px;
  }

  .flex-row.half img {
    border-radius: 20px !important;
  }

  .justify-end {
    justify-content: flex-end;
    align-items: flex-end;
  }

  .normalize-padding {
    padding: 120px 48px 48px 48px;
  }

  footer {
    padding: 100px 0;
    max-width: 1350px;
    margin: auto;
  }

  footer>section>* {
    font-size: 48px;
  }

  footer>section>a {
    width: auto;
  }

  footer .footer-logo img {
    width: 200px;
  }

  footer nav.flex-row {
    width: 50%;
    justify-content: flex-end;
  }

  footer a {
    margin: 0 24px;
  }

  .width-60 {
    width: 60%;
  }

  .width-50 {
    width: 50%;
  }

  .width-40 {
    width: 40%;
    padding-right: 10%;
  }

}

/* Style Elements */
button {
  outline: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
}

.btn-primary {
  background-color: var(--black);
  color: white;
  border-radius: 8px;
  padding: 16px 32px;
  transition: all .3s;
  border: 2px solid var(--black)
}

.btn-primary:hover {
  background-color: var(--taffy);
  color: white;
  border: 2px solid var(--taffy);
}

.secondary-btn {
  background-color: transparent;
  border: 2px solid white;
}

a.btn-primary:visited {
  color: white;
}

#feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: -8%;
}

.feature-block {
  border: 2px solid black;
  background-color: white;
  padding: 40px;
  box-shadow: 4px 4px 0px 0px #000000;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  border-radius: 12px;
}

.feature-block img {
  height: 56px;
  margin-bottom: 56px;
}

.feature-block h5 {
  font-size: 1em;
  font-weight: normal;
  line-height: 1.5;
}

.testimonials {
  margin: auto;
  gap: 32px;
  align-items: stretch;
}

.testimonial {
  flex: 1;
  border: 2px solid black;
  background-color: white;
  padding: 40px;
  box-shadow: 4px 4px 0px 0px #000000;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  border-radius: 12px;
}

.testimonial img {
  height: 32px;
  margin-bottom: 24px;
}

.testimonial p {
  line-height: 1.8;
}

.testimonial p:nth-of-type(2) {
  font-size: 1.1em;
  font-weight: 500;
  margin-bottom: 0;
}

.testimonial p:nth-of-type(3) {
  font-size: .9em;
  font-weight: normal;
  margin-bottom: 0;
  opacity: .6;
}

.tiers {
  gap: 32px;
  align-items: stretch;
  justify-content: stretch;
}

.tier-card {
  flex: 1;
  border: 2px solid black;
  background-color: white;
  padding: 40px;
  box-shadow: 4px 4px 0px 0px #000000;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  border-radius: 12px;
}

.tier-card:nth-of-type(2) {
  background-image: url(../img/taffy-gradient-2.png);
  background-size: cover;
  background-position: center;
  color: white;
}

.tier-card:nth-of-type(2)>* {
  color: white;
}

.tier-card ul li {
  font-weight: 300;
  opacity: .7;
}

.accordion {
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1em;
  font-weight: 500;
  transition: 0.4s;
  border: 1px solid #d5d8dc;
  border-bottom: none;
  background-color: transparent;
}

.active,
.accordion:hover {
  background-color: inherit;
}

.panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  width: calc(100% - 48px);
  border: 1px solid #d5d8dc;
  border-bottom: none;
  background-color: transparent;
  box-sizing: border-box;
}

.panel p {
  width: calc(100% - 48px);
  opacity: .6;
}

.panel>* {
  margin: 12px 24px;
}

.panel ol {
  opacity: .6;
  padding-left: 48px;
  padding-right: 24px;
  padding-bottom: 24px;
  padding-top: 0;
  list-style: decimal;
  list-style-position: inside;
}

.splash-img {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 60vh;
  max-height: 620px;
}

.splash-img img {
  height: 100%;
  max-width: none !important;
}

body>main>.slider {
  mix-blend-mode: difference;
}

.slider .slide {
  padding-right: 120px;
  position: relative;
}

.slider .slide img {
  max-width: none;
  opacity: 0;
  transition: 0.1s ease-out;
}

#community img {
  width: 100px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 16));
  }
}

.slider {
  margin: auto;
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
  width: 100%;
  opacity: .5;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slider .slider-animation {
  animation: scroll 40s linear infinite;
  display: flex;
  align-items: center;
  width: calc(250px * 16);
}

.slider .slide {
  position: relative;
}

.slider .slide img {
  max-width: none;
  opacity: 1;
  transition: 0.1s ease-out;
  width: 250px;
}

@media screen and (min-width: 1044px) {
  .service>* {
    width: 20%;
  }

  .splash-img img {
    height: auto;
    width: 100%;
    max-width: 100%;
  }
}

/* Primary Navigation */
body>nav {
  width: 100%;
  padding: 4px 24px;
  max-width: 1350px;
  background-color: white;
  z-index: 999;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

body>nav.flex-row {
  flex-direction: row;
}

body>nav a.flex-row {
  gap: 8px;
  flex-direction: row;
  z-index: 999;
  position: relative;
}

body>nav a.flex-row:hover {
  color: inherit;
}

body>nav a span svg path {
  fill: var(--taffy);
}

body>nav .page-nav>a span,
footer a span {
  transition: .3s;
}

body>nav .page-nav>a:last-of-type:hover span,
footer a:hover span {
  transform: translate(4px, -4px);
}

.logo {
  max-width: 50px;
}

body>nav a.btn {
  display: none;
}

.mobile-nav-input {
  display: none;
}

.menu--1 label {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 45vw;
  height: 45vw;
  max-width: 100px;
  max-height: 100px;
  transform: translateX(32%);
  z-index: 999;
}

.menu--1 path {
  fill: none;
  stroke: var(--black);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  --length: 24;
  --offset: -38;
  stroke-dasharray: var(--length) var(--total-length);
  stroke-dashoffset: var(--offset);
  transition: all .8s cubic-bezier(.645, .045, .355, 1);
}

.menu--1 circle {
  fill: transparent;
  opacity: 0;
}

.menu--1 label:hover circle {
  opacity: 1;
}

.cross input:checked+svg .line--1,
.cross input:checked+svg .line--3 {
  --length: 22.627416998;
}

.cross input:checked+svg .line--2 {
  --length: 0;
}

.back input:checked+svg .line--1,
.back input:checked+svg .line--3 {
  --length: 8.602325267;
}


.menu--1 .line--1,
.menu--1 .line--3 {
  --total-length: 126.64183044433594;
}

.menu--1 .line--2 {
  --total-length: 70;
}

.menu--1 input:checked+svg .line--1,
.menu--1 input:checked+svg .line--3 {
  --offset: -94.1149185097;
}

.menu--1 input:checked+svg .line--2 {
  --offset: -50;
}

.page-nav a {
  margin-right: 0;
  margin-bottom: 35px;
  font-weight: 500;
  font-size: 20px;
}

.page-nav a:last-of-type {
  margin-right: 0;
}

.page-nav {
  gap: 32px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: -110%;
  flex-direction: column;
  z-index: 997;
  height: 100vh;
  width: 100vw;
  transition: right 1s;
  font-size: 2em;
  opacity: 1;
  background-color: rgba(255, 255, 255, .72);
  backdrop-filter: blur(8px);
  padding: 48px;
  padding-top: 30vh;
  text-align: left;
  border-left: 1px solid var(--lightgrey);
  padding-right: 0 !important;
}

.page-nav div {
  display: flex;
  flex-direction: column;
}

.show-nav-mob {
  right: 0;
}

.overflow-mob {
  width: 110%;
}

a.current {
  color: var(--taffy);
}

.link-container {
  gap: 32px;
  width: 100%;
  align-items: stretch;
  justify-content: stretch;
  margin-bottom: 0;
}

.contact-links {
  border: 2px solid var(--black);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  flex: 1;
  height: 250px;
  padding: 5%;
}

.contact-links img {
  height: 56px;
  margin-bottom: 24px;
}

.contact-links p {
  text-align: center;
  font-weight: 500;
  font-size: 1.2em;
  margin-bottom: 0;
}

#question {
  border: 2px solid black;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 32px;
}

#question a {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
}

#question p:last-of-type {
  margin-bottom: 0;
}


@media screen and (min-width: 1044px) {
  body>nav {
    padding: 16px 48px;
  }

  .menu--1 {
    display: none;
  }

  .page-nav {
    justify-content: center;
    position: relative;
    right: 0;
    flex: 1;
    padding: 10px 30px;
    background-color: transparent;
    z-index: 999;
    height: auto;
    width: auto;
    flex-direction: row;
    font-size: 1em;
    justify-content: space-between;
    align-items: center;
  }

  .page-nav div {
    display: flex;
    flex-direction: row;
  }

  .page-nav a {
    margin-right: 35px;
    margin-bottom: 0;
  }

  .page-nav a:last-of-type {
    margin-right: 0;
  }

  .overflow-mob {
    width: 40%;
  }

  body>nav a.btn {
    display: flex;
  }

  .link-container {
    margin-bottom: -350px;
  }

  .contact-links {
    margin-bottom: 150px;
  }

  #feature-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin-top: -8%;
  }
}