/* 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*/

}

main {
    z-index: 4;
}


/* Fixed background image layer */
.bg-wrapper {
    padding-top: 40px;
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 4;
    max-width: 72ch;
    /*background-image: url('images/2scales.jpg');
    background-repeat: repeat-x;*/
}


:root {
  --fade: 0;
  --bg-shift: -20%;       /* how far the image slides up */
    --fade-color: #111; /* background color of next section */
}
.movesSelectBar {
    padding-top: 2px; /*content INSIDE !! */
    padding-left:5px;
    width: 100%; /* Full width */
    height: 45px; /* Adjust height as needed */
    background-color: white; /* White background */
    display: flex; /* Center content if needed */
   justify-content:left; /**/
    align-items: center;
    border: 1px solid #ccc; /* Optional border for visibility */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow */
}
.radioText {
    padding-right: 10px;
    padding-left: 3px;
    color: black;
}
.radioText {
    padding-right: 7px;
    padding-left: 3px;
    color: black;
}




.radioGrid {/*not used*/
    padding-top:5px;
    display: grid;
    grid-template-columns: repeat(3, minmax(60px, 1fr));
    align-items: center;
}


/* 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 */
.content {
  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;
}
.content10 {
    padding-top: 10vh;
    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;   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;
}

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);
}
.darkBlueText {
    /*justify-self:start;
    text-align: justify;
    text-justify: inter-word;
    padding: 1.5rem;
    font-size: 1em;*/
    color: darkblue;
}




  .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 */
}
.gap02 {
    width: 100px;
    height: 4px;
    background-color: rgba(0,0,0,0);
    margin: 4px; /* Space outside the element */
    padding: 4px; /* Space inside the element */
}


img {
    width: 100%; /* Makes the image fill the container */
    padding: 0px; /* was 40 Space inside the element */
    object-fit: cover; /* was:scale-down;  Options: contain, fill, cover, scale-down, none */
}
.imgDiff {
    height: 25px;
    width: auto; /* Makes the image fill the container */
    padding: 0px; /* was 40 Space inside the element */
    object-fit: cover; /* was:scale-down;  Options: contain, fill, cover, scale-down, none */

}

.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; }
}



