:root {
  --color-yellow: #fff44e;
  --color-green: #86d11f;
  --color-light-blue: #204fa0;
  --color-purple: #211b3f;
}
@font-face {
  font-family: "oralB";
  src: url(assets/subset-Neutraface2Text-Bold.woff2) format("woff2");
  font-weight: 700;
}
@font-face {
  font-family: "oralB";
  src: url(assets/subset-Neutraface2Text-Book.woff2) format("woff2");
  font-weight: 400;
}
html {
  width: 100vw;
  height: 100vh;
  font-family: oralB;
}

body {
  /* background: var(--color-purple); */
  margin: 0;
  background: radial-gradient(ellipse at bottom left, #211b3f, #204fa0);
}

.logo {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translate(-50%, 0);
  width: 115px;
  height: 40px;
  background: url(./assets/oral_b_logo.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.logo-text > span {
  font-weight: 700;
}
.logo-text > span:nth-of-type(2) {
  background: linear-gradient(
    90deg,
    var(--color-green) 0%,
    var(--color-yellow) 101%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.logo-text {
  font-size: 14px;
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 43%;
  text-align: center;
  color: #fff;
  margin: 0;
}

.sliderText {
  position: absolute;
  top: 130px;
  left: 0;
  width: 100%;
}
.sliderText > .text1,
.text2,
.text3 {
  position: absolute;
  top: 0px;
  left: 0;
  font-size: 25px;
  color: #fff;
  text-align: center;
  width: 100%;
  margin: -10px 0 0 0;
}
.sliderText > .text1 > div {
  margin: -10px 0 0 0;
  opacity: 1;
}
.sliderText > .text2 > div {
  margin: -10px 0 0 0;
  opacity: 0;
}
.sliderText > .text3 > div {
  margin: -10px 0 0 0;
  opacity: 0;
}
.sliderText > .text1 > div {
  opacity: 0;
  animation: in 0.66s forwards ease-out;
  -webkit-animation: in 0.66s forwards ease-out;
}
.sliderText > .text1 > div:nth-of-type(2) {
  animation-delay: 0.24s;
  -webkit-animation-delay: 0.24s;
}
.sliderText > .text1 > div:nth-of-type(3) {
  animation-delay: 0.48s;
  -webkit-animation-delay: 0.48s;
}
.sliderText > .text1.in > div {
  opacity: 1;
  animation: none;
  -webkit-animation: none;
  /* animation: out 0.66s forwards ease-in-out; */
  /* -webkit-animation: out 0.66s forwards ease-in-out; */
}
.sliderText > .text1.out > div {
  opacity: 0;
  animation: none;
  -webkit-animation: none;
  /* animation: out 0.66s forwards ease-in-out; */
  /* -webkit-animation: out 0.66s forwards ease-in-out; */
}
.sliderText > .text1.out > div:nth-of-type(2) {
  /* animation-delay: 0.15s; */
  /* -webkit-animation-delay: 0.15s; */
}
.sliderText > .text1.out > div:nth-of-type(3) {
  /* animation-delay: 0.3s; */
  /* -webkit-animation-delay: 0.3s; */
}
.sliderText > .text2.in > div {
  opacity: 1;
  /* animation: in 0.66s forwards 0.33s ease-out; */
  /* -webkit-animation: in 0.66s forwards 0.33s ease-out; */
}
.sliderText > .text2.in > div:nth-of-type(2) {
  margin: -5px 0 0 0;
  /* animation-delay: 0.57s; */
  /* -webkit-animation-delay: 0.57s; */
}
/* .sliderText > .text2.in > div:nth-of-type(3) {
  animation-delay: 0.48s;
  -webkit-animation-delay: 0.48s;
} */
.sliderText > .text2.out > div {
  opacity: 0;
  /* animation: out 0.66s forwards ease-in-out; */
  /* -webkit-animation: out 0.66s forwards ease-in-out; */
}
.sliderText > .text2.out > div:nth-of-type(2) {
  /* animation-delay: 0.15s; */
  /* -webkit-animation-delay: 0.15s; */
}
.sliderText > .text2.out > div:nth-of-type(3) {
  /* animation-delay: 0.3s; */
  /* -webkit-animation-delay: 0.3s; */
}
.sliderText > .text3.in > div {
  opacity: 1;
  /* animation: in 0.66s forwards 0.3s ease-out; */
  /* -webkit-animation: in 0.66s forwards 0.3s ease-out; */
}
.sliderText > .text3.in > div:nth-of-type(2) {
  /* animation-delay: 0.54s; */
  /* -webkit-animation-delay: 0.54s; */
}
.sliderText > .text3.in > div:nth-of-type(3) {
  /* animation-delay: 0.48s; */
  /* -webkit-animation-delay: 0.48s; */
}
.sliderText > .text3.out > div {
  opacity: 0;
  /* animation: out 0.66s forwards ease-in-out; */
  /* -webkit-animation: out 0.66s forwards ease-in-out; */
}
.sliderText > .text3.out > div:nth-of-type(2) {
  /* animation-delay: 0.15s; */
  /* -webkit-animation-delay: 0.15s; */
}
.sliderText > .text3.out > div:nth-of-type(3) {
  /* animation-delay: 0.3s; */
  /* -webkit-animation-delay: 0.3s; */
}

@keyframes in {
  0% {
    -webkit-transform: translate(0, 15px);
    transform: translate(0, 15px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    transform: translate(0, 0px);
    opacity: 1;
  }
}
@keyframes out {
  0% {
    -webkit-transform: translate(0, 0px);
    transform: translate(0, 0px);
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(0, -15px);
    transform: translate(0, -15px);
    opacity: 0;
  }
}
/* @-webkit-keyframes in {
  0% {
    -webkit-transform: translate(0, 15px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@-webkit-keyframes out {
  0% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(0, -15px);
    opacity: 0;
  }
} */

.sliderText > .text1 > div:nth-of-type(1) {
  font-weight: 700;
  color: var(--color-green);
}
.sliderText > .text2 > div:nth-of-type(1) {
  font-weight: 700;
  color: var(--color-yellow);
}

.slider {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translate(-50%, 0);
}
.hand {
  position: absolute;
  background: url(./assets/hand.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 37px;
  top: 12px;
  left: 25px;
  height: 40px;
  filter: drop-shadow(0px 0px 3px rgba(00, 00, 00, 0.7));
  pointer-events: none;
}
.hand.anin {
  transition: all 0.65s ease-in-out;
  -webkit-transition: all 0.65s ease-in-out;
  margin-left: 15px;
}
.hand.anout {
  transition: all 0.65s ease-in-out;
  -webkit-transition: all 0.65s ease-in-out;
  margin-left: 0px;
}
.slide {
  -webkit-appearance: none;
  outline: none;
  opacity: 1;
  width: 251px;
  height: 30px;
  border: 3px solid #fff;
  background: linear-gradient(
    90deg,
    var(--color-green) 0%,
    var(--color-yellow) 101%
  );
  box-sizing: border-box;
  border-radius: 25px;
}

.slide::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: inset 0px 0px 5px #0000005e;
  cursor: pointer;
}
.slide.anin::-webkit-slider-thumb {
  transition: all 0.65s ease-in-out;
  -webkit-transition: all 0.65s ease-in-out;
  margin-left: 15px;
}
.slide.anout::-webkit-slider-thumb {
  transition: all 0.65s ease-in-out;
  -webkit-transition: all 0.65s ease-in-out;
  margin-left: 0px;
}

.slide::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: inset 0px 0px 5px #0000005e;
  cursor: pointer;
}
.slide.anin::-moz-range-thumb {
  transition: all 0.65s ease-in-out;
  margin-left: 15px;
}
.slide.anout::-moz-range-thumb {
  transition: all 0.65s ease-in-out;
  margin-left: 0px;
}

.slider > .slide {
  width: 251px;
  height: 30px;
  border: 3px solid #fff;
  background: linear-gradient(
    90deg,
    var(--color-green) 0%,
    var(--color-yellow) 101%
  );
  box-sizing: border-box;
  border-radius: 25px;
}

.sliderUnderText {
  position: absolute;
  display: flex;
  top: 240px;
  width: 73%;
  left: 50%;
  transform: translate(-50%, 0);
  color: #fff;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
}

.img {
  top: 0;
  left: 0;
  width: 250px;
  margin: 0 auto;
  height: 100vh;
  pointer-events: none;
}
.img > .line {
  transition: opacity 0.22s ease-in-out;
  width: 3px;
  border-radius: 2px;
  height: 210px;
  display: block;
  background: #fff;
  position: absolute;
  bottom: 12px;
  opacity: 0;
  left: 54px;
}

.img > .container > .one {
  position: absolute;
  background: url("./assets/2-compressed.png");
  background-size: cover;
  width: 100vw;
  height: 100%;
  right: 0;
  margin: auto;
}
.img > .container > .two {
  position: absolute;
  background: url("./assets/1-compressed.png");
  background-size: cover;
  width: 100vw;
  height: 100%;
  left: 0;
  margin: auto;
}

.img > .container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  overflow: hidden;
}
.img > .container:nth-of-type(2) {
  width: 0%;
  left: 0;
}

.button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 10px;
  width: 108px;
  height: 36px;
  border-radius: 7.5px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-light-blue);
  background: #fff;
  left: 50%;
  transform: translate(-50%, 0);
  cursor: pointer;
}

.button:hover {
  /* font-size: 21px; */
  box-shadow: 0 0 8px #fff;
}
