body {
    font-family: MS Gothic, sans-serif;
    background-color: #000000;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

:root {
    --border-gap: clamp(20px, 10vw, 200px);
}

/* LEFT line */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: var(--border-gap);
    width: 1px;
    height: 100vh;
    background: #ffffff;
    opacity: 0.6;
}

/* RIGHT line */
body::after {
    content: "";
    position: fixed;
    top: 0;
    right: var(--border-gap);
    width: 1px;
    height: 100vh;
    background: #ffffff;
    opacity: 0.6;
}

.container {
    max-width: calc(100% - (var(--border-gap) * 3));
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

a {
    color: #000000;
    text-decoration: none;
}

                                            /* Navigation Bar */

.banner {
    margin: 20px auto;
    margin-bottom: 0px;
    display:block;
}

.navbar h1 {
    margin: 0px;
    font-size: 16px;
    line-height: 1;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;

    width: 100%;
    max-width: 900px;
    margin: 0 auto;

    padding: 10px;

    background: linear-gradient(0deg, #212429, #637385, #ffffff);
}

                                        /* Hover Effect on Main Navbar */
.navbar a {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 14px;

    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 2px;

    font-size: 14px;
    white-space: nowrap;
}

.navbar a:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

.navbar a.active {
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    border-color: #000000;
}

                                        /* Home Contents */

.home-content {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-content p {
    margin: 0;
}

.ytplayer-latest {
    margin: 30px;
    margin-bottom: 70px;
}

.ytplayer-highlight {
    margin: 30px;
    margin-bottom: 70px;
}

                                        /* Gallery Contents */
                                        /* Navbar Button Styling */
.navbar-gallery button {
    font-family: MS Gothic, sans-serif;
    font-weight: bold;
    background: transparent;
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 16px;

    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;

    cursor: pointer;

    border-radius: 0px;

    transition: all 0.25s ease;
}
.navbar-gallery button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: #ffffff;
}
.navbar-gallery button.active {
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    border-color: #ffffff;

    transform: translateY(-2px);
}

.navbar-gallery {
    display: flex;
    justify-content: center;
    gap: 30px;

    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 30px;

    padding: 10px 0;

    border: 1px solid #ffffff;
}

.gallery-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9em;
    color: #ffffff;
}

.gallery-images, .gallery-images-2 {
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;

    width: 100%;
    max-width: 800px;
    margin: 0px auto 0 auto;
}

.gallery-images img, .gallery-images-2 img   {
    margin: 0px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 300px;
}

.gallery-images, .gallery-images-2 {
    display:none;
}

.gallery-active {
    animation: fadeIn 0.5s ease-in;
    display:grid;
}

                                        /* Commission Contents */

.cm-content {
    display: block;
    margin-top: 50px;
    text-align: center;
}

.cm-content p {
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

#discord {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    font-size: 1em;
}

#cmprice {
    text-align: center;
    margin-top: 40px;
}

                                        /* About Contents */

.about-content {
    display: block;
    margin-top: 50px;
    text-align: center;
}

.about-content p {
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.5;
}
.socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px;

}
.socials img {
    width: 100%;
    max-width: 150px;
    height: 100%;
    max-height: 80px;
    background-color: #ffffff;
}

                                        /* Fade in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.home-content, .cm-content, .gallery-content, .about-content, .socials {
    animation: fadeIn 0.5s ease-in;
}

                                        /* Hover Animation */
.gallery-images img, .gallery-images-2 img {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-images img:hover, .gallery-images-2 img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.navbar,
.banner,
.navbar-gallery,
.home-content,
.cm-content,
.about-content {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}



@media (max-width: 768px) {

    /* ===== GLOBAL FIXES ===== */
    body {
        overflow-x: hidden;
    }

    /* ===== BANNER ===== */
    .banner {
        width: 90%;
    }

    /* ===== NAVBAR ===== */
    .navbar {
        width: 90%;
        gap: 20px;
        height: auto;
        flex-wrap: wrap;
        padding: 15px 10px;
    }

    .navbar h1 {
        font-size: 18px;
    }

    /* ===== GALLERY BUTTONS ===== */
    .navbar-gallery {
        width: 90%;
        gap: 20px;
        flex-wrap: wrap;
    }

    /* ===== GALLERY GRID ===== */
    .gallery-images,
    .gallery-images-2 {
        grid-template-columns: 1fr;
        max-width: 90%;
    }

    .gallery-images img,
    .gallery-images-2 img {
        max-width: 90%;
        margin-bottom: 30px;
    }

    /* ===== COMMISSION + ABOUT ===== */
    .cm-content,
    .about-content {
        padding: 0px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    body::before,
    body::after {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --border-gap: 0px;
    }
}

/* Global scaling */
img {
    max-width: 100%;
    height: auto;
}

#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.container {
    position: relative;
    z-index: 1;
}

.bottom-glow {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;

    background: radial-gradient(
        ellipse at bottom,
        rgba(255, 255, 255, 0.25),
        rgba(255, 255, 255, 0.05),
        transparent 70%
    );

    pointer-events: none;
    z-index: 0;
}