/* Reset and base */
* { box-sizing: border-box; }
html, body { height: 100%; }
:root {
    /* 0 = no fade/shift, 1 = fully faded/shifted */
    --fade: 0;
    /* How far the image slides up at full fade (tweak) */
    --bg-shift: -20%;
    /* Color the hero fades into; match next section background */
    --fade-color: #111;
    --mainTextColour: white;
}
body {
    margin: 0;
    font-family: 'Fjalla One', -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #fff;
    line-height: 1.6;
    background: #ffffff; /*was 000 black*/

}
.box-grid-hello {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 80px;
    margin: 0 auto;
}
.box-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
}

.box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background 0.2s ease;
}
.box-hello {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.2rem;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background 0.2s ease;
}


@media (max-width: 660px) {
    /* Fixed background image layer */
    .bg-wrapper {
        padding-top: 30px;
        position: center;
        inset: 0;
        overflow: hidden;
        z-index: -2;
        max-width: 72ch;
    }
    .content {
        padding-top: 30vh;
        padding-left: clamp(1rem, 3vw, 2rem);
        padding-right: clamp(1rem, 3vw, 2rem);
        padding-bottom: 8rem;
        max-width: 72ch;
        margin: 0 auto;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        position: relative;
        z-index: 0;
    }
}
@media (min-width: 659px) {
    /* Fixed background image layer */
    .bg-wrapper {
        padding-top: 30px;
        position:center;
        inset:0;
        overflow: hidden;
        z-index: -2;
        max-width: 122ch;
    }
    .content {
        padding-top: 30vh;
        padding-left: clamp(1rem, 3vw, 2rem);
        padding-right: clamp(1rem, 3vw, 2rem);
        padding-bottom: 8rem;
        max-width: 92ch;
        margin: 0 auto;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        position: relative;
        z-index: 0;
    }


}

    .bg-wrapper2 {
        padding-top: 40px;
        position: fixed;
        inset: 0;
        overflow: hidden;
        z-index: -1;
        max-width: 72ch;
    }

    :root {
        --fade: 0;
        --bg-shift: -20%; /* how far the image slides up */
        --fade-color: #111; /* background color of next section */
    }



    /* Fixed fading overlay to dark/solid color */
    .fade-layer {
        position: fixed;
        inset: 0;
        z-index: -1;
        background: var(--fade-color);
        /* Fade in as we progress through the spacer */
        opacity: var(--fade);
        pointer-events: none;
    }

    /* Content wrapper: start text halfway down the first viewport */






    .content10 {
        padding-top: 10vh;
        padding-left: clamp(1rem, 3vw, 2rem);
        padding-right: clamp(1rem, 3vw, 2rem);
        padding-bottom: 8rem;
        max-width: 100ch;
        margin: 0 auto;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        position: relative;
        /*z-index: -5;   layer issue to make the video play*/
    }

    .content05 {
        padding-top: 5vh;
        padding-left: clamp(1rem, 3vw, 2rem);
        padding-right: clamp(1rem, 3vw, 2rem);
        padding-bottom: 8rem;
        max-width: 72ch;
        margin: 0 auto;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        position: relative;
        z-index: -5;
    }

    .contentLayerBehind {
        padding-top: 60vh;
        padding-left: clamp(1rem, 3vw, 2rem);
        padding-right: clamp(1rem, 3vw, 2rem);
        padding-bottom: 8rem;
        max-width: 72ch;
        margin: 0 auto;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        position: relative;
        z-index: -5;
    }

    /* Content wrapper: start text halfway down the first viewport */
    .content50 {
        padding-top: 50vh;
        padding-left: clamp(1rem, 3vw, 2rem);
        padding-right: clamp(1rem, 3vw, 2rem);
        padding-bottom: 8rem;
        max-width: 72ch;
        margin: 0 auto;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }

    /* Subtle backdrop behind text for readability black was 0.5 now 0.85 */
    .intro, .body {
        backdrop-filter: blur(2px);
        background: rgba(0, 0, 0, 0.85);
        border-radius: 12px;
        padding: 1.25rem;
    }

    .introSalsa {
        backdrop-filter: blur(2px);
        background: rgb(39, 23, 12, 0.85);
        border-radius: 12px;
        padding: 1.25rem;
    }

    .introDip {
        backdrop-filter: blur(2px);
        background: rgb(26, 5, 39, 0.85);
        border-radius: 12px;
        padding: 1.25rem;
    }

    .introDipSquare {
        backdrop-filter: blur(2px);
        background: rgb(26, 5, 39, 0.85);
        border-radius: 2px;
        padding: 1.25rem;
    }

    .introSquare {
        backdrop-filter: blur(2px);
        background: rgb(0, 0, 0, 0.85);
        border-radius: 2px;
        padding: 1.25rem;
    }

    .introBlacktight {
        backdrop-filter: blur(2px);
        background: rgb(5, 5, 5, 0.95);
        border-radius: 2px;
        padding: 0.25rem;
    }

    .introMovesPage {
        backdrop-filter: blur(2px);
        background: rgb(101, 13, 13, 0.95);
        border-radius: 2px;
        padding: 1.25rem;
    }

    h1, h2 {
        line-height: 1.5;
        margin: 0 0 0.5rem 0;
    }

    h1 {
        font-size: 2.5em; /* 2 times the size of the parent element's font size */
    }

    h3 {
        margin-top: 3px;
        font-size: 1.25em;
    }

    p {
        margin: 0.25rem 0; /*was 0.75*/
        font-size: 0.9em;
    }

    /* Spacer that defines the fade zone */
    .fade-out-spacer {
        height: 30vh; /* longer = more gradual fade/shift */
    }







    .textLeft {
        text-align: left;
    }

    .textRight {
        text-align: right;
    }

    .centerMedium {
        text-align: center;
        padding: 1.5rem;
        font-size: 2.5em;
    }

    .center15 {
        text-align: center;
        padding: 1.5rem;
        font-size: 1.5em;
    }

    .center10 {
        text-align: justify;
        /*text-justify: inter-word;*/
        padding: 1.5rem;
        font-size: 1em;
        color: var(--mainTextColour);
    }

    .centerLarge5em {
        text-align: center;
        /*text-justify: inter-word;*/
        padding: 0.5rem;
        font-size: 5em;
        color: var(--mainTextColour);
    }

    .centerLarge2em {
        text-align: center;
        /*text-justify: inter-word;*/
        padding: 0.5rem;
        font-size: 2em;
        color: var(--mainTextColour);
    }

    .justified10Blk {
        text-align: justify;
        /*text-justify: inter-word;*/
        padding: 1.5rem;
        font-size: 1em;
        color: rgb(6, 18, 65, 0.85);
    }


    .gap2 {
        width: 100px;
        height: 100px;
        background-color: rgba(0,0,0,0);
        margin: 5px; /* Space outside the element */
        padding: 5px; /* Space inside the element */
    }

    .gap1 {
        width: 100px;
        height: 50px;
        background-color: rgba(0,0,0,0);
        margin: 30px; /* Space outside the element */
        padding: 10px; /* Space inside the element */
    }

    .gap05 {
        width: 100px;
        height: 20px;
        background-color: rgba(0,0,0,0);
        margin: 10px; /* Space outside the element */
        padding: 10px; /* Space inside the element */
    }


    img {
        width: 100%;
        padding: 0px;
        object-fit: cover;
    }

    .imgDiff {
        height: 25px;
        width: auto;
        padding: 0px;
        object-fit: cover;
    }
@media (max-width: 660px) {
    .imgBand100pct {
        width: 100%; /* Makes the image fill the container */
        height: auto; /* Makes the image fill the container */
        padding-top: 10px; /* was 40 Space inside the element */
        /*object-fit: fill;  was:scale-down;  Options: contain, fill, cover, scale-down, none */
        background-image: url('images/background-index.jpg');
        z-index: -2;
        position: fixed;
    }
}
@media (min-width: 659px) {
    .imgBand100pct {
        height: 200px; /*Makes the image fill the container */
        width: auto; /*Makes the image fill the container */
        background-image: url('images/background-index-x2.jpg');
        padding-top: 10px; /* was 40 Space inside the element */

        object-fit: cover; /* was:scale-down;  Options: contain, fill, cover, scale-down, none */
        z-index: -2;
        position: fixed;
    }
}


    .imgLogo {
        transform: scale(0.4); /* Shrinks the image to 50% of its original size */
        transform-origin: center;
    }

    .textBlue {
        color: #1DC0FB;
    }



    .imgMain40 {
        padding: 0px;
        /*    object-fit: fill;*/
        width: 100vw; /* Full width of the viewport */
        height: 40vh; /* Full height of the viewport */
        object-fit: cover; /* Ensures the image covers the screen */
        object-position: center; /* Centers the image */
        /*opacity: 0;*/ /* Fully transparent */
        /*    position:fixed;
    z-index: 5;*/
    }

    .mjIcon {
        padding: 5px;
        /*    object-fit: fill;*/
        width: 117px; /* Adjust image size relative to the button */
        height: auto; /* Maintain aspect ratio */
        object-fit: cover; /* Ensures the image covers the screen */
        object-position: left; /* Centers the image */
        /*opacity: 0;*/ /* Fully transparent */
        /*    position:fixed;
    z-index: 5;*/
    }


    .panel {
        height: 100vh;
        background-size: cover;
        background-position: center;
    }


    /* Responsive tweak */
    @media (min-width: 900px) {
        .content {
            max-width: 68ch;
        }
    }



