.homepage-scroll-buttons-container {
  width: 136px;
  height: auto;
  margin-top: -368px;
  position: sticky;
  left: calc(50% + 750px);
  bottom: 100%;
  top: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 20;
}

.homepage-scroll-button {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.scroll-button-content {
  font-family: "Inter";
  font-weight: 700;
  font-size: 11px;
  line-height: 1em;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #121923;

  height: 32px;
  user-select: none;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  align-items: center;
}

.scroll-button-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 10px;
  transition: background-color 0.4s ease;
}

.scroll-buttons-seperator {
  display: flex;
  justify-content: flex-end;
}

.homepage-scroll-button {
  display: flex;
  justify-content: flex-end;
}

/* normal state for buttons container */

.homepage-scroll-button {
  width: fit-content;
}

.homepage-scroll-button .scroll-button-content {
  width: 0px;
  overflow: hidden;
  padding: 0px;

  transition:
    width 0.4s ease-in-out,
    padding 0.4s ease-in-out;
}

.seperator-spacer {
  width: 0px;
  padding: 0px;
  transition:
    width 0.4s ease-in-out,
    padding 0.4s ease-in-out;
}

/* hover state for buttons container */

.homepage-scroll-buttons-container:hover
  .homepage-scroll-button
  .scroll-button-content {
  width: 104px;
  padding: 0px 12px 0px 8px;
}

.homepage-scroll-buttons-container:hover .seperator-spacer {
  width: 104px;
  padding: 0px 12px 0px 8px;
}

/* each button hover state */

.homepage-scroll-button:hover:not(.scroll-button-active) {
  background-color: #eceaf9;
}

.homepage-scroll-button:hover:not(.scroll-button-active) .scroll-button-icon {
  background-color: #eceaf9;
}

.homepage-scroll-button:hover:not(.scroll-button-active)
  .scroll-button-content {
  color: #5b4fcf;
}

/* each button active state */

.homepage-scroll-button.scroll-button-active {
  background-color: #eceaf9;
}

.homepage-scroll-button.scroll-button-active .scroll-button-icon {
  background-color: #5b4fcf;
}

.homepage-scroll-button.scroll-button-active .scroll-button-icon path {
  fill: #ffffff;
}

/* media query starts */
@media only screen and (max-width: 1680px) {
  .homepage-scroll-buttons-container {
    left: calc(100% - 156px);
  }
}

@media only screen and (max-width: 1536px) {
  .homepage-scroll-buttons-container {
    top: calc(50% - 150px);
  }
}

@media only screen and (max-width: 1366px) {
  .homepage-scroll-buttons-container {
    top: calc(50% - 140px);
  }
}

@media only screen and (max-width: 1024px) {
  .homepage-scroll-buttons-container {
    display: none;
  }
}
