/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */

/* ----------- GLOBAL RESET ----------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    image-rendering: auto;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
}

a img {
    text-decoration: none !important;
}

body {
    font-family: "Tiny5", monospace, sans-serif;
    background:
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url('../image/bg-p.png');
    background-repeat: repeat;
    background-size: 500px auto;
    background-position: center;
    background-attachment: fixed;
    color: #e4e4e4;
    line-height: 1.5;
    padding-bottom: 60px;
    margin-left: 60px;
    margin-right: 60px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

/* ----------- ANIMATIONS ----------- */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ----------- MARQUEE ----------- */
.marquee {
    overflow: hidden;
    display: flex;
    width: 100%;
    margin-bottom: 10px;
}

.marquee:last-child {
    margin-bottom: 0;
}

.marquee__content {
    flex-shrink: 0;
    display: flex;
    min-width: 100%;
    animation: scroll 8s linear infinite;
    align-items: center;
}

.marquee:hover .marquee__content {
    animation-play-state: paused;
}

.marquee__content img {
    padding: 0 10px;
    flex-shrink: 0;
    width: auto;
    image-rendering: pixelated;
}

.marquee--thin .marquee__content img {
    height: 19px;
}

.marquee--small .marquee__content img {
    height: 20px;
}

.marquee--mid .marquee__content img {
    height: 31px;
}

/* ----------- CONTACT BANNERS ----------- */
.contact-banners {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.contact-banners img {
    image-rendering: pixelated;
    height: 31px;
}

/* ----------- RESPONSIVE BACKGROUND SIZING ----------- */
/* Scale background larger on bigger screens to prevent visible seams */

/* Tablets and small laptops */
@media (min-width: 768px) {
    body {
        background-size: 700px auto;
    }
}

/* Laptops and desktops */
@media (min-width: 1024px) {
    body {
        background-size: 900px auto;
    }
}

/* Large desktops */
@media (min-width: 1440px) {
    body {
        background-size: 1100px auto;
    }
}

/* Ultrawide screens */
@media (min-width: 1920px) {
    body {
        background-size: 1400px auto;
    }
}

/* ----------- VIEW COUNTER ----------- */
.view-counter {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Tiny5", monospace;
    font-size: 1.2rem;
    color: #e4e4e4;
    margin-top: 10px;
}

.view-counter__label {
    font-weight: bold;
}

.view-counter__count {
    color: #ffd700;
    /* Gold color for the count */
    text-shadow: 1px 1px 0 #000;
}