/* 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;
}
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*/

}




/* 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: #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 */
.content {
  padding-top: 20vh;
  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);
}
.contentLowerSection {
    padding-top: 8vh;
    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: 1rem;
}
.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.75rem 0; }

/* Spacer that defines the fade zone */
.fade-out-spacer {
  height: 20vh; /* 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;
}
.center15{
  text-align: center;
  padding: 1.5rem;
  font-size: 1.5em;
}
.center15MinM {
    text-align: center;
    padding: 1.5rem;
    font-size: 1.5em;
    margin: 4px;
}
.center12 {
    text-align: center;
    padding: 1.2rem;
    font-size: 1.2em;
}
.center20 {
    text-align: center;
    padding: 1rem;
    font-size: 2em;
}
.center30 {
    text-align: center;
    padding: 1rem;
    font-size: 3em;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

.justified10WhiteMinM {
    text-align: justify;
    padding: 1rem;
    font-size: 1em;
    margin: 4px;
}
.justified12WhiteMinM {
    text-align: justify;
    padding: 1rem;
    font-size: 1.2em;
    margin: 4px;
}


.gap4 {
    width: 100px;
    height: 200px;
    background-color: rgba(0,0,0,0);
    margin: 120px;
    padding: 10px;
}
  .gap3 {
    width: 100px;
    height: 150px;
    background-color: rgba(0,0,0,0);
    margin: 90px; 
    padding: 10px; 
  }

  .gap2 {
    width: 100px;
    height: 100px;
    background-color: rgba(0,0,0,0);
    margin: 60px; 
    padding: 10px; 
  }
.gap1 {
    width: 100px;
    height: 100px;
    background-color: rgba(0,0,0,0);
    margin: 30px; 
    padding: 10px; 
}
.gap01 {
    width: 100px;
    height: 10px;
    background-color: rgba(0,0,0,0);
    margin: 10px; 
    padding: 10px;
}


img {
  width: 100%;  
  padding-top:56px;
}
.imgShadow {
    border: 1px solid var(--mainTextColour);
    border-radius: 10px;
    display: inline-block;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    padding: 1px 1px 1px 1px;
}
.imgShadow150 {
    width: 150px;
    height: auto;
    border: 1px solid var(--mainTextColour);
    border-radius: 10px;
    display: inline-block;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    padding: 1px 1px 1px 1px;
}
.imgLogo {
  transform: scale(0.4); 
  transform-origin: center; 
}
.imgLineOfText {
    margin: 0px;
    margin-bottom: 18px;
    padding: 0px;
    border-radius: 8px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}


.textBlue{color:#1DC0FB;}

/*@media (max-width: 767px) {
    .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 */
    /*}
}*/

@media (min-width: 750px) and (max-width: 950px) {
    .imgPadded {
        padding-top: 65px;
        padding-left: 250px;
        padding-right: 250px;
        z-index: 2;
    }

    .imgPaddedTop {
        padding-top: 65px;
        padding-left: 250px;
        padding-right: 250px;
        z-index: 3;
    }
}

@media (min-width: 951px) and (max-width: 1150px) {
    .imgPadded {
        padding-top: 65px;
        padding-left: 300px;
        padding-right: 300px;
        z-index: 2;
    }

    .imgPaddedTop {
        padding-top: 65px;
        padding-left: 250px;
        padding-right: 300px;
        z-index: 3;
    }
}
@media (min-width: 1150px) {
    .imgPadded {
        padding-top: 65px;
        padding-left: 350px;
        padding-right: 350px;
        z-index: 2;
    }

    .imgPaddedTop {
        padding-top: 65px;
        padding-left: 350px;
        padding-right: 350px;
        z-index: 3;
    }
}





    .imgSlide {
        position: absolute;
        top: 0;
        left: -100%; 
        width: 100%;
        height: 100%;
        transition: left 2s ease-in-out; 
    }


    .panel {
        height: 100vh;
        background-size: cover;
        background-position: center;
    }


.img200Wide {
    width: 200px;
    height: auto;
    padding: 2px 2px 2px 2px;
    margin: 0px;
}

.img150Wide {
    width: 150px;
    height: auto;
    padding: 2px 2px 2px 2px;
    margin: 0px;
}

    .bookButton {
        background-color: rgba(0,0,0,0);
        border-radius: 30px;
    }

        .bookButton img {
            width: 150px;
            height: auto;
        }
    /* Responsive tweak */
    /*@media (min-width: 900px) {
    .content { max-width: 68ch; }
}*/



