body {
    background-color: #000c27;
    color: #ffffff;
    font-family: Geist, sans-serif;
    margin: 0;
}

/* Fixed, viewport-sized, clipped layer that owns the star animation.
   Because it's position:fixed it never grows with page height, so
   overflow:hidden here only ever clips to one screen - the rest of
   the page is free to scroll normally. */
.stars-field {
    position: fixed;
    left: 0;
    right: 0;
    top: -10vh;
    height: 120vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
}

#stars-near {
    z-index: -1;
}

#stars-far {
    z-index: -2;
    opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
    .stars-field {
        transform: none !important;
    }
}

p {
    font-size: 20px;
}

h1 {
    font-size: 50px;
    font-family: Stack Sans Headline, sans-serif;
}

h2 {
    font-size: 40px;
    font-family: Stack Sans Headline, sans-serif;
}

button {
    background-color: #0067fe;
    color: #ffffff;
    padding: 5px;
    border: none;
    border-radius: 5px;
    font-family: Stack Sans Headline, sans-serif;
    font-size: 30px;
    cursor: pointer;
}

.header {
    display: grid;
    place-items: center;
    height: 100vh;
}

.content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px 120px;
}

.code {
    background-color: #000c27;
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #0061ff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px;
    overflow-x: auto;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: moveDiagonal 5s linear infinite;
    opacity: 0.8;
}

@keyframes moveDiagonal {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(100vw, 100vh);
        opacity: 0;
    }
}