:root {
  --black: #0f0f0f;
  --bar-bg: #f5f5f5;
  --yellow: #ffe85b;
  --sans: sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--black);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  opacity: 0;
  transition: all 1s ease;
  padding-bottom: 160px;
}

.hero.loaded {
  opacity: 1;
}

.hero__badge {
  width: 72px;
  position: fixed;
  left: 20px;
  top: 20px;
  z-index: 2;
}

.hero__canvas {
  width: 900px;
  /* width: 100%; */
  position: relative;
  height: 100vh;
  z-index: 0;
}

.window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 355px;
  transition: all 1s ease;
}

.window__art,
.window__frame {
  width: 100%;
  height: auto;
  display: block;
}

.window__frame {
  pointer-events: none;
}

.window--invite {
  transform: translate(-50%, -50%);
  width: 355px;
  z-index: 6;
  display: grid;
  position: fixed;

  @media screen and (max-width: 768px) {
    width: 330px;
  }
}

.window--aphex {
  z-index: 3;
}
.window--aphex.loaded {
  transform: translate(-43px, -450px);
}

.window--gorillaz {
  z-index: 4;
}
.window--gorillaz.loaded {
  transform: translate(-276px, -348px);
}

.window--vogue {
  z-index: 4;
}
.window--vogue.loaded {
  transform: translate(-372px, -233px);
}

.window--dither {
  z-index: 1;
}
.window--dither.loaded
{
  transform: translate(52px, -214px);
}

.window--travis {
  z-index: 5;
}
.window--travis.loaded
{
  transform: translate(-276px, 117px);
}

.window--yeat {
  z-index: 6;
}
.window--yeat.loaded {
  transform: translate(4px, 81px);
}

.window--invite > * {
  grid-area: 1 / 1;
}

.invite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;

  @media screen and (max-width: 768px) {
    gap: 18px;
  }
}

.invite__title {
  margin: 54px 0 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;

  @media screen and (max-width: 768px) {
    font-size: 15px;
    margin-top: 50px;
  }
}

.invite__logo {
  width: 290px;
  align-self: center;

  @media screen and (max-width: 768px) {
    width: 260px;
  }
}

.invite__copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  width: 265px;

  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
}

.invite__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 48px;
  color: var(--black);
  text-decoration: none;
  transition: transform 0.2s ease;
  background: url("../images/button.webp") no-repeat;
  background-size: contain;
  padding-bottom: 2px;
}

.invite__footer {
  margin: 0;
  font-size: 13px;
}

.hero__copyright {
  margin: 0;
  font-size: 14px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1;
}
