@charset "UTF-8";
.comparisonSection {
  position: relative;
  padding-bottom: 27%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  overflow: hidden;
}
.comparisonImage {
  width: 80%;
  height: 100%;
  display: flex; /* Makes the container a flex container */
  justify-content: center; /* Centers content horizontally */
  align-items: center; /* Centers content vertically */
}
.afterImage {
  position: absolute;
  overflow: hidden;
  top: 0;
  transform: translate(100%, 0px);
}
.afterImage img {
  transform: translate(-100%, 0px);
}
.beforeImage {
  position: absolute;
  overflow: hidden;
  top: 0;
}
.beforeImage img {
}
.comparisonImage img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
}

/* Styles for Before/After Text */
.afterText {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-weight: 500;
  font-size: 90%;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 10;
  background-image: -webkit-linear-gradient(top, rgba(93, 171, 196, 0.45), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0));
  background-image: -moz-linear-gradient(top, rgba(93, 171, 196, 0.45), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0));
  background-image: -ms-linear-gradient(top, rgba(93, 171, 196, 0.45), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0));
  background-image: -o-linear-gradient(top, rgba(93, 171, 196, 0.45), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0));
  background-image: linear-gradient(to bottom, rgba(93, 171, 196, 0.45), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0));
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding-top: 3px;
}
.beforeText {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-weight: 500;
  font-size: 90%;
  text-transform: uppercase;
  color: #ffffff;
  z-index: 10;
  background-image: -webkit-linear-gradient(bottom, rgba(93, 171, 196, 0.45), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0));
  background-image: -moz-linear-gradient(bottom, rgba(93, 171, 196, 0.45), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0));
  background-image: -ms-linear-gradient(bottom, rgba(93, 171, 196, 0.45), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0));
  background-image: -o-linear-gradient(bottom, rgba(93, 171, 196, 0.45), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0));
  background-image: linear-gradient(to top, rgba(93, 171, 196, 0.45), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0), rgba(93, 171, 196, 0));
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.text-hidden {
    opacity: 0;
}