html, body {
  font-family: 'Nunito Sans', sans-serif;
  overflow-x: hidden;
}

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

main {
  text-align: center;
  vertical-align: center;
  line-height: 100vh;
}

.comparisonSection {
  position: relative;
  padding-bottom: 56.25%; /* to maintain aspect ratio (responsive!) */
}
.comparisonImage {
  width: 100%;
  height: 100%;
}
.afterImage {
  position: absolute;
  overflow: hidden;
  top: 0;
  transform: translate(100%, 0px);
}
.afterImage img {
  transform: translate(-100%, 0px);
}
.comparisonImage img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.glock {
  position: relative;
  padding: 20px;
}
.piece:not(.base) {
  position: absolute;
  bottom: 53vw;
}
/* Widths come from comparison of full size width to base's width */
.slide {
  width: 92.083%;
}
.barrel {
  width: 54.25%;
  left: 7.5%;
}
.spring {
  width: 40.333%;
  left: 8.5%;
}
.base {
  width: 100%;
  position: relative;
  left: 3%;
  z-index: 1;
}

.hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  color: white;
  font-size: 5em;
  line-height: 0;
}

.delayed-section {
  position: absolute;
  width: 30vw;
  height: 38.87vw;
}
.delayed-section .inner-container {
  will-change: transform;
}
.delayed-section img {
  max-width: 100%;
  will-change: transform;
}

#del1 {
  top: 101vh;
  left: 10vw;
}
#del2 {
  top: 110vh;
  left: 55vw;
}
#del3 {
  top: 120vh;
  left: 30vw;
}