@font-face {
    font-family: "Comic Sans MS";
    src: local("Comic Sans MS"),
         url("fonts/comic.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Comic Sans MS";
    src: local("Comic Sans MS Bold"),
         url("fonts/comicbd.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100vw;
    height: 100vh;
    background-color: #fffdf0;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-transform: lowercase;
}

.bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    flex-wrap: wrap;
    gap: 80px 130px;
    padding: 50px;
    transform: rotate(-25deg);
    opacity: 0.22;
    animation: flow 12s linear infinite;
}

.bg span {
    font-size: 3.5rem;
    font-weight: 900;
    color: #444;
    white-space: nowrap;
}

@keyframes flow {
    from { transform: rotate(-25deg) translate(0, 0); }
    to   { transform: rotate(-25deg) translate(800px, 0); }
}
