.glide {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Optional max width */
  margin: 0 auto;
}

.glide {
  display: flex;
  justify-content: center;
}

/* Track & Slides */
.glide__slide img {
  width: 70%;             /* Image is 50% of the container */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0px;
  object-fit: cover;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
}

/* Arrows */
.glide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: black;
  font-size: 2rem;
  font-weight: bold;
  padding: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  /*transition: transform 0.3s ease, opacity 0.3s ease;*/
  display: flex;
  align-items: center;
  justify-content: center;
}

.glide__arrow {
  /* Existing styles... */
  border: none;
  background: none;
  outline: none;         /* <- removes focus border in some browsers */
  box-shadow: none;      /* <- removes any shadow if present */
  padding: 0;
}

.glide__arrow:focus {
  outline: none;
}


.glide__arrow--left {
  left: calc(15% - 40px);  /* Image is centered at 50%, so arrows offset from edges */
}

.glide__arrow--right {
  right: calc(15% - 50px);
}

/* Hover animation */
.glide__arrow:hover {
  border: none;
  background: none;
  outline: none;         /* <- removes focus border in some browsers */
  box-shadow: none;      /* <- removes any shadow if present */
  padding: 0;
  opacity: 1;
}

.glide::before,
.glide::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 5;
  pointer-events: none;
}

.glide::before {
  left: 0;
  /*background: linear-gradient(to right, white 0%, transparent 100%);*/
}

.glide::after {
  right: 0;
  /*background: linear-gradient(to left, white 0%, transparent 100%);*/
}

@media (max-width: 1280px) {
  .glide__slide img {
    width: 90%;
  }

.glide__arrow--left {
  left: calc(5% - 20px);  /* Image is centered at 50%, so arrows offset from edges */
}

.glide__arrow--right {
  right: calc(5% - 30px);
}
}


@media (max-width: 768px) {
  .glide__slide img {
    width: 90%;
  }

.glide__arrow--left {
  left: calc(5% - 20px);  /* Image is centered at 50%, so arrows offset from edges */
}

.glide__arrow--right {
  right: calc(5% - 30px);
}

}

.testdiv {
   background-color: red;
   }



    .image-container {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

    .image-container img {
      width: 100%;
      height: auto;
      display: block;
      transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .hover-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      z-index: 2;
    }

    .image-container:hover .hover-image {
      opacity: 1;
/*      transform: scale(1.05);*/
    }

    .image-container:hover .default-image {
      /* transform: scale(1.05);*/
    }



#toggleButton {
  display: flex;
  flex-wrap: wrap;
  width: 100px;
  padding: 0.1em 0.3em 0.1em 0.3em;
  margin: 0 0.2em 0.2em 0;
  font-size: 1.2em;
  font-family: milibus;
  background-color: var(--green0);!important; 
  color: red;                    /* White text */
  letter-spacing: -1.5px;
  border: none;
  border-radius: 2px;              /* Rounded corners */
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#toggleButton:hover {
  background-color: #45a049;       /* Slightly darker on hover */
  transform: translateY(-2px);     /* Slight lift effect */
}

#toggleButton:active {
  transform: scale(0.98);          /* Pressed-down effect */
}



.ttswitch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 22px;
  transition: all 0.3s;
}

.ttswitch::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 22px;
  background-color: white;
  top: 1px;
  left: 1px;
  transition: all 0.3s;
}

input[type='checkbox']:checked + .ttswitch::after {
  transform: translateX(22px);
}

input[type='checkbox']:checked + .ttswitch {
  background-color: #7983ff;
}

.offscreen {
  position: absolute;
  left: -9999px;
}
