@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); }
}

.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; 
}

.img-box {
    width: 550px;
    height: 550px;
    display: block;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.status-text {
    font-size: 3.5rem;
    font-weight: bold;
    color: #222;
    background: transparent;
    text-align: center;
    white-space: nowrap;
}

#timer {
    color: #ff0000;
}

.github-link {
    position: fixed; bottom: 20px; left: 20px;
    display: inline-block;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.github-link:hover {
    opacity: 1;
}

.github-icon {
    width: 60px;
    height: 60px;
    display: block;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
}
