/* 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: rgb(18, 10, 69);
    --darkBlueTextColour: rgb(18, 10, 69);
}
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*/

}

#bgpic {
    position: absolute;
/*    position: center;*/
    transform-origin: bottom right; /*top left;*/
    transition: transform 1.3s ease; /*speed was 0.3s*/
}


/* Fixed background image layer */
.bg-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}
:root {
    --fade: 0;
    --bg-shift: -20%; /* how far the image slides up */
    --fade-color: rgb(25, 26, 29, 0.50);

    /* 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 */
.content {
    padding-top: 30vh; /*usually 60*/
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    padding-bottom: 8rem;
    max-width: 30ch;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.contentSmall {
    padding-top: 55vh;
    padding-left: clamp(3rem, 5vw, 4rem); /*min preferred max*/
    padding-right: clamp(3rem, 5vw, 4rem);
    padding-bottom: 2rem;
    max-width: 50ch;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 0;
}
.contentNarrow {
    padding-top: 35vh;
    padding-left: clamp(2rem, 4vw, 3rem); /*min preferred max*/
    padding-right: clamp(2rem, 4vw, 3rem);
    padding-bottom: 2rem;
    max-width: 62ch;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 0;
}
.contentNarrowTopPad {
    padding-top: 55vh;
    padding-left: clamp(2rem, 4vw, 3rem); /*min preferred max*/
    padding-right: clamp(2rem, 4vw, 3rem);
    padding-bottom: 2rem;
    max-width: 62ch;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 0;
}
.contentNarrowTopPad52 {
    padding-top: 52vh;
    padding-left: clamp(2rem, 4vw, 3rem); /*min preferred max*/
    padding-right: clamp(2rem, 4vw, 3rem);
    padding-bottom: 2rem;
    max-width: 62ch;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 0;
}
.contentNarrowTopPad40 {
    padding-top: 40vh;
    padding-left: clamp(2rem, 4vw, 3rem); /*min preferred max*/
    padding-right: clamp(2rem, 4vw, 3rem);
    padding-bottom: 2rem;
    max-width: 62ch;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 0;
}
.contentNarrowTopPad46 {
    padding-top: 46vh;
    padding-left: clamp(2rem, 4vw, 3rem); /*min preferred max*/
    padding-right: clamp(2rem, 4vw, 3rem);
    padding-bottom: 2rem;
    max-width: 62ch;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 0;
}
.contentNarrowTopPad58 {
    padding-top: 58vh;
    padding-left: clamp(2rem, 4vw, 3rem); /*min preferred max*/
    padding-right: clamp(2rem, 4vw, 3rem);
    padding-bottom: 2rem;
    max-width: 62ch;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 0;
}
.contentFinish {
    padding-top: 55vh;
    padding-left: clamp(3rem, 5vw, 4rem); /*min preferred max*/
    padding-right: clamp(3rem, 5vw, 4rem);
    padding-bottom: 2rem;
    max-width: 65ch;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 0;
}
.contentLowerSection {
    padding-top: 2vh;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    padding-bottom: 4rem;
    max-width: 72ch; /* Controls width of text boxes */
    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;
}

.introTightBlue {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(62, 54, 169);
    /*    var(--brownTextColour);*/
    border-radius: 12px;
    padding: 0.75rem; /*padding inside around the text  was 1.25rem*/
    margin-top: -20px;
}
.introBlue {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(60, 56, 117);
    /*    var(--brownTextColour);*/
    border-radius: 12px;
    padding: 1.25rem; /*padding inside around the text  was 1.25rem*/
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}
.introGreen {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(90, 135, 66);
    /*    var(--brownTextColour);*/
    border-radius: 12px;
    padding: 1.25rem; /*padding inside around the text  was 1.25rem*/
    box-shadow: 10px 10px 20px rgb(34, 101, 39, 0.50);
}
.introFairWhite {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 0.5rem; /*space around text in box*/
}
.introFairWhiteMinM {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 0.2rem; /*space around text in box*/
    margin: 2px 2px 2px 2px;
}
.introUltraWhite {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 0.5rem; /*space around text in box*/
}
.introInvisible {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0);
    border-radius: 12px;
    padding: 0.5rem; /*space around text in box*/
}
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 */
}


p { margin: 0.5rem 0; }

/* Spacer that defines the fade zone */
.fade-out-spacer {
  height: 15vh; /* longer = more gradual fade/shift */
}

/* Next section with text boxes */
.text-boxes {
  background: var(--fade-color);
  padding: 4rem 2rem;
  color: #fff;
  margin-left: calc(-1 * clamp(1rem, 3vw, 2rem));
  margin-right: calc(-1 * clamp(1rem, 3vw, 2rem));
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.text-boxes h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.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:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.textLeft{
   text-align: left;
}
.textRight{
   text-align: right;
}
.centerMedium{
  text-align: center;
  padding: 1.5rem;
  font-size: 2.5em;
}
.centerMediumMinM {
    text-align: center;
    padding: 0.3rem;
    font-size: 2.5em;
    margin: 2px 2px 2px 2px;
    color: var(--mainTextColour);
}
.center15{
  text-align: center;
  padding: 1.5rem;
  font-size: 1.5em;
}
.center12White {
    text-align: center;
    /*text-justify: inter-word;*/
    padding: 0.8rem;
    font-size: 1.5em;
    color: white;
}
.center12 {
    text-align: center;
    /*text-justify: inter-word;*/
    padding: 0.2rem;
    margin: 0px;
    font-size: 1em;
    color: var(--mainTextColour);
}
.center10 {
    text-align: center;
    /*text-justify: inter-word;*/
    padding: 1.5rem;
    font-size: 1em;
    color: var(--mainTextColour);
}
.justified10 {
    text-align: justify;
    /*text-justify: inter-word;*/
    padding: 0.8rem;
    font-size: 1em;
    color: var(--mainTextColour);
}
.justified10hidden {
    text-align: justify;
    /*text-justify: inter-word;*/
    padding: 0.8rem;
    font-size: 1em;
    color: rgba(255, 255, 255, 1);
}
.justified12Blk {
    text-align: justify;
    /*text-justify: inter-word;*/
    padding: 0.3rem;
    font-size: 1em;
    color: black;
}

  .gap4 {
    width: 100px;
    height: 200px;
    background-color: rgba(0,0,0,0);
    margin: 120px; /* Space outside the element */
    padding: 10px; /* Space inside the element */
  }

  .gap3 {
    width: 100px;
    height: 150px;
    background-color: rgba(0,0,0,0);
    margin: 90px; /* Space outside the element */
    padding: 10px; /* Space inside the element */
  }

  .gap2 {
    width: 100px;
    height: 100px;
    background-color: rgba(0,0,0,0);
    margin: 60px; /* Space outside the element */
    padding: 10px; /* Space inside the element */
  }
.gap1 {
    width: 100px;
    height: 100px;
    background-color: rgba(0,0,0,0);
    margin: 30px; /* Space outside the element */
    padding: 10px; /* Space inside the element */
}
.gap01 {
    width: 100px;
    height: 10px;
    background-color: rgba(0,0,0,0);
    margin: 10px; /* Space outside the element */
    padding: 10px; /* Space inside the element */
}
.gap05 {
    width: 100px;
    height: 20px;
    background-color: rgba(0,0,0,0);
    margin: 15px; /* Space outside the element */
    padding: 10px; /* Space inside the element */
}

.leftAndRight {
    display: flex;
    justify-content: space-between;
}
.stealBoxLeft {
    color: var(--mainTextColour);
    background-color: rgb(78, 130, 12, 0.9);
    padding: 4px 6px 4px 6px;
    margin-right:10px;
    margin-left: 0px;
}
.shareBoxLeft {
    color: var(--mainTextColour);
    background-color: rgb(185, 19, 44, 0.80);
    padding: 4px 6px 4px 6px;
    margin-right: 10px;
    margin-left: 0px;
}

.stealBoxRight {
    color: var(--mainTextColour);
    background-color: rgb(78, 130, 12, 0.9);
    padding: 4px 6px 4px 6px;
    margin-left: 10px;
    margin-right: 0px;
}
.shareBoxRight {
    color: var(--mainTextColour);
    background-color: rgb(185, 19, 44, 0.80);
    padding: 4px 6px 4px 6px;
    margin-left: 10px;
    margin-right: 0px;
}

.questionButtonLeft {
    margin-right: 40px;
    font-size: 1.5em;
    padding: 4px 6px 4px 6px;
}
.questionButtonRight {
    font-size: 1.5em;
    padding: 4px 6px 4px 6px;
}
/*img {
  width: 100%;*/ /* Makes the image fill the container */
/*padding: 40px;*/ /* Space inside the element */
/*object-fit: 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;}



@media (max-width: 750px) {
    .imgMain {
        padding: 0px;
        /*    object-fit: fill;*/
        width: 100vw; /* Full width of the viewport */
        height: 100vh; /* 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: sticky;*/
    }
}

/*@media (min-width: 750px) and (max-width: 950px) {
    .imgMain {
        padding-top: 0px;
        padding-left: 100px;
        padding-right: 100px;
        z-index: 2;
    }

}

@media (min-width: 951px) and (max-width: 1150px) {
    .imgMain {
        padding-top: 0px;
        padding-left: 150px;
        padding-right: 150px;
        z-index: 2;
    }
}

@media (min-width: 1150px) {
    .imgMain {
        padding-top: 0px;
        padding-left: 200px;
        padding-right: 200px;
        z-index: 2;
    }
}*/

.yesButton {
    margin-left: 10px;
    margin-right: 20px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-top: 15px;
    text-align: left;
    font-size: 1.5em;
}
.noButton {
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-top: 15px;
    text-align: right;
    font-size: 1.5em;
}
.panel {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.buttonContainer {
    padding-top: 40px;
    width: 100%;
    height: 8vh;
    /*    padding: 3px 3px 3px 3px;
    margin: 0px;
    display: contents;*/
    /*    display:inline-block;*/
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
}

.pButtonSingle {
    padding: 0.8rem;
    font-size: 1em;
    color: var(--mainTextColour);
}

.imgPlayButton {
    width: 80px;
    height: auto;
    margin: 0px;
    padding: 3px;
    /*    position:center;*/
}


.img200Wide {
    width: 200px;
    height: auto;
    padding: 2px 2px 2px 2px;
    margin: 0px;
}

.bookButton {
    background-color: rgba(0,0,0,0);
    border-radius: 30px;
    /*background: url('images/apple-logo150.png') no-repeat center center;*/
    /*background-size: cover;*/
    /*width: 50%;*/
}
.bookButton img {
    width: 150px; /* Adjust image size relative to the button */
    height: auto; /* Maintain aspect ratio */
}
/* Responsive tweak */
@media (min-width: 900px) {
    .content { max-width: 68ch; }
}



