html,
body {
    overflow: hidden;
    background-color: #000;
}

body {
    margin: 0;
    position: fixed;
    width: 100%;
    height: 100%;
}

canvas {
    width: 100%;
    height: 100%;
}

.wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    color: #fff;
    pointer-events: none;
    text-align: center;
    mix-blend-mode: difference;
}

.main {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
}

h1 {
    font-size: 8em;
    color: #fff;
    text-align: center;
    font-family: sans-serif;
    animation: animate 0.5s linear infinite;
    margin: 0;
}

h2 {
    font-family: sans-serif;
}

.site-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.2rem 2rem 0.5rem 2rem;
    color: #fff;
}

.site-footer a {
    pointer-events: auto;
    color: #fff;
}

.site-footer span {
    font-size: 12px;
}

@keyframes animate {
    0%,
    100% {
        text-shadow: -1.5px -1.5px 0 #0ff, 1.5px 1.5px 0 #f00;
    }
    25% {
        text-shadow: 1.5px 1.5px 0 #0ff, -1.5px -1.5px 0 #f00;
    }
    50% {
        text-shadow: 1.5px -1.5px 0 #0ff, 1.5px -1.5px 0 #f00;
    }
    75% {
        text-shadow: -1.5px 1.5px 0 #0ff, -1.5px 1.5px 0 #f00;
    }
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    row-gap: 0;
    column-gap: 1rem;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.github-link:hover {
    transform: translateY(-1px);
}

.github-icon {
    flex-shrink: 0;
}

.divider {
    user-select: none;
}

#footerTitle {
    flex-basis: 100%;
    text-align: center;
    margin-top: 0;
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 640px) {
    .footer-content {
        column-gap: 0.8rem;
    }
    .divider {
        display: none;
    }
    .github-text {
        display: none;
    }
    .github-icon {
        width: 20px;
        height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    h1 {
        animation: none;
    }
    .github-link {
        transition: none;
    }
}