/* 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;

}




/* 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 */
}


/*@media (max-width: 769px) {
.bgpic {
  position: absolute;
  inset: 0;
  background-image: url('images-gc/san-close-up.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translateY(calc(var(--fade) * var(--bg-shift)));
  transition: transform 200ms linear;
  }
}*/
@media (min-width: 768px) {
    .bgpicddd {
        width:480px;
        height: auto;

    }
}


/* 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: 35vh;
  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);
}




.container {
/*    width: 300px;
    border: 4px solid rgb(30, 194, 66);*/
    line-height: 0%;
}
.container img {
   display:inline-block;
   vertical-align: bottom;

}

/* 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;
}
.introGreen {
    backdrop-filter: blur(2px);
    background: rgb(50, 87, 7, 0.85);
    border-radius: 8px;
    padding: 0.75rem;
}
.introDarkBlue {
    backdrop-filter: blur(2px);
    background: rgb(4, 71, 105, 0.85);
    border-radius: 8px;
    padding: 0.75rem;
}
.introDarkRed {
    backdrop-filter: blur(2px);
    background: rgb(126, 32, 15, 0.85);
    border-radius: 8px;
    padding: 0.75rem;
}

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: 30vh; /* 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;
    line-height: 1.5;
    display: inline-block;
    vertical-align: middle;
}
.center00 {
    text-align: center;
}
.centerForLongBrand {
    text-align: center;
    font-size: 1.2em;
}
.center15{
  text-align: center;
  padding: 0.5rem;
  font-size: 1.5em;
}
.center12 {
    text-align: center;
    padding: 1.2rem;
    font-size: 1.2em;

}
.center10 {
    text-align: center;
    padding: 1rem;
    font-size: 1em;
}
.center10NoMargin {
    padding: 0px;
    font-size: 1.2em;
    margin: 0;
    display: inline-block;
    text-align: center;
}
.center8NoMargin {
    padding: 0px;
    font-size: 1em;
    margin: 0;
    display: inline-block;
    text-align: center;
}
.centerPicAbove {
    text-align: center;
    padding: 0px;
    font-size: 1em;
    margin: 0px 0px 0px 0px;
}
.left10 {
    text-align: left;
    padding: 1rem;
    font-size: 1em;
    margin: 0;
}



.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: 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 */
}
.gap01 {
    width: 100px;
    height: 5px;
    background-color: rgba(0,0,0,0);
    margin: 5px; /* Space outside the element */
    padding: 10px; /* Space inside the element */
}
.gap02 {
    width: 100px;
    height: 8px;
    background-color: rgba(0,0,0,0);
    margin: 8px; /* Space outside the element */
    padding: 10px; /* Space inside the element */
}

.letterButton {
    width: 45px;
    height: auto;
    background-color: rgb(13, 31, 118, 0.1);
    padding: 8px;
    color: white;
    margin: 5px;
    border-radius: 8px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}
.brandButton {
    height: 45px;
    width: auto;
    background-color: rgb(13, 31, 118, 0.1);
    padding: 8px;
    color: white;
    margin: 5px;
    border-radius: 8px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}
.modelButton {
    height: 45px;
    width: auto;
    background-color: rgb(13, 31, 118, 0.1);
    padding: 8px;
    color: white;
    margin: 5px;
    border-radius: 8px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}
.resetButton {
    height: 45px;
    width: auto;
    background-color: rgb(13, 31, 118, 0.1);
    padding-left: 8px;
    padding-top: 20px;
/*    position: center;*/
    color: white;
    margin: 20px;/*distance from object left of this*/
    border-radius: 8px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

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 */
}

.imgReset {
    width: 35px;
    height: auto;
    border: 2px dotted grey; /*2px solid white;*/
    margin: 10px;
    margin-bottom: 18px;
    padding: 2px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    /*position: center;*/
    /*    padding: 0px;*/
    /*    text-align:end;*/
}
.imgFlag {
    width: 35px;
    height: auto;
    margin: 10px;
    margin-bottom: 18px;
    padding: 2px;
    border-radius: 18px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}
.imgApplePay {
    width: 48px;
    height: auto;
    margin: 8px;
    margin-bottom: 18px;
    padding: 2px;
    border-radius: 8px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}
.imgLogo {

  transform: scale(0.4); /* Shrinks the image to 50% of its original size */
  transform-origin: center; 
}
.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;
}
.imgFindMouse {
    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;
}
.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: 768px) {
    .imgMain {
        width: 480px;
        height: auto;
        padding: 30px;
    }
}

.imgDevice {
    padding: 0px;
    margin: 0px 0px 0px 0px;
    opacity: 0.8;
}
.imgNochex {
    height: 45px;
    width: auto;
    padding: 0px 0px 0px 30px;
    margin: 0px 0px 0px 0px;
    opacity: 0.9;
/*    object-position: center;*/
}
.imgE-Ml {
    height: 45px;
    width: auto;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    opacity: 0.9;
    /*    object-position: center;*/
}
.imgChip {
    height: 90px;
    width: auto;
    padding: 0px 0px 0px 30px;
    margin: 0px 0px 0px 0px;
    opacity: 0.9;
    /*    object-position: center;*/
}
.imgLetterbox {
    height: 108px;
    width: auto;
    padding: 0px 0px 0px 30px;
    margin: 0px 0px 0px 0px;
    opacity: 0.9;
    /*    object-position: center;*/
}

.textBlue{color:#1DC0FB;}
.greyFont {
    color: rgb(90, 85, 85);
    font-size: 1.5em;
}
.orangeFont {
    color: rgb(246, 132, 66);
    font-size: 1.5em;
}

.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; }
}*/
