.fixed_buttons {
  display: flex;
  position: fixed;
  z-index: 1;
  right: 90px;
  bottom: 25%;
  scale: 0;
  transition: 0.3s scale linear;
}

.fixed_buttons.active {
  scale: 1;
}

.fixed_buttons_items {
  display: flex;
  flex-direction: column;
  gap: 20px 30px;
}

.fixed_buttons_items a,
.fixed_buttons_show {
  width: 60px;
  z-index: 1;
  position: relative;
  height: 60px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background-color: var(--Dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fixed_buttons_show {
  display: none;
}

.fixed_buttons_items a:hover svg,
.fixed_buttons_show:hover svg {
  scale: 1.07;
}

@media (max-width: 1500px) {
  .fixed_buttons {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .fixed_buttons {
    bottom: 70px;
    right: 25px;
  }

  .fixed_buttons:after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -25px;
    width: calc(100% + 50px);
    height: 0;
    background: rgba(217, 217, 217, 0.6);
    transition: var(--TransitionSlow);
    border-radius: 20px;
  }

  .fixed_buttons.open {
    gap: 30px;
  }

  .fixed_buttons.open:after {
    border-radius: 0;
    height: calc(100% + 30px);
  }

  .fixed_buttons_show {
    display: flex;
    border: none;
  }

  .fixed_buttons_show svg {
    transition: var(--TransitionStatic);
    transform: scaleX(-1);
  }

  .fixed_buttons.open .fixed_buttons_show svg {
    transform: scaleX(1);
  }

  .fixed_buttons_items {
    flex-direction: row;
    display: flex;
    overflow: hidden;
    max-width: 0;
    transition: var(--TransitionSlow);
  }
  .fixed_buttons.open .fixed_buttons_items {
    max-width: 240px;
  }

  .fixed_buttons_items a {
    flex-shrink: 0;
    white-space: nowrap;
  }
}
