/*
 * Copyright (c) 2026 Ethorbit
 * All rights reserved.
*/

body {
    background-image: url('/nzombies-experimental/include/assets/artifacts.gif');
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #000000;

    /* background-size: cover has been supported since
       old WebKit/Chromium builds (Chrome 3-4 era), so
       this is safe for the 2010 GMod browser too */
    background-size: cover;
    -webkit-background-size: cover;
}

html:not(p,body) {
    -webkit-animation: glitch 15s infinite steps(4, end);
    animation: glitch 15s infinite steps(4, end);
}

.content {
    width: 90%;
    max-width: 700px;
    padding: clamp(1rem, 5vw, 3rem) 0; /* shrinks on small screens instead of staying fixed */
}

.logo {
    width: min(300px, 60vw);
    max-width: 100%;
    height: auto;
}

.nzc-btn {
    text-decoration: none;
    font-family: 'Segoe Print', 'Comic Sans MS', cursive; /* swap for a chalk-style font if you load one */
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: transparent;
    -webkit-text-stroke: 2px #f5f5f0; /* chalk-white outline */
    text-stroke: 2px #f5f5f0;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    filter: url(#chalk-texture); /* optional, see below */
    font-size: clamp(1.5rem, 8vw, 3rem); /* was a flat 3rem — too big on narrow screens */
    padding: clamp(0.5rem, 3vw, 1rem) clamp(1rem, 5vw, 2rem);
}

.nzc-btn:hover {
    color: rgb(130,0,0); /* fills in on hover, like chalk being rubbed in */
    text-shadow: 0 0 8px rgba(245, 245, 240, 0.5);
}

.wallbuy-text {
    position: fixed;
    top: 0;
    left: 0;
    color: #ffffff;
    font-family: 'CustomChalk', serif;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-in-out;
    z-index: 10;
}

.wallbuy-text.is-visible {
    opacity: 0.9;
}
