@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("/assets/fonts/S6u8w4BMUTPHh30AXC-q.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("/assets/fonts/S6u8w4BMUTPHh30AUi-qJCY.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --background: #282e6b;
  --copy: rgba(255, 255, 255, 0.62);
  --pink: #ec2d73;
  --orange: #eb5324;
  --yellow: #fdc800;
  --green: #47b264;
  --blue: #1470bd;
  --purple: #76469a;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--background);
  color: var(--copy);
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-weight: 100;
}

.splash {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 48px 24px;
}

.unit {
  text-align: center;
  transform: translateY(-96px);
}

.unit p {
  margin: 100px 0 0;
  color: var(--copy);
  font-size: 18px;
  font-weight: 100;
  letter-spacing: 2px;
  line-height: 1.4;
  text-transform: uppercase;
}

.heart {
  position: relative;
  width: 138px;
  height: 0;
  margin: 0 auto;
  font-size: 0;
}

[class*="heart-piece-"] {
  position: absolute;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  will-change: height, top;
}

.heart-piece-4 {
  animation: piece-4 3.2s infinite;
}

.heart-piece-3,
.heart-piece-5 {
  animation: piece-3 3.2s infinite;
}

.heart-piece-2,
.heart-piece-6 {
  animation: piece-2 3.2s infinite;
}

.heart-piece-1,
.heart-piece-7 {
  animation: piece-1 3.2s infinite;
}

.heart-piece-0,
.heart-piece-8 {
  animation: piece-0 3.2s infinite;
}

.heart-piece-0 {
  left: 0;
  animation-delay: 0s;
  background-color: var(--pink);
}

.heart-piece-1 {
  left: 16px;
  animation-delay: 0.15s;
  background-color: var(--orange);
}

.heart-piece-2 {
  left: 32px;
  animation-delay: 0.3s;
  background-color: var(--yellow);
}

.heart-piece-3 {
  left: 48px;
  animation-delay: 0.45s;
  background-color: var(--green);
}

.heart-piece-4 {
  left: 64px;
  animation-delay: 0.6s;
  background-color: var(--blue);
}

.heart-piece-5 {
  left: 80px;
  animation-delay: 0.75s;
  background-color: var(--purple);
}

.heart-piece-6 {
  left: 96px;
  animation-delay: 0.9s;
  background-color: var(--pink);
}

.heart-piece-7 {
  left: 112px;
  animation-delay: 1.05s;
  background-color: var(--orange);
}

.heart-piece-8 {
  left: 128px;
  animation-delay: 1.2s;
  background-color: var(--yellow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes piece-4 {
  0%,
  10%,
  90%,
  100% {
    height: 10px;
    top: -5px;
  }

  45%,
  55% {
    height: 94px;
    top: -23px;
  }
}

@keyframes piece-3 {
  0%,
  10%,
  90%,
  100% {
    height: 10px;
    top: -5px;
  }

  45%,
  55% {
    height: 90px;
    top: -31px;
  }
}

@keyframes piece-2 {
  0%,
  10%,
  90%,
  100% {
    height: 10px;
    top: -5px;
  }

  45%,
  55% {
    height: 80px;
    top: -37px;
  }
}

@keyframes piece-1 {
  0%,
  10%,
  90%,
  100% {
    height: 10px;
    top: -5px;
  }

  45%,
  55% {
    height: 60px;
    top: -31px;
  }
}

@keyframes piece-0 {
  0%,
  10%,
  90%,
  100% {
    height: 10px;
    top: -5px;
  }

  45%,
  55% {
    height: 30px;
    top: -15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [class*="heart-piece-"] {
    animation: none;
  }
}

@media (max-width: 520px) {
  .unit {
    transform: translateY(-64px);
  }

  .unit p {
    margin-top: 88px;
    font-size: 16px;
  }
}
