.head__section {
  position: relative;
  height: 2000px;
}
.head__content {
  position: fixed;
  height: 100vh;
  width: 100%;
}
.head__content.bottom {
  position: absolute;
  top: unset;
  bottom: 0;
}
.head__bg1,
.head__bg2 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.head__bg2 {
  opacity: 0;
  transition: opacity 1s;
}
.head__capsule1 {
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(8%, -50%);
}
.head__capsule2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-8%, -48%);
  z-index: 3;
}
.head__item1 {
  position: absolute;
  left: 50%;
  width: 292px;
  top: 50%;
  transform: translate(-102%, -50%) scale(0);
  transform-origin: right;
}
.head__item2 {
  position: absolute;
  left: 50%;
  width: 248px;
  top: 50%;
  transform: translate(2%, -45%) scale(0);
  transform-origin: left;
}
.head__pack {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -44%) scale(0);
  width: 407px;
}
.head__text {
  position: absolute;
  left: -600px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 575px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 46px;
  font-weight: bold;
  color: #fff;
  width: 100%;
}
.head__text-holder {
  position: absolute;
  left: calc(50% - 200px);
  width: calc(50% + 200px);
  top: 0;
  height: 100%;
  overflow: hidden;
}
.head__header {
  font-size: 90px !important;
  font-weight: 400 !important;
  padding: 0 !important;
}
.head__capsules {
  position: absolute;
  top: calc(100% + 130px);
  left: calc(50% - 140px);
  transform: translateX(-50%);
  width: 419px;
}
@media (max-width: 1199px) {
  .head__text {
    font-size: 40px;
  }
}
@media (max-width: 991px) {
  .head__header {
    font-size: 40px !important;
    padding: 0 !important;
  }
  .head__text {
    font-size: 30px;
  }
  .head__pack {
    width: 290px;
  }
  .head__capsules {
    transform: translate(-37%, -40%);
    width: 275px;
  }
}
@media (max-width: 767px) {
  .head__item2,
  .head__item1 {
    width: 27%;
  }
  .head__capsule1,
  .head__capsule2 {
    width: 25%;
  }
  .head__pack {
    width: 70%;
  }
  .head__capsules {
    display: none;
  }
  .head__text-holder {
    left: 15px;
    width: calc(100% - 30px);
  }
  .head__text {
    left: 0;
    transform: none;
    top: 100%;
    max-width: 100%;
    text-align: center;
    font-size: 28px;
  }
  .head__header {
    font-size: 50px !important;
  }
  .head__capsule2 {
    transform: translate(-8%, -50%);
  }
}
