/* SHOP SLIDER */

.slider-container {
  overflow: hidden;
  width: 100%;
  padding-top: 10px;
}

.shop-slider {
  animation: shop-swipe 20s infinite ease;
  gap: 20px;
}

.shop-slider:hover {
  animation-play-state: paused;
}

@keyframes shop-swipe {
  0% {
    transform: translate(-5%, 0);
  }

  40%,
  50% {
    transform: translate(-240%, 0);
  }

  100% {
    transform: translate(-5%, 0);
  }
}


/* END */

.img-1 {
  display: inline-block;
  width: 63vw;
  height: 32vw;
  position: relative;
  border-radius: 300px;
  align-self: flex-end;
  overflow: visible;
  box-shadow: rgba(0, 0, 0, 1) 0 22px 70px 4px;
}

.img-3 {
  width: 63vw;
  height: 32vw;
  background: url(../images/look_2.jpg) 0 0 no-repeat;
  background-size: cover;
  background-position: 50% 35%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
  border-radius: 300px;
  -webkit-filter: grayscale(1);
  animation: changeBackground 20s infinite;
}

.img-2 {
  width: 63vw;
  height: 32vw;
  background: url(../images/look_2.jpg) 0 0 no-repeat;
  background-size: cover;
  background-position: 50% 35%;
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 300px;
  clip-path: inset(0% 0% 0% 0% round 50px);
  -webkit-filter: grayscale(0);
  animation: mask 20s infinite;
  z-index: 20;
}

#header-img {
  height: 32vw;
  z-index: 30;
}

#toggle-mob-wrapper {
  display: block;
  align-self: flex-end;
  height: 41px;
  width: 78px;
  position: relative;
  background: url(../images/pattern_2.svg) 0 0 no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 78px;
  box-shadow: 5.71188px 5.71188px 10.3852px rgba(0, 0, 0, 0.4);
}

#toggle {
  height: 41px;
  width: 78px;
  position: absolute;
  bottom: 0;
  background: url(../images/pattern_1.svg) 0 0 no-repeat;
  background-size: cover;
  background-position: center;
  animation: move 20s infinite;
}

@keyframes move {
  0%,
  5% {
    opacity: 1;
    background-image: url(../images/pattern_2.svg);
  }

  15% {
    opacity: 1;
    transform: translate(0, 0);
    background-image: url(../images/pattern_1.svg);
  }

  20% {
    transform: translate(250px, 0);
    opacity: 1;
  }

  21% {
    opacity: 0;
  }

  50% {
    background-image: url(../images/pattern_1.svg);
    transform: translate(0, 0);
    opacity: 0;
  }

  51% {
    background-image: url(../images/pattern_2.svg);
    opacity: 0;
  }

  52%,
  57% {
    transform: translate(0, 0);
    opacity: 1;
  }

  62% {
    transform: translate(250px, 0);
    opacity: 1;
  }

  63%,
  100% {
    transform: translate(250px, 0);
    opacity: 0;
  }
}

@keyframes changeBackground {
  0%,
  51% {
    background-image: url(../images/look_2.jpg);
    -webkit-filter: grayscale(1);
  }

  52%,
  80% {
    background-image: url(../images/look_1.jpg);
    -webkit-filter: grayscale(1);
  }

  90%,
  100% {
    background-image: url(../images/look_2.jpg);
    -webkit-filter: grayscale(1);
  }
}

@keyframes mask {
  0%,
  20% {
    clip-path: inset(50% 50% 50% 50% round 50px);
    scale: 0.9;
  }

  25%,
  30% {
    clip-path: inset(0% 0% 0% 0% round 50px);
    scale: 1;
  }

  35%,
  40% {
    background-image: url(../images/look_2.jpg);
    -webkit-filter: grayscale(0);
    opacity: 1;
  }

  50%,
  53% {
    opacity: 1;
    -webkit-filter: grayscale(1);
    background-image: url(../images/look_1.jpg);
    clip-path: inset(0% 0% 0% 0% round 50px);
    scale: 1;
  }

  54%,
  56% {
    opacity: 0;
    background-image: url(../images/look_1.jpg);
    scale: 1;
  }

  57%,
  58% {
    opacity: 0;
    -webkit-filter: grayscale(0);
    clip-path: inset(50% 50% 50% 50% round 50px);
    scale: 0.9;
    background-image: url(../images/look_1.jpg);
  }

  59%,
  60% {
    opacity: 1;
    -webkit-filter: grayscale(0);
    clip-path: inset(50% 50% 50% 50% round 50px);
    scale: 0.9;
    background-image: url(../images/look_1.jpg);
  }

  68%,
  78% {
    clip-path: inset(0% 0% 0% 0% round 50px);
    scale: 1;
    background-image: url(../images/look_1.jpg);
    opacity: 1;
  }

  80%,
  100% {
    clip-path: inset(0% 0% 0% 0% round 50px);
    scale: 1;
    background-image: url(../images/look_1.jpg);
    opacity: 0;
  }
}

@media only screen and (min-width: 481px) {
  .toggle-mob {
    display: none;
  }

  #toggle-mob-wrapper {
    display: none;
  }

  #header-img {
    height: unset;
  }

  .img-1 {
    width: 40vw;
    height: 20vw;
    align-self: flex-end;
  }

  .img-2,
  .img-3 {
    width: 40vw;
    height: 20vw;
  }

  @keyframes shop-swipe {
    0% {
      transform: translate(-5%, 0);
    }

    40%,
    50% {
      transform: translate(-60%, 0);
    }

    100% {
      transform: translate(-5%, 0);
    }
  }
}
