/* ------------ Body ------------ */
:root {
    --bg-color: 30, 60, 120;   /* Base RGB color */
    --min-alpha: 0.2;          /* Minimum transparency */
    --max-alpha: 0.8;          /* Maximum transparency */
    --duration: 6s;            /* Duration of one full loop */
}

html{
    scroll-behavior: smooth;
    scrollbar-width: auto;          /* Options: auto, thin, none */
    scrollbar-color: rgba(255, 0, 0, 0.5) rgba(0, 0, 0, 0);  /* thumb color, track color */
    scrollbar-highlight-color: rgba(255, 0, 0, 1);
    background-color: #000000;
}

body{
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    scrollbar-gutter: stable;
    justify-content: center;
    color: rgb(0, 0, 0);
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacGeeSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;

/* ------------ Page Loading Animation ------------ */
    transition: filter 3.5s ease, opacity 3.5s ease;
    animation-name: fade;
    animation-duration: 5s;
}

    /* --- Transition overlay --- */
    #transition {
        position: fixed;
        inset: 0;
        background: black;
        z-index: 9999;
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        transition: opacity 1.2s ease;
    }

    #transition.hidden {
        opacity: 0;
        pointer-events: none;
    }

    /* --- Logo animation --- */
    .logo {
        width: 100px;
        height: 100px;
        font-size: 2em;
        letter-spacing: 2px;
        opacity: 0;
        animation: logoFade 3s ease forwards;
    }

    @keyframes logoFade {
        0% { opacity: 0; transform: translateY(10px); }
        50% { opacity: 1; transform: translateY(0); }
        100% { opacity: 0; transform: translateY(-10px); }
    }

    /* --- Spinner --- */
    .spinner {
        border: 4px solid rgba(255, 255, 255, 0.2);
        border-top: 5px solid red;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        margin-top: 20px;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* ------------ Header ------------ */

        .topbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.2); /* More transparent initially */
            backdrop-filter: blur(6px);
            box-shadow: 0 2px 10px rgb(0, 0, 0, 0.9);
            padding: 20px 50px; /* Smaller padding at top */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            transition: all 0.4s ease-in-out; /* Smooth transitions */
            transform: translateY(0);
        }
            .topbar:hover{
                box-shadow: 0 0 20px rgba(255, 0, 0, 1);
                backdrop-filter: blur(12px);
            }

        .topbar.scrolled {
            background: rgba(0, 0, 0, 0.6); /* More opaque when scrolled */
            padding: 15px 50px; /* Smaller padding */
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .topbar.hidden {
            transform: translateY(-100%);
        }

        .header-logo {
            color: white;
            font-size: 36px; /* Larger initial size */
            font-weight: bold;
            text-decoration: none;
            transition: font-size 0.4s ease-in-out;
        }

        .topbar.scrolled .logo {
            font-size: 24px; /* Shrinks when scrolled */
        }

        /* If using an image logo instead of text */
        .header-logo img {
            height: 75px; /* Initial larger size */
            transition: height 0.5s ease-in-out;
        }

        .topbar.scrolled .logo img {
            height: 50px; /* Shrinks */
        }

        nav ul {
            list-style: none;
            display: flex;
            margin: 0;
            padding: 0;
        }

        nav li {
            margin-left: 30px;
        }

        nav a {
            color: white;
            text-decoration: none;
            padding: 0 30px;
            font-size: 18px;
            font-weight: lighter;
            transition: color 0.3s, font-weight 0.3s, opacity 0.3s;
        }

        nav a:hover {
            color: rgb(255, 0, 0);
            font-weight: bolder;
            opacity: 0.8;
        }

        .content {
            padding: 150px 50px 50px;
            color: white;
            font-size: 20px;
        }

        @media (max-width: 768px) {
            .topbar {
                padding: 20px 15px;
            }
            .topbar.scrolled {
                padding: 10px 15px;
            }
            nav ul {
                margin-top: 10px;
            }
            nav li {
                margin: 0 15px;
            }
            nav a {
                font-size: 16px;
                padding: 0;
            }
        }

    /* ------------ Main Content ------------ */

    div.page-title{
        height: 550px;
    }
        div.background-title{
            color: white;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 5%,rgba(100, 100, 100, 0.9) 99%);
            border-bottom-color: white;
            border-bottom-style: solid;
            border-bottom-width: 2px;
            font-size: 20px;
            font-weight: lighter;
            padding: 50px;
            z-index: 100;
        }
            p.location-title{
                animation: wait 10s, fadeIn 10s ease-in forwards;
            }

            @media (max-width: 768px) {
                div.page-title{
                    height: 550px;
                }
                div.background-title{
                    font-size: 18px;
                }
                .marquee-content{
                    font-size: 18px;
                }
            }
        .marquee {
            width: 100%;
            overflow: hidden;
            color: white;
            letter-spacing: 2px;
            background-color: rgba(0, 0, 0, 0.9);
            box-shadow: 0 2px 10px rgb(0, 0, 0, 0.9);
            backdrop-filter: blur(2px);
            animation: fadeIn 1.5s ease-in forwards;
            transition: box-shadow 0.5s ease;
            padding: 20px 0;
            white-space: nowrap;
        }
            .marquee:hover{
                box-shadow: 0 0 20px rgba(255, 0, 0, 1);
            }

        .marquee-content {
            display: inline-block;
            animation: scroll 20s linear infinite;
            font-size: 24px;
            font-family: system-ui, -apple-system, BlinkMacGeeSystemFont, "Segoe UI", Roboto, sans-serif;
            font-weight: lighter;
            padding-left: 100%; /* Seamless loop start */
        }
            .marquee-section{
                display: inline;
                padding-left: 100px;
            }

            img.slider-logo-pic{
                height: 100px;
                width: fit-content;
                color: white;
            }
        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-100%); }
        }


    div.main{
        margin: 0;
        color:#ffffff;
        backdrop-filter: blur(2px);
        animation: fadeIn 1.5s ease-in forwards;
        text-align: center;
    }
        #main-blog{
            backdrop-filter: blur(10px);
            padding: 50px;
        }
        #main-element-spacing{
            padding-top: 100px;
        }
            div.mainline-element{
                background-color: rgb(0, 0, 0, 0.9);
                box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
                padding: 40px 50px;
                margin: 0 auto;
                margin-bottom: 100px;
                width: 70%;
                border-radius: 10px;
                align-items: center;
                transition: box-shadow 0.3s ease, opacity 0.3s ease;
            }

        img.profile-pic{
            height: 200px; 
            width: 200px;
            display: inline-block;
            opacity: 0.75;
            border-radius: 100px;
            transition: 0.6s ease;
            animation-name: fade;
            animation-duration: 5s;
        }
            img.profile-pic:hover{
                box-shadow: 0 0 30px #000000, 0 0 55px #505050, 0 0 80px #000000;
                opacity: 1;
            }
            @keyframes fade {
                from {opacity: 0} 
                to {opacity: 1} 
            }
            @media (max-width: 768px) {
                img.profile-pic {
                    height: 125px; 
                    width: 125px;
                }
            }

        div.inline-channel-element{
            display: inline-block;
            padding: 10px;
            margin: auto;
            justify-content: center;
            align-items: center;
        }

        #statement-title{
            font-size: 20px; 
            font-weight: bolder;    
        }

        #title-format{
            padding: 100px;
            float: center;
            align-items: center;
            justify-content: center;
        }

        div.main p{
            padding-top: 5px;
            padding-bottom: 10px;
            max-width: 100%;
        }
        div.main.description{
            padding-bottom: 25px;
        }

    
    /* You can adjust duration, delay, and timing */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    /* Main Elements */

    h1{
        text-shadow:0 0 5px #fff,0 0 10px #fff,0 0 20px #00f,0 0 40px #00f,0 0 80px #00f,0 0 90px #00f,0 0 100px #00f,0 0 150px #00f;
        word-spacing: 1px;
        transition: text-shadow 0.5s ease;
        font-size: 36px;
        font-weight: lighter;
        padding-left: 50px;
        padding-right: 50px;
    }
        h1:hover{
            text-shadow:0 0 5px #00f,0 0 10px #00f,0 0 20px #00f,0 0 40px #00f,0 0 80px #00f,0 0 90px #00f,0 0 100px #00f,0 0 150px #00f;
        }   

    h2{
        color: white;
        font-size: 18px;
        font-weight: lighter;
        text-shadow:0 0 5px #fff,0 0 10px #fff,0 0 20px #fe0000,0 0 40px #fe0000,0 0 80px #fe0000,0 0 90px #fe0000,0 0 100px #fe0000,0 0 150px #fe0000;
        transition: color 1.25s ease, text-shadow 0.5s ease;
        padding-top: 10px;
        padding-bottom: 10px;
        max-width: 100%;
        padding-left: 50px;
        padding-right: 50px;
    }
        h2:hover{
            color: #FD1D1D;
            text-shadow:0 0 5px #fe0000,0 0 10px #fe0000,0 0 20px #fe0000,0 0 40px #fe0000,0 0 80px #fe0000,0 0 90px #fe0000,0 0 100px #fe0000,0 0 150px #fe0000;
        }   

    h3{
        font-size: 20px;
        font-weight: lighter;
    }
        h3.fancy-title{
            font-size: 18px; 
            font-weight: lighter;
            padding: 30px 20px;
        }

    h4{
        font-size: 16px;
    }

    p.statement{
        color: #ffffff;
        font-size: 14px;
        padding: 10px 100px;
        transition: text-shadow 0.5s ease;
        letter-spacing: 1px; 
        line-height: 2;        
    }
        p.statement:hover{
            text-shadow:0 0 5px #405DE6,0 0 10px #9e9e9e,0 0 20px #505050;
        }

    @media (max-width: 800px) {    
        h1{
            font-size: 24px;
            padding: 10px;
        }

        h2{
            font-size: 14px;
            padding-left: 10px;
            padding-right: 10px;
        }

        h3{
            font-size: 14px;
            padding-left: 10px;
            padding-right: 10px;
        }
            h3.fancy-title{
                padding: 5px 25px;
            }

        h4{
            font-size: 12px;
            padding-left: 10px;
            padding-right: 10px;
        }

        p.statement{
            font-size: 10px;
            padding: 30px;
            padding-left: 10px;
            padding-right: 10px;
        }

        #title-format{
            padding: 0px;
        }
    }

    /* ------------ Misc. Content ------------ */

    .social-buttons {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
        font-family: Arial, sans-serif;
    }

    .social-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 12px;
        color: white;
        font-size: 24px;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    .social-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

/* Official 2025 Brand Colors */
    .facebook   { background: #1877F2; }
    .instagram  { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
    .x-twitter  { background: #000000; }
    .youtube    { background: #FF0000; }
    .tiktok     { background: #000000; }
    .tiktok i:nth-child(2) { color: #FF0050; }
    .tiktok i:nth-child(3) { color: #00F2EA; }
    .threads    { background: #000000; }