@font-face {
  font-family: "Saans";
  src: url("fonts/Saans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Saans";
  src: url("fonts/Saans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Saans";
  src: url("fonts/Saans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #e3e3e8;
  --ink: #111;
  --muted: rgba(17, 17, 17, 0.38);
  --hairline: rgba(17, 17, 17, 0.18);
  --acid: #f7ff00;
  --gold: #efbf1b;
  --placeholder: #d8d8dd;
  --orange: #ee7f31;
  --tint: 255, 76, 40;
  --tint-text: #ff4c28;
  --grid-gap: clamp(1rem, 1.25vw, 1.5rem);
  --padding: clamp(0.75rem, 2vw, 1.25rem);
  --padding-med: clamp(1rem, 3vw, 1.5rem);
  --padding-top: clamp(4rem, 4vw, 5rem);
  --h1: clamp(1.75rem, 4vw, 2.5rem);
  --h2: clamp(1.25rem, 2.25vw, 1.75rem);
  --h3: clamp(1rem, 1.75vw, 1.25rem);
  --h4: clamp(0.875rem, 1.5vw, 1rem);
  --h5: clamp(0.75rem, 1.25vw, 0.875rem);
  --h6: clamp(0.625rem, 1vw, 0.625rem);
  --border-radius: 0.5rem;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: "Saans", sans-serif;
  font-weight: 500;
  line-height: 1.1;
  background-color: var(--bg);
  color: var(--ink);
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  container: body / inline-size;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1 {
  font-size: var(--h1);
  font-weight: 600;
}
h2 {
  font-size: var(--h2);
  font-weight: 600;
}
h3 {
  font-size: var(--h3);
  font-weight: 500;
}
h4 {
  font-size: var(--h4);
  font-weight: 500;
}
h5 {
  font-size: var(--h5);
  font-weight: 500;
}
h6 {
  font-size: var(--h6);
  font-weight: 500;
  text-transform: uppercase;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: calc(100vw - var(--padding) * 2);
  height: calc(100vh - var(--padding) * 2);
  padding: var(--padding);
  pointer-events: none;
}

.intro_wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.intro_btm {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.intro_btm svg {
  width: 1rem;
}

.intro_bg {
  grid-column-gap: 0.25rem;
  grid-row-gap: 0.25rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding-left: 0.875rem;
  padding-right: 0.875rem;
  display: flex;
  position: fixed;
  inset: 0%;
  z-index: 0;
  overflow: visible;
}

@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes counterSpin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-180deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.intro_circle {
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: absolute;
  inset: 0%;
}

.intro_flower {
  transform-origin: center center;
  animation: moveInCircle 25s linear infinite;
}

.flower_group {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  position: relative;
  transform: translate(0, 50%);

  @container body (max-width: 768px) {
    transform: translate(0, 50%) scale(1.5);
  }

  @container body (max-width: 550px) {
    transform: translate(0, 40%) scale(1.75);
  }
}

.intro_flower {
  position: absolute;
  height: auto;
  width: 100%;
  aspect-ratio: 1;
}

.intro_flower.back {
  z-index: 0;
  filter: blur(6vw);
  fill: var(--acid);
  width: 105%;
}

.intro_flower.front {
  z-index: 1;
  filter: blur(4.5vw);
  width: 75%;
  opacity: 0.5;
  fill: var(--orange);
  animation: counterSpin 25s linear infinite;
}

.fobj {
  width: 100%;
  height: 100%;
}

.fdiv {
  position: relative;
  width: 100%;
  height: 100%;
}

.inter-wrap {
  transform-origin: center center;
  animation: counterSpin 25s linear infinite;
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.inter {
  background: radial-gradient(
      circle at center,
      rgba(var(--tint), 1) 0,
      rgba(var(--tint), 0) 50%
    )
    no-repeat;
  mix-blend-mode: hue;

  width: 70%;
  height: 70%;

  position: absolute;
  inset: 0;
  z-index: 2;
}
