body {
    background: rgb(248, 248, 245);

    color: rgb(70, 70, 70);

    font-family: Arial, sans-serif;

    font-size: 16px;

    line-height: 1.7;

    padding: 40px;
}

#message {
    max-width: 420px;

    opacity: 0;

    transform: translateY(80vh);

    animation: arrive 18s ease forwards;
}

#refresh-link {
    display: inline-block;

    margin-top: 30px;

    color: rgb(110, 110, 110);

    text-decoration: none;

    font-size: 14px;

    opacity: 0;

    transition: opacity 2s ease;
}

#refresh-link.visible {
    opacity: 0.5;
}

#refresh-link:hover {
    opacity: 0.9;
}

@keyframes arrive {
    0% {
        opacity: 0;
        transform: translateY(80vh);
    }

    35% {
        opacity: 0.35;
    }

    100% {
        opacity: 0.88;
        transform: translateY(0);
    }
}

.return-link {
    position: fixed;

    top: 20px;
    right: 25px;

    text-decoration: none;

    color: rgb(120, 120, 120);

    font-size: 14px;

    opacity: 0.5;
}
.floating-space {
    position: fixed;

    inset: 0;

    overflow: hidden;

    transform: rotate(180deg);
}

.falling-word,
.returning-word {
    position: absolute;

    font-size: 20px;
}

/* FIRST SET — FALLING OUT */

.falling-word {
    animation: fallAway 18s linear forwards;
}

/* SECOND SET — RETURNS LATER */

.returning-word {
    opacity: 0;

    animation: returnAndPull 9s ease-in forwards;
    animation-delay: 18s;
}

/* WORD POSITIONS */

.word-1 {
    left: 18%;
    top: 78%;
}

.word-2 {
    left: 32%;
    top: 64%;
}

.word-3 {
    left: 48%;
    top: 50%;
}

.word-4 {
    left: 58%;
    top: 38%;
}

.word-5 {
    left: 68%;
    top: 24%;
}

.word-6 {
    left: 78%;
    top: 12%;
}

/* FALLING DOWN */

@keyframes fallAway {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 0.75;
    }

    100% {
        transform: translateY(140vh);
        opacity: 0;
    }
}

/* RETURN + SUCTION RIGHT */
@keyframes returnAndPull {
    0% {
        transform: translateX(220vw);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    82% {
        transform: translateX(0);
        opacity: 0.8;
    }

    88% {
        transform: translateX(0);
        opacity: 0.8;
    }

    100% {
        transform: translateX(-700vw);
        opacity: 0;
    }
}
.horizon {
    position: absolute;
    left: 0;
    right: 0;
    top: 70%;

    height: 1px;

    background: rgb(190, 190, 185);

    opacity: 0.35;
}
.floating-space.pulled {
    animation: pullWholePage 0.9s ease-in forwards;
}

@keyframes pullWholePage {
    0% {
        transform: rotate(180deg) translateX(0);
    }

    100% {
    transform: rotate(180deg) translateX(420vw);
}
}
.surface-layer {
    position: absolute;
    inset: 0;

    background: rgb(220, 220, 214);

    opacity: 1;

    z-index: 0;
}

.falling-word,
.returning-word {
    z-index: 2;
}

.fragment {
    position: absolute;

    width: 180px;
    height: 180px;

    border: 1px solid rgba(70, 70, 70, 0.12);

    opacity: 0.35;

    z-index: 1;
}

.fragment-one {
    left: 12%;
    top: 18%;
}

.fragment-two {
    left: 58%;
    top: 42%;
    width: 260px;
    height: 120px;
}

.fragment-three {
    left: 34%;
    top: 76%;
    width: 90px;
    height: 240px;
}

.floating-space.pulled .surface-layer {
    animation: ripAway 0.9s ease-in forwards;
}

@keyframes ripAway {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-220vw);
    }
}
#continue-prompt {
  position: fixed;
  left: 38px;
  bottom: 34px;

  color: rgba(220, 220, 220, 0.42);

  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;

  opacity: 0;

  animation: promptArrives 6s ease forwards;
  animation-delay: 34s;
  animation-fill-mode: forwards;

  z-index: 20;
}

@keyframes promptArrives {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}