* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  color: #333;
  background-color: #001;
  font-family: Lato, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

img {
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}

.hero_section.sticky {
  background-color: #000;
  top: 0;
}

.button_reference {
  z-index: 9999;
  color: rgba(255, 255, 255, 0.7);
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  gap: 0.35rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button_reference:hover {
  color: rgba(255, 255, 255, 1);
  transform: translateX(3px);
}

.button_reference strong {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.button_reference.fix-bottom-left {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
}

.demo-switcher {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  font-size: 0.875rem;
  line-height: 1;
  transition: all 0.3s ease;
}

.demo-switcher__label {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.demo-switcher__item {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.demo-switcher__item::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-switcher__item:hover {
  color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.demo-switcher__item:hover::after {
  width: 100%;
}

.demo-switcher__item--current {
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  cursor: default;
}

.demo-switcher__item--current::after {
  width: 100%;
  background: rgba(255, 255, 255, 1);
}

.demo-switcher__item--current:hover {
  transform: none;
}

.code_js,
.code_css {
  display: none;
}

.hero_container {
  justify-content: space-between;
  align-items: flex-end;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: relative;
}

.color-0 {
  color: #b8e6da;
}

.work_item {
  background-color: #000;
  align-items: stretch;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

.work_item-background {
  aspect-ratio: 16 / 9;
  filter: brightness();
  width: 100%;
  height: 100%;
  position: absolute;
}

.work_item-wrapper {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  flex: 1;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: space-around;
  align-items: stretch;
  width: 100%;
  padding: 5rem 4vw 2.5rem;
  display: flex;
  position: relative;
}

.work_text {
  flex: 1;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.hero_image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
}

.hero_image {
  filter: brightness(55%);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.color-3 {
  color: #fff2b3;
}

.work_text-title {
  color: #fff;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  flex-flow: column;
  flex: 1;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  font-family:
    Doner Display,
    Arial,
    sans-serif;
  font-size: 12.5vw;
  font-weight: 400;
  line-height: 1;
  display: flex;
  position: relative;
}

.sticky {
  position: sticky;
}

.work_container {
  position: relative;
}

.nav_top-wrapper {
  z-index: 2;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1rem 4vw 1.25rem;
  display: flex;
  position: relative;
}

.nav {
  z-index: 9999;
  position: fixed;
  inset: 0% 0% auto;
}

.nav_link {
  color: #fff;
  font-family: Inconsolata, monospace;
  font-size: 1.25rem;
  text-decoration: none;
  overflow: hidden;
}

.nav_top {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.nav_top-line {
  width: calc(100% - 2rem);
  height: 1px;
  position: absolute;
  inset: auto 0% 0% 50%;
  transform: translate(-50%);
}

.line {
  will-change: transform;
  position: relative;
}

.line-wrapper {
  overflow: hidden;
}

.work_section {
  position: relative;
}

.work_item-overlay {
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  background-color: #000;
  width: 105%;
  height: 105%;
  position: absolute;
  inset: 0%;
}

.footer_section {
  z-index: 1;
  background-color: #000;
  position: relative;
}

.footer_image {
  opacity: 0.6;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.color-2 {
  color: #b3d3ff;
}

.color-1 {
  color: #ffa6a6;
}

.footer_container {
  justify-content: space-between;
  align-items: flex-end;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: relative;
}

.image-wrapper {
  aspect-ratio: 4 / 5;
  object-fit: fill;
  background-color: #ffffffbf;
  width: 25vw;
  padding: 0.35em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text-right {
  text-align: right;
}

.work_item-images {
  flex-flow: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: absolute;
  inset: 0% auto 0% 0%;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.hero_texts {
  color: #fff;
  text-transform: uppercase;
  flex-flow: column;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  height: 100vh;
  padding: 5rem 3.5vw 2.5rem;
  font-family:
    Doner Display,
    Arial,
    sans-serif;
  font-size: 12vw;
  line-height: 1;
  display: flex;
  position: relative;
}

.work_item-image {
  width: 21vw;
  height: 100%;
  position: relative;
}

.footer_texts {
  color: #fff;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  flex-flow: column;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  height: 100%;
  padding: 5rem 3.5vw 2.5rem;
  font-family:
    Doner Display,
    Arial,
    sans-serif;
  font-size: 11.5vw;
  font-weight: 400;
  line-height: 1;
  display: flex;
  position: relative;
}

.work_item-container {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.footer_image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
}

@media screen and (max-width: 767px) {
  .work_item-image {
    width: 15vw;
  }
}

@media screen and (max-width: 479px) {
  .work_text {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .work_text-title {
    font-size: 12.5vw;
  }

  .hero_texts {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer_texts {
    font-size: 12.5vw;
  }

  .button_reference.fix-bottom-left {
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    left: 1rem;
  }

  .demo-switcher {
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    right: 1rem;
    gap: 1rem;
  }
}

@font-face {
  font-family: "Doner Display";
  src: url("../fonts/Doner-RegularTextItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Doner";
  src: url("../fonts/Doner-RegularDisplayItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Doner";
  src: url("../fonts/Doner-RegularText.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Doner Display";
  src: url("../fonts/Doner-RegularDisplay.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
