.fixed-nav {
  position: fixed;
  bottom: 95px; 
  right: 6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 0.7rem; 
  z-index: 300;

  .fixed-nav-button-area {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    background: var(--alpha-black-30);
    border-radius: 5rem;
  }

  .fixed-nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    color: var(--color-white);
    line-height: 0;
    position: relative;
    transition: all 0.3s;

    &.top-button {
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;

      &.show {
        opacity: 1;
        visibility: visible;
      }
    }

    &.text {
      width: 13.2rem;
      height: 4rem;
      column-gap: 0.8rem;
      border-radius: 9999px;
      justify-content: flex-start;
      padding: 0 4.2rem 0 1.6rem;

      .nav-text {
        font-size: 1.4rem;
        font-weight: var(--font-weight-bold);
        color: var(--color-white);
        transition: all 0.3s;
        text-align: left;
      }

      .icon-default,
      .icon-hover {
        left: auto;
        right: 1.6rem;
        transform: translate(0, -50%);
      }
    }

    .icon-default,
    .icon-hover {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      transition: opacity 0.3s;
      pointer-events: none;
    }

    .icon-default {opacity: 1; }
    .icon-hover {opacity: 0; }
 
    @media (hover: hover) and (pointer: fine) {
      &:hover {
        background: var(--color-white);
        color: var(--color-hover-bg);

        .nav-text {
          color: var(--color-hover-bg);
        }

        .icon-default { opacity: 0; }
        .icon-hover { opacity: 1; }
      }
    }
  }
}

@media screen and (max-width: 1280px) {
  .fixed-nav {
    right: 3rem;
    bottom: 16rem;
  }
}

@media screen and (max-width: 780px) {
  .fixed-nav {
    right: 1.5rem;
    bottom: 17.5rem;
  }
}

@media screen and (max-width: 600px) {
  .fixed-nav {
    bottom: 14rem;
    right: 1.8vw;

    .fixed-nav-button {
      width: 8vw;
      height: 8vw;

      &.text {
        width: 28vw;
        height: 4rem;

        .nav-text {
          font-size: 3vw;
        }

        .icon-default,
        .icon-hover {
          right: 3vw;
          width: 5.8vw;
          height: 5.8vw;
        }
      }
    }
  }
}