body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top, #0b1020 0%, #000 55%);
    overflow: hidden;
    font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
}

.star {
    position: absolute;
    width: 1px;
    height: 1px;
    background-color: white;
    opacity: 0.9;
}

.intro {
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
        animation: intro 6s ease-out 1s;
        color: rgb(75, 213, 238);
        font-weight: 400;
        font-size: clamp(24px, 4vw, 54px);
        text-align: center;
        opacity: 0;
}

@keyframes intro {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

p {
    color: #FFFF82;
}

.back-link {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    color: #f6e27a;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid rgba(75, 213, 238, 0.35);
    border-radius: 999px;
    padding: 10px 18px;
    background: rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    z-index: 3;
}

.back-link-top {
    left: 20px;
    top: 20px;
    bottom: auto;
    transform: none;
    z-index: 4;
}

.back-link:hover {
    transform: translateX(-50%) translateY(-2px);
    border-color: #f6e27a;
    color: #fff4b2;
}

.back-link-top:hover {
    transform: translateY(-2px);
}

/* Set the font, lean the board, position it */
#board {
  font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
  transform: perspective(300px) rotateX(25deg);
  transform-origin: 50% 100%;
  text-align: justify;
  position: absolute;
  margin-left: -9em;
  font-weight: bold;
  overflow: hidden;
  font-size: 350%;
  height: 50em;
  width: 18em;
  bottom: 0;
  left: 50%;
}

#board:after {    
  position: absolute;
  content: ' ';
  bottom: 60%;
  left: 0;
  right: 0;
  top: 0;
}

/* Set the scrolling animation and position it */
#content {
    animation: scroll 100s linear 5s;
  position: absolute;
  top: 100%;
}

#title, #subtitle {
  text-align: center;
}

@keyframes scroll {
    0% {
        top: 100%;
    }
    100% {
        top: -170%;
    }
}

@media (max-width: 768px) {
    #board {
        font-size: 220%;
        width: 14em;
        margin-left: -7em;
    }

    .intro {
        left: 50%;
        width: 90%;
    }
}