/* © 2026 Shibby Studios. All rights reserved. */

@font-face {
    font-family: 'ComicBald';
    src: url('../fonts/comic-bald.ttf') format('truetype');
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
    z-index: 0;
}

body {
    font-family: Arial, sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    background-image: url('../img/Wall.webp');
    background-repeat: repeat;
    background-size: auto;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    z-index: 1;
}

.logo-container img {
    max-width: 600px;
    width: 100%;
}

.site-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    padding: 5px 0;
    position: relative;
    z-index: 1;
}

.site-links a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'ComicBald', Arial, sans-serif;
    color: #080808;
    font-weight: bold;
    letter-spacing: 0.05em;
    font-size: 1.3rem;
}

.site-links a:hover {
    text-decoration: underline;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    font-family: 'ComicBald', Arial, sans-serif;
    color: #000000;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

footer p {
    margin: 4px 0;
}

.chalkboards {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 120px;
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

.chalkboard-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.chalkboard-logo {
    z-index: 3;
    object-fit: contain;
    height: 180px;
    width: 512px;
    margin-bottom: -100px;
}

.chalkboard {
    width: 450px;
    height: auto;
    display: block;
}

.chalkboard-item a {
    margin-top: -70px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'ComicBald', Arial, sans-serif;
    color: #000000;
    letter-spacing: 0.05em;
    font-size: 2em;
}

.chalkboard-item a:hover {
    text-decoration: underline;
}

.chalkboard-wrapper {
    position: relative;
    width: 420px;
    height: 260px;
}

.slideshow {
    position: absolute;
    top: 63%;
    left: 10%;
    width: 80%;
    height: 75%;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.chalkboard-desc {
    font-family: 'ComicBald', Arial, sans-serif;
    font-size: 1rem;
    color: #333;
    text-align: center;
    margin: -70px 0 0 0;
    max-width: 450px;
}

@media (max-width: 900px) {
    .chalkboards {
        gap: 40px;
    }

    .chalkboard-logo {
        width: 340px;
        height: 120px;
        margin-bottom: -70px;
    }

    .chalkboard {
        width: 300px;
    }

    .chalkboard-wrapper {
        width: 280px;
        height: 175px;
    }

    .chalkboard-item a {
        font-size: 1.5em;
        margin-top: -50px;
    }

    .chalkboard-desc {
        font-size: 0.9rem;
        margin: -50px 0 0 0;
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .chalkboards {
        flex-wrap: wrap;
        gap: 60px;
    }

    .chalkboard-logo {
        width: 280px;
        height: 100px;
        margin-bottom: -60px;
    }

    .chalkboard {
        width: 280px;
    }

    .chalkboard-wrapper {
        width: 260px;
        height: 163px;
    }

    .chalkboard-item a {
        font-size: 1.3em;
        margin-top: -45px;
    }

    .chalkboard-desc {
        font-size: 0.85rem;
        margin: -45px 0 0 0;
        max-width: 280px;
    }

    .site-links a {
        font-size: 1rem;
    }

    .logo-container img {
        max-width: 320px;
    }
}

.home-chalkboard-wrapper {
    position: relative;
    margin: 30px auto;
    width: 700px;
    max-width: 100%;
    z-index: 1;
}

.home-chalkboard {
    width: 100%;
    height: auto;
    display: block;
}

.home-chalkboard-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'ComicBald', Arial, sans-serif;
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
    width: 80%;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}


@media (max-width: 900px) {
    .home-chalkboard-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .home-chalkboard-text {
        font-size: 1rem;
    }
}