/* Reset and base font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    margin: 0;
    padding: 0;
    min-height: 100vh
  }
  
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('IMG_1430.JPG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: black; /* fallback */
    z-index: -1;
    pointer-events: none; /* allows clicks to pass through */
  }
  
  


  /* Main container */
  .doc-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 5vw 5vw;
    overflow: hidden;
  }
  
  
  /* Content layer */
  .doc-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: auto;
    font-size: 1.1rem;
    line-height: 1.6;
    background: transparent;
  }
  
  /* Freeform background images */
  .decor-image {
    position: absolute;
    z-index: 1; /* Behind the text */
    opacity: 0.7;
    pointer-events: none;
    height: auto;
    transition: all 0.3s ease-in-out;
    object-fit: fill;
  }

.container{
    padding: 1rem;
}
.slider-wrapper{
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
}
.slider{
    display: flex;
    aspect-ratio: 16 / 9;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    -webkit-overflow-scrolling: touch;
}

.slider::-webkit-scrollbar{
    display: none;
}

.slider img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}
.carsonbro{
  flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.help{
    display: block;
    margin: 0 auto;
    max-width: 50%;
    height: auto; /* preserves aspect ratio */
}
.help2{
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto; /* preserves aspect ratio */
}
.slider-nav{
    display: flex;
    column-gap: 0.5rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.slider-nav a{
    width: 0.2rem;
    height: 0.2rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}
.slider-nav a:hover{
    opacity: 1;
}

  
  /* Responsive font sizes */
  @media (max-width: 930px) {
    .doc-content {
      font-size: 1rem;
      padding: 0 1rem;
    }
  
    .decor-image {
      max-width: 20vw;
      opacity: 0;
    }

    .slider-nav a{
        width: .2vw;
        height: .4vh;
  }
  .slider img{
    max-width: 100%;
    max-height: 100%;
  }

  .carsonbro, .help{
    max-width: 100%;
    max-height: 100%;
  }
}