#fixed-nav {
  position: fixed;
  right: 0;
  top: 35%;
  z-index: 1000;
  transition: all 0.3s;
  min-height: 40px;
}

#fixed-nav ul {
  display: flex;
  flex-direction: column;
}

#fixed-nav li {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: #474747;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
  position: relative;
}

#fixed-nav li:hover {
  background-color: dodgerblue;
}

#fixed-nav li .tw-icon {
  font-size: 14px;
}

#fixed-nav .tooltips {
  position: absolute;
  right: 110%;
  background-color: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 3px;
  white-space: nowrap;
  font-size: 12px;
  display: none;
  line-height: 18px;
}

#fixed-nav .show-btn {
  position: absolute;
  top: 40%;
  width: 20px;
  height: 40px;
  flex-shrink: 0;
  background-color: #474747;
  color: #fff;
  text-align: center;
  line-height: 40px;
  margin-bottom: 1px;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
  transition: all 0.3s;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
}

#fixed-nav.fixed-nav-hidden {
  transform: translateX(105%);
}

#fixed-nav.fixed-nav-hidden .show-btn {
  transform: scale(1);
  visibility: visible;
  right: 100%;
  opacity: 1;
}

@media (min-width: 768px) {
  #fixed-nav li .tw-icon {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  #fixed-nav li {
    width: 50px;
    height: 50px;
  }
}
