@font-face {
  font-family: "RyhmesText-Light";
  src: url("../fonts/Rhymes-Text-Light.woff2") format("woff2"), url("../fonts/Rhymes-Text-Light.woff") format("woff");
}
html {
  font-size: 13px;
}
@media (max-width: 768px) {
  html {
    font-size: 12px;
  }
}

:root {
  --spacing-base: 1.385rem;
}
@media (max-width: 1024px) {
  :root {
    --spacing-base: 1.30rem;
  }
}
@media (max-width: 768px) {
  :root {
    --spacing-base: 1.33rem;
  }
}
@media (max-width: 480px) {
  :root {
    --spacing-base: 1.25rem;
  }
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

body {
  font-family: "RyhmesText-Light", serif;
  font-size: 1rem;
  line-height: 1;
  font-weight: 400;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

*::-webkit-scrollbar {
  display: none;
}

html.is-changing .transition-fade {
  transition: opacity 0.6s;
  opacity: 1;
}

html.is-animating .transition-fade {
  opacity: 0;
}

::-moz-selection {
  background: unset;
  color: rgb(153, 153, 153);
}

::selection {
  background: unset;
  color: rgb(153, 153, 153);
}

h1 {
  font-weight: 400;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

img {
  display: block;
  -webkit-user-drag: none;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

u {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.index {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  line-height: 1;
  transform: translateY(0.25rem);
}

.lettering {
  display: flex;
  align-items: center;
}

.spacing {
  word-spacing: 0.1em;
}

nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: calc(1.1 * var(--spacing-base)) calc(1.1 * var(--spacing-base)) 0;
  align-items: end;
  z-index: 99;
}

.lettering-container {
  display: block;
  grid-column: 2;
  justify-self: center;
  pointer-events: all;
  width: -moz-max-content;
  width: max-content;
  transition: opacity 1.2s ease;
}

nav.hide {
  opacity: 0;
  pointer-events: none;
}

nav ul {
  display: flex;
  gap: 0.8em;
  grid-column: 3;
  justify-self: end;
}

nav li {
  color: rgb(153, 153, 153);
}

@media (max-width: 768px) {
  .lettering-container {
    grid-column: 1;
    justify-self: unset;
  }
}
.intro {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 255);
  transition: opacity 1.2s;
  cursor: pointer;
}

.intro.hidden {
  opacity: 0;
  pointer-events: none;
}

.intro .intro-container {
  display: flex;
  flex-direction: column;
  gap: calc(1.1 * var(--spacing-base));
  position: relative;
  text-align: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s;
}

.intro .intro-container.active {
  opacity: 1;
}

.intro .intro-container img {
  display: none;
  width: auto;
  height: 10vw;
  max-height: 200px;
  min-height: 100px;
}

.intro .intro-container img.active {
  display: block;
}

.screensaver {
  display: none;
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 100;
}

.screensaver nav a {
  color: rgb(255, 255, 255);
}

.screensaver .lettering path {
  fill: rgb(255, 255, 255);
}

.screensaver img {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.screensaver img.active {
  display: block;
}

#work {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  gap: calc(2.72 * var(--spacing-base));
}

#work main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: calc(2.72 * var(--spacing-base));
  overflow: hidden;
  padding: 0 calc(1.1 * var(--spacing-base)) calc(1.1 * var(--spacing-base));
}

.image-container {
  display: flex;
  position: relative;
  flex: 1;
  width: 100%;
  height: calc(100% - 7vh - 2.72 * var(--spacing-base));
  justify-content: center;
  align-items: center;
}

.image-container img {
  position: absolute;
  width: 50%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s;
  -o-object-fit: contain;
     object-fit: contain;
  z-index: 0;
}

.image-container img.active {
  position: relative;
  opacity: 1;
  z-index: 1;
}

.image-container .illu {
  width: auto;
  height: 10vw;
  max-height: 200px;
  min-height: 100px;
}

.image-container.is-user-scrolling img {
  transition: none !important;
}

.image-bar-spacer {
  position: relative;
  height: 7vh;
}

.image-bar {
  position: absolute;
  height: 100%;
  width: 100%;
  margin-left: calc(1.1 * var(--spacing-base) * -1);
  margin-right: calc(1.1 * var(--spacing-base) * -1);
  overflow-x: scroll;
  scroll-behavior: smooth;
  z-index: 1;
  -webkit-user-drag: none;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.image-bar-content {
  position: absolute;
  display: flex;
  flex-wrap: nowrap;
  height: 7vh;
  gap: calc(0.27 * var(--spacing-base));
  bottom: calc(1.1 * var(--spacing-base));
  padding-left: calc(50vw - 2.625vh);
  z-index: 5;
}

.image-bar img {
  height: 100%;
  aspect-ratio: 3/4;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: top;
     object-position: top;
  cursor: pointer;
  opacity: 0.07;
  transition: opacity 0.6s;
  will-change: opacity;
}

.image-bar img.active {
  opacity: 1;
}

.image-bar .spacer {
  padding-right: calc(50vw - 2.625vh);
}

@media (max-width: 768px) {
  .image-container img {
    width: 100%;
  }
}
#index nav {
  position: sticky;
  top: 0;
}

#index main {
  position: relative;
  margin-top: calc(3.4 * var(--spacing-base));
  padding: 0 calc(10 * var(--spacing-base)) calc(3.4 * var(--spacing-base) + 1.1 * var(--spacing-base) + 1 * var(--spacing-base));
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6.4vw 8.7vw;
}

.image-grid div {
  grid-column: span 1;
}

.image-grid img {
  width: 100%;
}

.image-grid p {
  margin-top: 0.65em;
}

.image-overlay {
  position: fixed;
  display: flex;
  inset: 0;
  height: 100dvh;
  padding: 0 calc(10 * var(--spacing-base));
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transition: opacity 1.2s;
  pointer-events: none;
  z-index: 90;
  backdrop-filter: blur(8px);
  will-change: opacity;
}

.image-overlay img {
  opacity: 0;
  transition: opacity 1.2s;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.image-overlay.active {
  opacity: 0.9999;
}

.image-overlay.active img {
  opacity: 1;
}

@media (max-width: 1200px) {
  .image-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  #index main {
    padding: 0 calc(1.1 * var(--spacing-base)) calc(3.4 * var(--spacing-base) + 1.1 * var(--spacing-base) + 1 * var(--spacing-base));
  }
  .image-overlay {
    padding: 0 calc(1.1 * var(--spacing-base));
  }
}
#info nav {
  position: sticky;
  top: 0;
}

#info main {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 calc(1.1 * var(--spacing-base)) calc(1.1 * var(--spacing-base));
  margin-top: calc(3.4 * var(--spacing-base));
}

#info .contact-section, #info .legal-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  flex: 1;
  transition: opacity 1.2s;
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  width: calc(100vw - 2 * 1.1 * var(--spacing-base));
}

#info .contact-section.active, #info .legal-section.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  overflow: auto;
  height: unset;
}

.info-content, .legal-content {
  position: relative;
  grid-column: span 4;
  line-height: 1.5;
  margin-bottom: calc(1.1 * var(--spacing-base) * 4 * 1.5);
}

.info-block:not(:last-of-type) {
  margin-bottom: calc(2.72 * var(--spacing-base));
}

.legal-content > *:not(:last-of-type) {
  margin-bottom: 1.5em;
}

.info-block {
  gap: 1.5em 0;
}

.info-block, .credit-block, .legal-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.info-block > :nth-child(odd), .credit-block > :nth-child(odd), .legal-block > :nth-child(odd) {
  grid-column: span 1;
}

.info-block > :nth-child(even), .credit-block > :nth-child(even), .legal-block > :nth-child(even) {
  grid-column: span 3;
}

.info-block .row {
  display: flex;
  gap: 2em;
}

.credit-section {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem calc(1.1 * var(--spacing-base));
  background-color: rgb(255, 255, 255);
  line-height: 1.5;
  transform: translateY(0.2em);
}

.credit-block {
  width: 33.3333333333%;
}

.credit-btn, .legal-btn {
  cursor: pointer;
}

.credit-btn.active, .legal-btn.active {
  color: rgb(153, 153, 153);
}

.credit-block > :nth-child(2) {
  position: relative;
}

.credits, .copyright {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  transition: opacity 1.2s;
}

.credits.active, .copyright.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  height: unset;
  overflow: visible;
}

.info-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 20%;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.info-image.mobile {
  display: none;
}

.info-image .hover-container {
  position: relative;
  width: 100%;
}

.info-image .legal-image {
  height: 10vw;
  max-height: 200px;
  min-height: 100px;
  width: auto;
}

.legal-section.active .info-image, .contact-section.active .info-image {
  opacity: 1;
}

.info-image .hover-container img {
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.info-image .hover-container img:first-of-type {
  position: relative;
}

.info-image .hover-container img:last-of-type {
  height: 10vw;
  max-height: 200px;
  min-height: 100px;
  width: auto;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.info-image .hover-container img.active {
  opacity: 1;
}

.index-container {
  height: 1rem;
  align-content: end;
}

@media (max-width: 1200px) {
  .info-content, .legal-content {
    grid-column: span 6;
  }
  .credit-block {
    width: 50%;
  }
  .info-image {
    left: unset;
    right: calc(1.1 * var(--spacing-base));
    transform: translateY(-50%);
  }
}
@media (max-width: 1024px) {
  .info-content, .legal-content {
    grid-column: span 8;
  }
  .credit-block {
    width: 66.6666666667%;
  }
}
@media (max-width: 768px) {
  #info .contact-section, #info .legal-section {
    display: block;
  }
  .info-content {
    margin-bottom: calc(1.1 * var(--spacing-base) * 2);
  }
  .credit-block {
    width: 100%;
  }
  .info-image {
    padding: calc(1.1 * var(--spacing-base)) 0;
    margin-bottom: calc(1.1 * var(--spacing-base) * 2);
  }
  .info-image .hover-container {
    transform: unset;
    width: 50%;
  }
  .info-image.desktop {
    display: none;
  }
  .info-image.mobile {
    display: flex;
  }
  .legal-content {
    margin-bottom: 1.5em;
  }
  .info-image {
    position: relative;
    transform: unset;
    top: unset;
    left: unset;
    right: unset;
    width: 100%;
  }
}
#error main {
  position: relative;
  margin-top: calc(3.4 * var(--spacing-base));
  padding: 0 calc(1.1 * var(--spacing-base)) calc(1.1 * var(--spacing-base));
}

#error main p {
  text-align: center;
  margin: 0 auto;
}/*# sourceMappingURL=main.css.map */