* {
  box-sizing: border-box;
}

a:focus {
  color: #000;
}

a:hover {
  font-style: italic;
}

@font-face {
  font-family: "NeueMontreal";
  src: url("../fonts/NeueMontreal-Regular.woff2") format("woff2");
}

:root {
  --color-1: #c1a890;
  --color-2: #889c83;

  --mouse-x: 0;
  --mouse-y: 0;

  --mouse-absolute-x: 0;
  --mouse-absolute-y: 0;

  --mouse-root-x: 0;
  --mouse-root-y: 0;

  --font-size-xl: 3.75rem;
  --font-size-l: 1.25rem;
  --font-size-m: 1rem;
}

::selection {
  background: #000;
  color: #fff;
}
::-moz-selection {
  background: #000;
  color: #fff;
}

/* General Layout Styles */

body,
html {
  font-family: "NeueMontreal", sans-serif;
  margin: 0;
  background-color: #040404;
}

body {
  opacity: 0;
  line-height: 1.2;
  font-size: var(--font-size-m);
  transition: opacity 1000ms ease;
  overflow: hidden;
}

body.fade-in {
  opacity: 1;
}

.frame {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  transform: translate3d(-50%, 0, 0);
  transition: width 1000ms ease;
}

.title {
  pointer-events: auto;
  color: #fff;
  font-weight: normal;
  display: inline-block;
  font-size: var(--font-size-xl);
  line-height: 1;
  padding: 10px 20px;
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.title--invert {
  color: #000;
}

.title span {
  display: inline-block;
  width: 100%;
}

.title span:last-child {
  display: none;
}

@media screen and (min-width: 700px) {
  .frame {
    width: calc(100% - 100px);
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
  }

  .title span:last-child {
    display: inline-block;
    text-align: right;
    font-style: italic;
    padding-right: 6px;
  }

  .indicator-line {
    position: absolute;
    z-index: 1;
    width: 50px;
    height: 1px;
    background-color: #fff;
  }

  .indicator-line--x {
    top: var(--mouse-x);
    left: 0;
  }

  .indicator-line--y {
    top: var(--mouse-y);
    right: 0;
  }
}

/* Global Coordinates */

.global-coordinates {
  display: none;
}

@media screen and (min-width: 850px) {
  .global-coordinates {
    display: block;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    text-align: right;
    color: #fff;
    opacity: 0;
    transition: opacity 200ms ease;
  }

  .global-coordinates.state--visible {
    opacity: 1;
  }

  .global-coordinates p {
    margin: 0 0 0.5rem;
  }
}

/* blink animation */

.blink {
  animation: blink 1500ms linear infinite;
}

.blink:hover {
  animation: none;
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-o-keyframes blink {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-moz-keyframes blink {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes blink {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Error Bar */

.error-bar {
  padding: 1rem 0;
  border-top: 1px solid #000;
  font-size: var(--font-size-l);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
}

.error-bar.state--visible {
  display: block;
}

/* Loader */

.loader {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  pointer-events: none;
}

.loader__top {
  pointer-events: auto;
  height: 50%;
  width: 100%;
  background-color: #fff;
  transition: transform 1000ms ease 500ms;
}

.state--open .loader__top {
  transform: translate3d(0, -105%, 0);
}

.loader__bottom {
  position: relative;
  pointer-events: auto;
  height: 50%;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #000;
  transition: transform 1000ms ease 500ms;
}

.state--open .loader__bottom {
  transform: translate3d(0, 105%, 0);
}

.loader__loaded-wrapper {
  max-width: 60%;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.loader__loaded-wrapper p,
.loader__loaded-wrapper img {
  margin-bottom: 1rem;
}

.state--loaded .loader__loaded-wrapper {
  opacity: 1;
  transition: 300ms ease 600ms;
}

.state--open .loader__loaded-wrapper {
  opacity: 0;
  transition: 100ms ease;
}

.loader__play {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid #000;
  position: absolute;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  background-color: #fff;
  transition: width 500ms ease 100ms, height 500ms ease 100ms,
    transform 500ms ease 100ms;
}

.state--loaded .loader__play {
  width: 260px;
  height: 260px;
}

.state--open .loader__play {
  transform: translate3d(-50%, -50%, 0);
  width: 0;
  height: 0;
}

.loader__planet {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  animation: rotate 4000ms linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loader__planet::after {
  content: "";
  width: 11px;
  height: 11px;
  position: absolute;
  top: -6px;
  left: 50%;
  background-color: #000;
  transform: translate3d(-50%, 0, 0);
  border-radius: 50%;
  transition: width 300ms ease 200ms, height 300ms ease 200ms;
}

.state--open .loader__planet::after {
  width: 0;
  height: 0;
}

.loader__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  opacity: 1;
  transition: opacity 500ms ease;
}

.state--loaded .loader__logo {
  opacity: 0;
}

.loader__text {
  position: absolute;
  left: 50%;
  width: 200px;
  transform: translate3d(-50%, 0, 0);
  text-align: center;
  bottom: -50px;
  transition: opacity 500ms ease;
}

.state--loaded .loader__text {
  opacity: 0;
  pointer-events: none;
}

.play-button {
  z-index: 5;
  text-align: left;
  border: 1px solid #000;
  position: relative;
  display: block;
  background-color: white;
  color: #000;
  text-decoration: none;
  padding: 11px 5px 5px 14px;
  height: 40px;
  opacity: 0;
  border-radius: 1000px;
  transition: opacity 500ms ease 500ms;
}

.state--loaded .play-button {
  opacity: 1;
}

.state--open .play-button {
  opacity: 0;
  transition: opacity 100ms ease;
}

.play-button span {
  display: block;
  width: 26px;
  height: 26px;
  background-color: #000;
  position: absolute;
  right: 7px;
  bottom: 6px;
  border-radius: 50%;
}

.play-button svg {
  width: 50%;
  height: 50%;
  position: absolute;
  left: 7px;
  top: 6px;
}

@media screen and (min-width: 700px) {
  .state--loaded .loader__play {
    width: 350px;
    height: 350px;
  }

  .state--open .loader__play {
    transform: translate3d(-50%, -50%, 0);
    width: 0;
    height: 0;
  }

  .loader__loaded-wrapper {
    max-width: 50%;
  }

  .loader__loaded-wrapper p,
  .loader__loaded-wrapper img {
    margin-bottom: 2rem;
  }
}

/* Buttons */

.balls-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.console {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background-color: #fff;
  height: 50px;

  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translate3d(0px, 100%, 0px);
  transition: transform 400ms ease 1000ms;
}

.did-appear .console {
  transform: translate3d(0px, 0, 0px);
}

.soundcloud-link {
  pointer-events: auto;
  padding-right: 50px;
  height: 50px;
  background-color: #fff;
  position: relative;
  color: #000;
  text-decoration: none;
  border-right: 1px solid #000;
}

.soundcloud-link__icon {
  display: block;
  width: 26px;
  height: 26px;
  background-color: #000;
  position: absolute;
  right: 12px;
  bottom: 10px;
  border-radius: 50%;
  background: url("../images/wave.svg") repeat-x #000;
  background-position: 0 7px;
}

.soundcloud-link__text-wrapper {
  width: 0;
  overflow: hidden;
  transition: width 200ms ease;
}

.soundcloud-link__text {
  padding: 1.4rem 2rem 0.5rem 1rem;
  display: block;
}

@media screen and (min-width: 1400px) {
  .soundcloud-link {
    position: absolute;
    left: 0;
    bottom: 0;
  }

  .soundcloud-link:hover .soundcloud-link__text-wrapper {
    width: 100px;
  }
}

/* Audio Console */

.audio-console {
  position: relative;
  width: 230px;
  height: 104px;
}

.audio-console .content__trigger {
  border-left: 1px solid #000;
}

.scope-canvas {
  width: 230px;
  height: 50px;
}

.audio-controls {
  height: 50px;
  display: flex;
  pointer-events: auto;
}

@media screen and (min-width: 700px) {
  .audio-console .content__trigger {
    display: none;
  }

  .scope-canvas {
    width: 300px;
    height: 50px;
  }
}

@media screen and (min-width: 1400px) {
  .audio-console {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

/* Indicator Console */

.indicator-console {
  display: none;
  pointer-events: auto;
}

@media screen and (min-width: 850px) {
  .indicator-console {
    display: flex;
    position: relative;
    height: 50px;
    border-left: 1px solid #000;
    padding-left: 1rem;
  }

  .indicator-console__label {
    padding: 1.4rem 1rem 0.5rem 0;
    margin: 0;
    font-size: 1rem;
  }

  .indicator-console ul {
    margin: 0;
    padding: 0;
    display: flex;
    background-color: #fff;
    padding-right: 1rem;
    border-right: 1px solid #000;
  }

  .indicator-console li {
    display: inline-block;
  }

  .indicator {
    display: inline-block;
    text-decoration: none;
    color: #000;
    padding: 47px 5px 5px 7px;
    transition: color 300ms ease;
    position: relative;
    margin-top: -25px;
  }

  .indicator:hover {
    font-style: italic;
  }

  .indicator.state-active {
    font-style: italic;
  }

  .indicator span {
    display: block;
    position: absolute;
    border: 1px solid #fff;
    width: 16px;
    height: 17px;
    border-radius: 50%;
    left: 10px;
    top: 0;
    overflow: hidden;
    transform: translate3d(0, 25px, 0);
    transition: transform 200ms ease;
  }

  .indicator.state-active span {
    transform: translate3d(0, 0, 0);
  }

  .indicator span::before,
  .indicator span::after {
    content: "";
    width: 14px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    left: 0px;
    top: 7px;
  }

  .indicator span::before {
    transform: rotate(-45deg);
  }

  .indicator span::after {
    transform: rotate(45deg);
  }

  .indicator-console .state-disabled {
    cursor: not-allowed;
  }

  .indicator-console .state-disabled .indicator {
    color: #d6d6d6;
    pointer-events: none;
  }

  .indicator-console .state-disabled .indicator.state-active {
    color: #000;
    pointer-events: auto;
  }
}

@media screen and (min-width: 1400px) {
  .indicator-console {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate3d(-50%, 0, 0);
  }
}

/* Redistribute Console */

.redistribute {
  position: relative;
  flex: 1;
  background-color: #fff;
  color: #000;
  margin-right: 1px;
}

.redistribute.state--disabled {
  cursor: not-allowed;
}

.redistribute a {
  padding: 1.4rem 1rem 0.5rem 1rem;
  border-left: 1px solid #000;
  display: block;
  text-decoration: none;
  color: #000;
  opacity: 1;
  transition: opacity 200ms ease;
}

.state--disabled.redistribute a {
  pointer-events: none;
  opacity: 0.5;
}

.redistribute__icon {
  display: block;
  width: 26px;
  height: 26px;
  background-color: #000;
  position: absolute;
  right: 11px;
  bottom: 10px;
  border-radius: 50%;
}

.redistribute__icon::after {
  content: "";
  width: 40%;
  height: 40%;
  border-radius: 50%;
  border: 1px solid #fff;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition: transform 200ms ease;
}

.redistribute:hover .redistribute__icon::after {
  transform: translate3d(-50%, -50%, 0) scale(1.2);
}

/* Stop Button */

.stop {
  display: none;
}

@media screen and (min-width: 700px) {
  .stop {
    display: block;
    width: 40px;
    background-color: #fff;
    position: relative;
  }

  .stop.state--disabled {
    cursor: not-allowed;
  }

  .stop a {
    opacity: 1;
    transition: opacity 200ms ease;
  }

  .stop.state--disabled a {
    pointer-events: none;
    opacity: 0.5;
  }

  .stop span {
    display: block;
    width: 26px;
    height: 26px;
    background-color: #000;
    position: absolute;
    left: 7px;
    bottom: 6px;
    border-radius: 50%;
  }

  .stop svg {
    width: 50%;
    height: 50%;
    position: absolute;
    left: 7px;
    top: 6px;
    opacity: 0;
    transform: rotate(-45deg);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .stop .state-stopped svg {
    opacity: 1;
    transform: rotate(0);
  }

  .stop span::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border: 1px solid #fff;
    position: absolute;
    left: 8px;
    bottom: 8px;
    opacity: 1;
    transition: opacity 300ms ease, transform 300ms ease;
  }

  .stop a:hover span::after {
    transform: rotate(45deg);
  }

  .stop .state-stopped span::after {
    transform: rotate(90deg);
    opacity: 0;
  }
}

/* Content */

.content {
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.content.state--content-open {
  pointer-events: auto;
}

.content__top {
  height: 30%;
  border-bottom: 1px solid #000;
  transform: translate3d(0, -105%, 0);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 1000ms ease;
}

.content__top-console {
  border-top: 1px solid #000;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.content__tabs-list {
  padding: 0;
  margin: 0;
  list-style: none;
  height: 100%;
  display: flex;
}

.content__tab-item {
  display: inline-block;
  height: 100%;
  font-size: 0;
}

.content__tab-link {
  height: 100%;
  display: block;
  text-decoration: none;
  color: #000;
  border-right: 1px solid #000;
  transition: background-color 200ms ease, color 200ms ease;
  padding: 0.6rem 2rem;
  font-size: 1rem;
}

.content__tab-link:hover,
.content__tab-link.state--active {
  background-color: #000;
  color: #fff;
  font-style: italic;
}

.content__close {
  position: relative;
  width: 40px;
  height: 40px;
  border-left: 1px solid #000;
  cursor: pointer;
}

.content__close span {
  display: block;
  width: 26px;
  height: 26px;
  background-color: #000;
  position: absolute;
  right: 7px;
  bottom: 6px;
  border-radius: 50%;
  transition: transform 400ms ease;
}

.content__close:hover span {
  transform: rotate(90deg);
}

.content__close span::after,
.content__close span::before {
  content: "";
  width: 18px;
  height: 1px;
  display: block;
  position: absolute;
  top: 13px;
  left: 4px;
  background-color: #fff;
}

.content__close span::before {
  transform: rotate(45deg);
}

.content__close span::after {
  transform: rotate(-45deg);
}

.content__bottom {
  overflow: auto;
  height: 70%;
  transform: translate3d(0, 105%, 0);
  background-color: #fff;
  transition: transform 750ms ease;
  margin-right: -1px;
}

.state--content-open .content__top,
.state--content-open .content__bottom {
  transform: translate3d(0, 0, 0);
}

.content__bottom-orbits {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 1px;
  background-color: #000;
  min-height: 70vh;
}

.content__item {
  background-color: #fff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content__item-number {
  font-size: var(--font-size-l);
}

.content__item-image {
  border: 1px solid #000;
  background-image: url(textures/1.jpg);
  width: 14vh;
  padding-top: 14vh;
  border-radius: 50%;
  background-size: cover;
  margin: 0 auto;
  margin-bottom: 1rem;
  animation: rotate 100s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

.content__item-coordinate {
  display: flex;
  justify-content: center;
  margin: 0 0 0.5rem;
}

.content__trigger {
  position: relative;
  height: 100%;
  width: 50px;
  display: block;
  background-color: #fff;
  color: #000;
  text-decoration: #000;
}

.content__trigger-inner {
  display: block;
  padding-right: 50px;
  width: 50%;
  position: relative;
  border-right: 1px solid #000;
  transition: width 200ms ease;
  height: 50px;
}

.content__trigger-icon {
  display: block;
  width: 26px;
  height: 26px;
  background-color: #000;
  position: absolute;
  right: 12px;
  bottom: 10px;
  border-radius: 50%;
  background-image: url(../images/world-strokes.svg);
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.content__trigger-icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  top: 50%;
  background-color: #fff;
}

.content__trigger-text-wrapper {
  display: block;
  overflow: hidden;
}

.content__trigger-text {
  padding: 1.4rem 2rem 0.5rem 1rem;
  display: block;
}

@media screen and (min-width: 950px) {
  .content__bottom-orbits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1300px) {
  .content__bottom-orbits {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media screen and (min-width: 1400px) {
  .content__trigger:hover .content__trigger-inner {
    width: 150px;
  }
}

/* Tabs */

.tab__content {
  opacity: 0;
  display: none;
  transition: opacity 300ms ease;
  min-height: 100%;
}

.tab__content.state--active {
  opacity: 1;
}

.tab__content.state--block {
  display: block;
}

/* Release */
.release {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 1px;
  background-color: #000;
  min-height: 70vh;
}

.release__release {
  background-color: #fff;
  padding: 2rem;
}

.release__title {
  font-size: 2rem;
  max-width: 10rem;
  margin-bottom: 2rem;
}

.release__image {
  display: block;
  margin: 0 auto;
  max-width: 30rem;
  width: 100%;
  max-height: 30vh;
  object-fit: contain;
  margin-bottom: 2rem;
}

.release__track-list-wrapper {
  display: block;
  margin: 0 auto;
  max-width: 30rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.release__track-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.release__track {
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 950px) {
  .release {
    grid-template-columns: repeat(2, 1fr);
  }
}
