main {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    z-index: -1000;
}

main::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
  height: clamp(100px, 50%, 300px); 
  pointer-events: none; /* don’t block clicks */
}

main img {
  width: 100%;
  object-fit: cover; /* image fills the container, cropping bottom/top if necessary */
  object-position: top; /* top always aligned to top of container */
  display: block;
}


main h1 {
    font-size: clamp(1.5rem, 4vw + 1rem, 4rem); 
    color: rgb(255, 255, 255);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 5px black;
    word-wrap: break-word;
    text-align: left;
    margin-block-end: 0em;
}

main div h2 {
    color: rgb(255, 255, 255);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1rem, 3vw, 1.3rem);
    text-shadow: 1px 1px 3px black;
    text-align: left;
    margin-block-start: 0em;}

main div {
    margin-top: -14vw;
    position: absolute;
}



/* * {box-sizing:border-box}  tf does this do */

/* Slideshow container */
.slideshow-container {
    height: 500px;
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

.mySlides img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-position: center;
  display: block;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .2}
  to {opacity: 1}
}



/*not used*/
.tablet-container {
    position: relative;
    width: 100%;
    margin-top: -220px;
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
}

.tablet {

    background-color: rgba(244, 243, 240, 0.95); /* soft light background */
    color: #333;
    width: 220px;       /* adjust width */
    height: 160px;
    padding: 40px 20px; /* more padding for statement feel */
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    pointer-events: auto; /* allows text selection or hover if needed */

    /* background-color: rgba(244, 243, 240, 0.9);
    color: rgb(0, 0, 0);
    width: 220px;
    height: 160px;
    padding: 30px 20px;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
}