@import url("https://fonts.googleapis.com/css2?family=Karla:wght@550;650;750&display=swap");
*,
html {
  box-sizing: border-box !important;
  font: 550 21px Karla;
  -webkit-tap-highlight-color: transparent;
}

body.grid {
  background: linear-gradient(#ccc, white 0.1em);
  background-size: 32px 32px;
}
body.grid article {
  box-shadow: inset 0 0 0 2px red;
}
body.grid section {
  box-shadow: inset 0 0 0 2px blue;
}

body {
  background: white;
  color: #464f53;
  overflow-y: overlay;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden !important;
}
body.loading site article {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(8px) hue-rotate(360deg);
}
body.loading site nav li.active button label {
  filter: hue-rotate(360deg);
}
body.loading site nav {
  pointer-events: none;
}
body.loading loader {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

site {
  display: grid;
  grid-template-columns: 248px 1fr;
  grid-template-rows: auto;
  transition: transform 300ms ease-out;
  justify-content: start;
  align-content: space-evenly;
}

nav {
  z-index: 99;
  padding: 32px 32px;
  position: relative;
}
nav li {
  list-style: none;
}
nav li button {
  margin-left: 0;
}
nav li button label:before {
  content: "";
  position: absolute;
  width: 100%;
  bottom: 3px;
  height: 3px;
  left: 0;
  background-color: #acb5b9;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
  transform-origin: left center;
  z-index: -1;
}
nav li.active button {
  pointer-events: none;
}
nav li.active button label:before {
  visibility: visible;
  transform: scaleX(1);
}

article {
  display: grid;
  grid-template-rows: auto;
  grid-row-gap: 64px;
  position: relative;
  transition: all 600ms ease-out;
  font-size: 21px;
  align-content: start;
  padding: 24px;
}

subtitle {
  color: #6a767c;
}

hamburger {
  display: none;
  z-index: 999;
  position: absolute;
  width: 48px;
  height: 48px;
  right: -64px;
  top: 0;
  cursor: pointer;
  padding: 8px;
}
hamburger path {
  stroke-width: 4px;
  stroke-linecap: butt;
  stroke-miterlimit: 0;
  transform-origin: center center;
}
hamburger .close path {
  transition: transform 150ms ease-out 0ms, stroke 0ms 225ms;
}
hamburger .hamburger path {
  stroke: #464f53;
  transition: transform 262.5ms ease-in 225ms, stroke 0ms 225ms;
}

.menu-open .hamburger path {
  stroke: transparent;
  transition: transform 150ms ease-out 0ms, stroke 0ms 300ms;
}
.menu-open .hamburger path:first-of-type {
  transform: translateY(8px);
}
.menu-open .hamburger path:last-of-type {
  transform: translateY(-8px);
}
.menu-open .close path {
  stroke: #464f53;
  transition: transform 150ms ease-out 225ms, stroke 0ms 0ms;
}
.menu-open .close path:first-of-type {
  transform: rotate(-45deg);
}
.menu-open .close path:last-of-type {
  transform: rotate(45deg);
}

.menu-open site {
  transform: translateX(0);
}

hamburger {
  display: none;
}

logo {
  width: 48px;
  display: block;
  margin-bottom: 32px;
  position: relative;
  cursor: pointer;
  margin-left: 12px;
}
logo .logo {
  position: relative;
  z-index: 9;
}
logo:hover bg svg {
  transform: scale(1);
}

section {
  display: grid;
  position: relative;
  grid-template-columns: 1fr 420px;
  grid-column-gap: 64px;
  box-sizing: border-box;
  grid-column: 1;
  grid-row: span 1;
  align-content: start;
  align-items: start;
  max-width: 900px;
}

words ul {
  margin-top: 24px;
}
words ul li {
  margin-bottom: 16px;
}
words p {
  margin-top: 32px;
}

media {
  display: grid;
  grid-template-rows: auto 48px;
  grid-row-gap: 8px;
  margin-bottom: 24px;
  position: relative;
  align-content: start;
}
media img {
  width: 100%;
  border-radius: 16px;
}

slideshow {
  display: block;
  border-radius: 16px;
  width: 416px;
  height: 416px;
  overflow: hidden;
}
slideshow slides {
  display: grid;
  grid-template-columns: repeat(auto-fill, 416px);
  transition: transform 300ms ease-out;
  grid-auto-flow: column;
}
slideshow slide {
  display: block;
  width: 416px;
  height: 416px;
  overflow: hidden;
  background: #f4f5f6;
  -o-object-fit: cover;
     object-fit: cover;
}
slideshow slide img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 0;
}
slideshow slide iframe {
  width: 100%;
  height: 100%;
}

controls {
  display: grid;
  padding: 0;
  grid-template-columns: 48px auto 48px;
  justify-content: space-between;
  align-items: center;
  max-width: 416px;
}
controls button {
  width: 48px;
  height: 48px;
  margin: 0;
}
controls button svg.arrow {
  position: absolute;
  left: 0;
  top: 8px;
  z-index: 2;
  margin: auto;
  right: 0;
}
controls button bg svg {
  filter: blur(8px);
}

stepper {
  display: grid;
  grid-template-columns: 16px;
  grid-column-gap: 8px;
  grid-auto-flow: column;
  grid-template-rows: 16px;
}
stepper step {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 4px solid #6a767c;
  border-radius: 8px;
}
stepper step.active {
  background: #6a767c;
}

body,
p {
  font-size: 21px;
  line-height: 32px;
}

strong {
  font-weight: bold;
}

code {
  font-weight: light;
  background: #f4f5f6;
  padding-left: 4px;
  padding-right: 4px;
  color: #6a767c;
}

h1 {
  font-size: 62px;
  line-height: 64px;
  letter-spacing: -1.5px;
  margin-left: -4px;
}

h2 {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: -1.25px;
  margin-top: 64px;
}

button {
  color: #464f53;
  font-weight: 750;
  border: none;
  cursor: pointer;
  background: none;
  padding: 8px 12px;
  text-align: left;
  font-size: 21px;
  border-radius: 16px;
  transition: all 150ms ease-out;
  margin: 8px;
  line-height: 32px;
  position: relative;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}
button label {
  letter-spacing: -0.25px;
  z-index: 3;
  cursor: pointer;
  position: relative;
  display: block;
  transition: all 300ms ease-out;
  pointer-events: none;
}
button svg path {
  stroke: black;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}
button:hover bg svg {
  transform: scale(1);
}
button:active label,
button:active .arrow {
  transform: scale(0.9);
  opacity: 1;
}
button:active bg svg {
  filter: blur(8px);
}
button:active, button:focus {
  outline: none;
}

a {
  color: #2066df;
}
prototype {
  display: block;
  width: 100%;
  border: 1px solid #d6dadc;
  border-radius: 16px;
  overflow: hidden;
}
prototype.mobile {
  height: 672px;
}
prototype iframe {
  width: 100%;
  height: 100%;
}

@keyframes buttonBg {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  animation: buttonBg 3s linear infinite;
}
bg svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: blur(16px);
  transform: scale(0);
  transition: opacity 150ms ease-out, transform 300ms ease-out, filter 300ms ease-out;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
}
bg svg .red {
  fill: #ffb3cc;
}
bg svg .yellow {
  fill: #ffee99;
}
bg svg .blue {
  fill: #99ddff;
}

controls button .arrow {
  transition: all 300ms ease-out;
}
controls button svg.arrow path {
  transition: all 150ms ease-out;
}
controls button svg.arrow path.stem {
  transform-origin: center left;
}
controls button:hover svg .stem {
  transform: scaleX(1.5) translateX(-5px);
}
controls button:hover svg .cap {
  transform: translateX(-6px);
}

controls button.next svg.arrow {
  transform: rotate(180deg);
}

button.primary {
  margin-left: -8px;
}
button.primary bg svg {
  transform: scale(1);
}

loader {
  position: fixed;
  z-index: 9999;
  display: block;
  width: 64px;
  height: 64px;
  margin: auto;
  left: 50%;
  right: 50%;
  top: 50%;
  opacity: 0;
  transform-origin: center center;
  transform: translate(-50%, -50%) scale(0);
  transition: all 300ms ease-out;
}
loader bg svg {
  transform: scale(0.75);
  animation: buttonBg 1s linear infinite reverse;
  z-index: -1;
  opacity: 0.5;
}
loader .spinner {
  animation: buttonBg 1s linear infinite;
}
loader .spinner path {
  stroke-width: 6;
  stroke: #6a767c;
  opacity: 1;
  mix-blend-mode: hard-light;
  stroke-linecap: none;
  stroke-linejoin: round;
}

@keyframes loadingAnim {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -303;
  }
}
.referer-warning {
  display: none !important;
}

#the-body {
  background: none;
}

#result-box {
  min-height: 420px;
}

modal {
  background: white;
  z-index: 999999;
  position: fixed;
  border: 1px solid #acb5b9;
  padding: 32px;
  margin: auto;
  left: 0;
  right: 0;
  width: 320px;
  margin-top: 64px;
  border-radius: 8px;
  grid-template-columns: 50% 50%;
  grid-template-rows: auto auto auto;
  display: none;
}
modal label {
  display: block;
  grid-column: 1/3;
  grid-row: 1;
}
modal input {
  display: block;
  border-radius: 8px;
  padding: 8px;
  letter-spacing: 4px;
  border: 1px solid #acb5b9;
  outline: none;
  grid-column: 1/3;
  grid-row: 2;
}
modal button {
  grid-row: 3;
}

modal.active {
  display: grid;
}

lock {
  transition: all 300ms ease-out;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  display: grid;
  align-content: center;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  outline: 8px solid rgba(255, 255, 255, 0.9);
  width: 100%;
  height: 100%;
  z-index: 99;
  transform: translateY(0);
}
lock div {
  transition: all 300ms ease-out;
  transform: translateY(32px);
  display: grid;
  grid-template-rows: auto auto 48px;
  margin: auto;
  width: 320px;
  background: white;
  padding: 24px;
  border-radius: 8px;
  border: 2px solid #d6dadc;
}
lock div label, lock div input {
  display: block;
  margin-bottom: 24px;
}
lock div input {
  background: #f4f5f6;
  border: 1px solid #acb5b9;
  border-radius: 8px;
  height: 40px;
  letter-spacing: 4px;
  padding: 8px;
  color: #464f53;
}
lock div span button, lock div span button.primary {
  float: right;
  height: 48px;
  margin: 0;
  margin-left: 16px;
}

section.locked lock {
  visibility: visible;
  pointer-events: all;
  opacity: 1;
}
section.locked lock div {
  transform: translateY(0);
}

@media only screen and (max-width: 1140px) {
  hamburger {
    display: block;
  }

  site {
    transform: translateX(-248px);
  }

  article {
    padding-top: 64px;
  }
}
@media only screen and (max-width: 900px) {
  site {
    grid-template-columns: 248px 100vw !important;
  }

  section {
    grid-template-columns: 1fr !important;
  }
  section words {
    max-width: 568px;
  }
  section media {
    grid-row: 1;
    max-width: 416px;
  }
}
@media only screen and (max-width: 464px) {
  article {
    overflow-x: hidden;
  }

  h1 {
    font-size: 50px;
  }

  slideshow {
    width: 327px;
    height: 327px;
  }
  slideshow slides {
    grid-template-columns: repeat(auto-fill, 327px);
  }
  slideshow slide {
    width: 327px;
    height: 327px;
  }

  section {
    transform-origin: top left;
  }
}