.auto-replenishment-header {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  height: 416px;
  width: 100%;
  overflow: hidden;
}
.auto-replenishment-header__image {
  width: 1600px;
  margin: 0 auto;
  position: absolute;
  right: -100px;
}

.auto-replenishment-header__title {
  font-size: 50px;
  font-family: "ClarinsRegular", "Clarins";
  font-weight: normal;
  line-height: 1em;
  margin: 0;
}
.auto-replenishment-header__text {
  font-size: 16px;
  font-family: "Gotham SSm medium A", "Gotham SSm medium B", "Gotham Medium",
    "GothamMedium", Helvetica, Arial, sans-serif;
  line-height: 1.4em;
  max-width: 300px;
  padding: 20px;
  margin: 0;
}
.auto-replenishment-header__content {
  display: flex;
  width: 575px;
  height: 310px;
  position: absolute;
  top: calc(50% - 155px);
  right: 60px;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1250px) {
  .auto-replenishment-header {
    overflow: visible;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  .auto-replenishment-header__image {
    right: 0px;
  }
  .auto-replenishment-header__content {
    right: 160px;
  }
}

@media (min-width: 1600px) {
  .auto-replenishment-header {
    width: 1600px;
    overflow: visible;
    margin-left: -175px;
  }
}
@media (max-width: 1023px) {
  .auto-replenishment-header {
    height: auto;
  }
  .auto-replenishment-header__image {
    position: relative;
    width: 100%;
    right: auto;
  }
  .auto-replenishment-header__image img {
    width: 100%;
  }
  .auto-replenishment-header__content {
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
    height: auto;
    padding-top: 40px;
  }
}
@media (max-width: 761px) {
  .auto-replenishment-header__title {
    font-size: 40px;
  }
}
