.image-slider {
  margin: 1.2em auto;
  position: relative;
  width: 100%;
  max-width: 1200px;
}

.comparison-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.13);
  aspect-ratio: 16/9;
}
.comparison-slider img {
  width: 100%;
  height: 100%;
  display: block;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -o-object-fit: cover;
     object-fit: cover;
}
.comparison-slider .comparison-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  z-index: 2;
  transition: clip-path 187ms cubic-bezier(0, 0, 0, 1);
  -o-object-fit: cover;
     object-fit: cover;
}
.comparison-slider .comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  -o-object-fit: cover;
     object-fit: cover;
}
.comparison-slider .comparison-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  height: 100%;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparison-slider .comparison-handle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  z-index: 4;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}
.comparison-slider .comparison-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
  z-index: 5;
}

.comparison-selects {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75em;
  margin-bottom: 0.5em;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-select-left,
.comparison-select-right {
  width: 48%;
  min-width: 120px;
  margin-bottom: 0;
  padding: 0.5em 0.75em;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  font-size: 1em;
  margin-right: 1%;
  margin-left: 0;
  box-sizing: border-box;
}
.comparison-select-left option,
.comparison-select-right option {
  background-color: #333;
  color: white;
}

.comparison-set-select {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 0.5em auto;
  padding: 0.5em 0.75em;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  font-size: 1em;
  box-sizing: border-box;
}
.comparison-set-select option {
  background-color: #333;
  color: white;
}

.comparison-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 800px;
  margin: 0.7em auto 0;
}
.comparison-labels span {
  padding: 0.25em 0.5em;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  font-weight: 600;
  font-size: 1em;
}

@media only screen and (max-width: 700px) {
  .image-slider,
  .comparison-slider {
    max-width: 100vw;
  }
  .comparison-labels {
    max-width: 100vw;
    font-size: 0.85em;
  }
  .comparison-selects {
    flex-direction: column;
    gap: 0.4em;
    max-width: 100vw;
  }
  .comparison-select-left,
  .comparison-select-right {
    width: 100%;
    min-width: 0;
  }
  .comparison-select-left,
  .comparison-select-right,
  .comparison-set-select {
    font-size: 0.85em;
    padding: 0.4em 0.5em;
  }
}/*# sourceMappingURL=imageSlider.css.map */