
* { box-sizing: border-box; }
html, body { height: 100%; }
:root {
    --fade: 0;
    --bg-shift: -20%;
    --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*/

}

.fg-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;
}



.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) {
    .contentLayerBehind {
        padding-top: 38vh;
        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: -5;
    }
    .contentTop {
        padding-top: 38vh;
        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: 6;
    }

    .imgPadded {
        height: 20vh;
        width: auto;
        z-index: 3;
    }

    .imgPaddedTop {
        height: 20vh;
        width: auto;
        z-index: 4;
    }
}

@media (min-width: 650px) {
    .contentLayerBehind {
        padding-top: 35vh;
        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: -5;
    }
    .contentTop {
        padding-top: 38vh;
        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: 6;
    }
    .imgPadded {
        height: 20vh;
        width: auto;
/*        height: auto;*/
        z-index: 3;
    }

    .imgPaddedTop {
        height: 20vh;
        width: auto;
        z-index: 4;
    }
}

/* 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: 0;
}
.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;
}*/




.intro, .body {
  backdrop-filter: blur(2px);
  background: rgb(43, 41, 41, 0.85);
  border-radius: 12px;
  padding: 1.25rem;
}
.introWhite {
    backdrop-filter: blur(2px);
    background: rgb(243, 250, 238, 0.25);
    border-radius: 12px;
    padding: 0.8rem;
}

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 {
    color: rgb(4, 9, 57, 0.85);

}

p { margin: 0.75rem 0; }


.fade-out-spacer {
  height: 30vh; 
}


.text-boxes {
  background: white; /*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);
  z-index: 6;
}

    .text-boxes h2 {
        text-align: center;
        margin-bottom: 2rem;
        z-index: 6;
    }

.box-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
    z-index: 6;
}

.box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0,0,0,0.5);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 6;
}
.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;
}

.center10 {
    text-align: justify;
    padding: 1.5rem;
    font-size: 1em;
    color: var(--mainTextColour);
}
.center10Blk {
    text-align: center;
    padding: 0.5rem;
    font-size: 1em;
    color: black;
    margin: 2px 2px 2px 2px;
}
.center11 {
    text-align: justify;
    padding: 0.6rem;
    font-size: 1.1em;
    color: var(--mainTextColour);
    margin: 2px 2px 2px 2px;
}
.justify11Blk {
    text-align: justify;
    padding: 0.5rem;
    font-size: 1.1em;
    color: black;
    margin: 2px 2px 2px 2px;
}
.justify10Blk {
    text-align: justify;
    padding: 0.5rem;
    font-size: 1em;
    color: black;
    margin: 2px 2px 2px 2px;
}
.center15 {
    text-align: center;
    padding: 0.8rem;
    font-size: 1.5em;
    margin: 3px 3px 3px 3px;
}
.center18 {
    text-align: center;
    padding: 0.8rem;
    font-size: 1.8em;
    margin: 3px 3px 3px 3px;
}
  .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;
}



.imgLogo {

  transform: scale(0.4);
  transform-origin: center; 
}
.textBlue{color:#1DC0FB;}

/*@media (max-width: 749px) {
    .imgMain {
        padding: 0px;
        width: 100vw; 
        height: 100vh; 
        object-fit: cover; 
        object-position: center;
    }
    .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; 
    }
}
@media (min-width: 750px) {
    .imgMain {


    }

    .imgMain40 {
        height: 40vh; 
        width: auto;
    }
}*/

    .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;
}

    .panel {
        height: 100vh;
        background-size: cover;
        background-position: center;
    }

.img200Wide {
    width: 200px;
    height: auto;
    padding: 2px 2px 2px 2px;
    margin: 0px;
}
.img150Wide {
    width: 200px;
    height: auto;
    padding: 2px 2px 2px 2px;
    margin: 0px;
}

    /* Responsive tweak */
    @media (min-width: 900px) {
        .content {
            max-width: 68ch;
        }
    }

.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;
}


