
* { box-sizing: border-box; }
html, body { height: 100%; }
:root {
    --fade: 0;
    --bg-shift: -20%;
    --fade-color: rgb(200, 203, 198, 0.90);
    --mainTextColour: #2d3b4d;
}
/*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*/
/*}*/
body {
    background: #f2f2f2;
/*    display: flex;
    justify-content: center;
    align-items: center;*/
    /*height: 100vh;*/
    margin: 0;
    font-family: 'Fjalla One', -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.bg-wrapper {
    position: fixed; /*fixed on top of one another perhaps or so it seems*/
    padding-top: 7vh;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start; /*vertcical align*/
    inset: 0;
    overflow: hidden;
    z-index: -2;
}
/*.imgKnob {
    position: fixed;*//* absolute;*/
    /*top: 10px;
    left: 10px;
}*/

.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;
}

@media (max-width: 649px) {
    .content {
        padding-top: 20vh;
        padding-left: clamp(1rem, 3vw, 2rem);
        padding-right: clamp(1rem, 3vw, 2rem);
        padding-bottom: 8rem;
        max-width: 100%; /*72ch;*/
        margin: 0 auto;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        position: relative;
        z-index: 0;
    }

    .imgPadded30 {
        width: 100%;
        height: auto;
        z-index: 2;
    }

    .imgPaddedTop30 {
        width: 100%;
        height: auto;
        z-index: 3;
        opacity: 0;
    }
    .imgPaddedFilter1 {
        width: 100%;
        height: auto;
        z-index: 4;
        opacity: 0;
    }
    .imgPaddedFilter2 {
        width: 100%;
        height: auto;
        z-index: 4;
        opacity: 0;
    }
 

}

@media (min-width: 650px) {
    .content {
        padding-top: 20vh;
        padding-left: clamp(1rem, 3vw, 2rem);
        padding-right: clamp(1rem, 3vw, 2rem);
        padding-bottom: 8rem;
        max-width: 50%; /*72ch;*/
        margin: 0 auto;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        position: relative;
        z-index: 0;
    }


    .imgPadded30 {
        width: 30%;
        height: auto;
        z-index: 2;
    }

    .imgPaddedTop30 {
        width: 30%;
        height: auto;
        z-index: 3;
        opacity: 0;
    }
    .imgPaddedFilter1 {
        width: 30%;
        height: auto;
        z-index: 4;
        opacity: 0;
    }
    .imgPaddedFilter2 {
        width: 30%;
        height: auto;
        z-index: 4;
        opacity: 0;
    }
  
}


.intro, .body {
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  padding: 1rem;
}
.introVLight {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1.25rem;
}

.introBlueTint {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(32, 91, 135, 0.75);
    border-radius: 12px;
    padding: 0.5rem;
}
.introClear {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
}

.introFairOrange {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(144, 66, 7, 0.90);
    border-radius: 12px;
    padding: 0.5rem; /*space around text in box*/
}

.introFairRed {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(202, 10, 51, 0.90);
    border-radius: 12px;
    padding: 0.5rem; /*space around text in box*/
}
.introRedHue {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(164, 26, 26, 0.70);
    border-radius: 12px;
    padding: 0.5rem;
}
.introFaintRedHue {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(242, 82, 82, 0.15);
    border-radius: 12px;
    padding: 1.25rem;
}
.introFaintPinkHue {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(242, 127, 219, 0.44);
    border-radius: 12px;
    padding: 1.25rem;
}
.introFaintPurpleHue {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(156, 39, 226, 0.21);
    border-radius: 12px;
    padding: 1.25rem;
}

.introFaintYellowHue {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgb(242, 251, 62, 0.84);
    border-radius: 12px;
    padding: 1.25rem;
}

.introFairWhite {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.8);
    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; }


.fade-out-spacer {
  height: 20vh; 
}


.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;
        color: #007BFF;
    }

.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.38);
  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;
    color: var(--mainTextColour);
}
.center10 {
    text-align: center;
    padding: 0.6rem;
    font-size: 1em;
    color: var(--mainTextColour);
}
.center11 {
    text-align: center;
    padding: 0.3rem;
    font-size: 1.1em;
    margin: 1px 1px 1px 1px;
    color: var(--mainTextColour);
}
.center11Blk {
    text-align: center;
    padding: 0.3rem;
    font-size: 1.1em;
    margin: 1px 1px 1px 1px;
    color: black;
}
.center12 {
    text-align: center;
    padding: 1.2rem;
    font-size: 1.2em;
    color: var(--mainTextColour);
}
.center15 {
    text-align: center;
    padding: 0.7rem;
    font-size: 1.5em;
    color: var(--mainTextColour);
}
.center15MinM {
    text-align: center;
    padding: 0.7rem;
    font-size: 1.5em;
    margin: 2px 2px 2px 2px;
    color: var(--mainTextColour);
}
.center18MinM {
    text-align: center;
    padding: 0.7rem;
    font-size: 1.8em;
    margin: 2px 2px 2px 2px;
    color: var(--mainTextColour);
}
.center18MinMWhite {
    text-align: center;
    padding: 0.7rem;
    font-size: 1.8em;
    margin: 2px 2px 2px 2px;
    color: white;
}

.justified10WhiteMinM {
    text-align: justify;
    padding: 1rem;
    font-size: 1em;
    margin: 4px;
    color: var(--mainTextColour);
}
.justified11WhiteMinM {
    text-align: justify;
    padding: 0.6rem;
    font-size: 1.1em;
    margin: 1px 1px 1px 1px;
    color: white;
}
.justify11 {
    text-align: justify;
    padding: 0.6rem;
    font-size: 1.1em;
    margin: 1px 1px 1px 1px;
    color: var(--mainTextColour);
}
.justify11White {
    text-align: justify;
    padding: 0.6rem;
    font-size: 1.1em;
    margin: 1px 1px 1px 1px;
    color: white;
}
.justify15 {
    text-align: justify;
    padding: 0.6rem;
    font-size: 1.5em;
    margin: 1px 1px 1px 1px;
    color: var(--mainTextColour);
}


.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;
}
.gap05 {
    width: 100px;
    height: 50px;
    background-color: rgba(0,0,0,0);
    margin: 10px;
    padding: 10px;
}


.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; 
}



.textBlue{color:#1DC0FB;}


.imgWidth200px {
    width: 200px;
    height: auto;
    padding: 2px 2px 2px 2px;
    margin: 0;
}

.imgWidth150px {
    width: 150px;
    height: auto;
    padding: 2px 2px 2px 2px;
    margin: 0;
}
.imgWidth80pct {
    width: 80%;
    height: auto;
    padding: 2px 2px 2px 2px;
    margin: 0;
}


    .imgSlide {
        position: absolute;
        top: 0;
        left: -100%; /*Start off-screen */

        width: 100%;
        height: 100%;
        transition: left 2s ease-in-out;
    }


    .panel {
        height: 100vh;
        background-size: cover;
        background-position: center;
    }


.imgShadow100 {
    width: 80px;
    height: auto;
    border: 1px solid white;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    padding: 1px 1px 1px 1px;
}

.imgNoShadow100 {
    width: 80px;
    height: auto;
    display: inline-block;
    padding: 1px 1px 1px 1px;
}

.leftGetBook {
    text-align: left;
    padding: 0.6rem;
    font-size: 1em;
    color: var(--mainTextColour);
    margin: 1px 1px 1px 1px;
}

.shower-container {
    position: relative;
    width: 743px; /* adjust to match your image */
}

.shower-image {
    width: 100%;
    display: block;
}

.control {
    /*position: absolute;*/
    /* adjust to match your PNG size */
    /*width: 229px; 
    top: 708px; 
    left: 489px;*/
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: center center;
    transition: transform 0.1s linear;
    pointer-events: none; /* prevents dragging the image */
}

.slider-container {
    margin-top: 30px;
    text-align: center;
}

input[type="range"] {
    width: 100%;
}
/* Target Input */
.generator-input {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
}

    /* --- Webkit Browsers --- */
    .generator-input::-webkit-slider-runnable-track {
        height: 30px;
        background: #0c4a6e;
        border-radius: 20px;
        border: 0px solid #cbd5e1;
        box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.1);
    }

    .generator-input::-webkit-slider-thumb {
        -webkit-appearance: none;
        height: 60px;
        width: 60px;
        background: #ffffff;
        border-radius: 30px;
        border: 4px solid #0284c7;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
        margin-top: -9px;
    }
.centerPair {
    text-align: center;
}
.diveButton {
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 3em;
    min-width: 25%;
    min-height: 8%;
    margin-left: 20px;
    margin-right: 20px;
}
/*.yellow {
    background-color: rgb(208, 232, 51, 0.9);
    color: rgb(208, 232, 51, 0.9);
    padding-top: 200px;
    z-index: 5;
}*/
/*.fishTarget{
    position: absolute;
    padding-top: 0px;
    z-index: 6;
}*/
    /* --- Firefox --- */
    /*.generator-input::-moz-range-track {
        height: 30px;
        background: #0c4a6e;
        border-radius: 20px;
        border: 0px solid #cbd5e1;
        box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.1);
    }

    .generator-input::-moz-range-thumb {
        height: 60px;
        width: 60px;
        background: #ffffff;
        border-radius: 30px;
        border: 4px solid #0284c7;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    }*/
