body {
    margin: 0;
    background-color: #000;
    color: white;
}

.desktop-site {
    display: block;
}

.mobile-site {
    display: none;
    min-height: 100vh;
    box-sizing: border-box;
    background-image: url("https://bettysgraphics.neocities.org/images/backgrounds/stars%202.gif");
    background-repeat: repeat;
    padding: 40px 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 960px) {
    .desktop-site {
        display: none;
    }

    .mobile-site {
        display: flex;
    }
}

.void {
    min-height: 400vh;
    background-color: #000;
    position: relative;
}

.void2 {
    min-height: 200vh;
    background-color: #000;
    position: relative;
}

.space {
    min-height: 400vh;
    position: relative;
    background-image: 
        linear-gradient(
            to bottom,
            #000 0%,
            transparent 1200px,
            transparent calc(100% - 1000px),
            #000 100%
        ),
        url("https://bettysgraphics.neocities.org/images/backgrounds/stars%202.gif");
    background-repeat: no-repeat, repeat;
    background-position: top left, top left;
}

.ground {
    min-height: 400vh;
    position: relative;
    background-image: 
        linear-gradient(
            to bottom,
            #000 0%,
            transparent 400px
        ),
        url("https://bettysgraphics.neocities.org/images/backgrounds/pattern%20217.gif");
    background-repeat: no-repeat, repeat;
    background-position: top left, top left;
}

.title {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.title img {
    display: block;
    max-width: 70vw;
    height: auto;
}

.net {
    position: static;
    margin: 0;
    transform: translate(-8px, 22px);
    color: #00ff00;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(12px, 2vw, 25px);
}

.mobile-text {
    color: #00ff00;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(12px, 2vw, 20px);
    text-align: center;
}

.mobile-gif {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.mysterious-text {
    color: #00ff00;
    font-family: "Times New Roman", Times, serif;
}

.mysterious-text span {
    position: absolute;
    margin: 0;
}

.venture {
    top: 5%;
    left: 25%;
    font-size: 30px;
    animation: swing 8s ease-in-out infinite;
}

.unknown {
    top: 30%;
    left: 35%;
    font-size: 22px;
    animation: swing 10s ease-in-out infinite;
}

.into-the-void {
    top: 60%;
    left: 55%;
    font-size: 18px;
    animation: swing 9s ease-in-out infinite;
}

.into {
    top: 95%;
    left: 75%;
    font-size: 15px;
    animation: swing 11s ease-in-out infinite;
}

.space-text {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.space-phrase {
    position: absolute;
    margin: 0;
    color: #00ff00;
    font-family: "Times New Roman", Times, serif;
}

.space-gifs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.space-gif {
    position: absolute;
    height: auto;
    max-width: 100%;
}

@keyframes float {
  0%, 100% {
    transform: translate(10px, 10px) rotate(5deg);
  }
  50% {
    transform: translate(-10px, -10px) rotate(-5deg);
  }
}

@keyframes swing {
  0%, 100% {
    transform: translate(5px, 5px) rotate(-4deg);
  }
  50% {
    transform: translate(-4px, -3px) rotate(3deg);
  }
}

@keyframes guestbook {
  0%, 100% {
    transform: translateY(-30px);
  }
  50% {
    transform: translateY(30px);
  }
}

.guestbook-text {
    position: absolute;
    margin: 0;
    top: 21%;
    left: 10%;
    color: #00ff00;
    font-family: "Times New Roman", Times, serif;
    font-size: 20px;
    animation: swing 16s ease-in-out infinite;
}

.guestbook-text a {
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.guestbook-link {
    display: inline-block;
    position: relative;
    pointer-events: auto;
    animation: guestbook 1s ease-in-out infinite;
}

.guestbook-link,
.guestbook-link:visited {
    color: #00ff00;
}

.guestbook-link:hover {
    color: #00ffff;
}

.phrase-one {                    /* who are we? */
    top: 30%;
    left: 33%;
    font-size: 20px;
    animation: swing 8s ease-in-out infinite;
}

.phrase-two {                    /* what do we want? */
    top: 50%;
    left: 70%;
    font-size: 20px;
    animation: float 10s ease-in-out infinite;
}

.phrase-three {                    /* the answers lie beyond... */
    top: 70%;
    left: 10%;
    font-size: 20px;
    animation: float 7s ease-in-out infinite;
}

.phrase-four {                    /* ...should you find the courage to continue onward */
    top: 90%;
    left: 50%;
    font-size: 20px;
    animation: float 8s ease-in-out infinite;
}

.phrase-five {                    /* ...and prepare to dive within */
    top: 80%;
    left: 70%;
    font-size: 20px;
}

.phrase-six {                    /* ...and prepare to dive within */
    top: 60%;
    left: 70%;
    font-size: 20px;
    animation: drift 5s ease-in-out infinite;
}

.phrase-seven {                    /* ...and prepare to dive within */
    top: 95%;
    left: 48%;
    font-size: 20px;
    animation: drift 3.5s ease-in-out infinite;
}

.gif-one {                    /* Spinning UFO */
    top: 20%;
    left: 23%;
    width: 300px;
}

.gif-two {                    /* Purple Black Hole Thing */
    top: 30%;
    left: 70%;
    width: 130px;
}

.gif-three {                   /* White Hole Thing */
    top: 15%;
    left: 78%;
    width: 300px;
}

.gif-four {                    /* Blue Spinning Nebula */
    top: 78%;
    left: 16%;
    width: 200px;
}

.gif-five {                    /* Orange Planet */
    top: 63%;
    left: 40%;
    width: 200px;
}

.gif-six {                    /* Rocket */
    top: 37%;
    left: 36%;
    width: 160px;
    transform: rotate(45deg);
}

.gif-seven {                    /* Space Guy */
    top: 55%;
    left: 60%;
    width: 100px;
}

.gif-eight {                    /* Cat Balloon */
    top: 70%;
    left: 80%;
    width: 50px;
}

.gif-nine {                    /* Nasa Astronaut */
    top: 84%;
    left: 75%;
    width: 130px;
}

.gif-ten {                    /* Satellite */
    top: 51%;
    left: 6%;
    width: 120px;
}

.mysterious-text2 {
    position: absolute;
    margin: 0;
    color: #FFFFFF;
    font-family: "Times New Roman", Times, serif;
}

.ground-phrase {
    position: absolute;
    margin: 0;
    color: #FFFFFF;
    font-family: "Times New Roman", Times, serif;
    text-shadow: 2px 2px 2px;
}

@keyframes drift {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.gphrase-one {                    /* Our goals are one and the same... */
    top: 30%;
    left: 50%;
    font-size: 30px;
    animation: drift 3s ease-in-out infinite;
}

.gphrase-two {                    /* To create.*/
    top: 40%;
    left: 10%;
    font-size: 30px;
    animation: drift 5s ease-in-out infinite;
}

.gphrase-three {                    /* To explore. */
    top: 50%;
    left: 70%;
    font-size: 30px;
    animation: drift 7s ease-in-out infinite;
}

.gphrase-four {                    /* To discover. */
    top: 60%;
    left: 30%;
    font-size: 30px;
    animation: drift 6s ease-in-out infinite;
}

.gphrase-five {                    /* Our Mission */
    top: 70%;
    left: 50%;
    font-size: 30px;
    animation: drift 8s ease-in-out infinite;
}
