.floating-icons {
  display: none;
}

.message {
  display: none;
  position: absolute;
  right: 55px;
  /* right: -100px; */
  background-color: #1c0424;
  color: white;
  width: 150px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 20px;
}

.floating-icon:nth-of-type(2) .message {
  background-color: #25d366;
}

.floating-icon:nth-of-type(3) .message {
  background-color: #2533d3;
}

.floating-icon:nth-of-type(4) .message {
  background-color: #0088cc;
}

.floating-icon:nth-of-type(5) .message {
  background-color: #9b1dd5;
}

.floating-icon:nth-of-type(6) .message {
  background-color: #f45722;
}

.floating-icon:nth-of-type(7) .message {
  background-color: #d0a517;
}

@media (min-width: 643px) {
  .floating-icons {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: fixed;
    right: 8px;
    bottom: 25%;
    z-index: 999;
  }

  .floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #1c0424;
    border-radius: 50%;
    margin-bottom: 8px;
    transition: transform 0.2s ease-out;
  }

  .floating-icon:nth-of-type(2) {
    background-color: #25d366;
  }

  .floating-icon:nth-of-type(3) {
    background-color: #2533d3;
  }

  .floating-icon:nth-of-type(4) {
    background-color: #0088cc;
  }

  .floating-icon:nth-of-type(5) {
    background-color: #9b1dd5;
  }

  .floating-icon:nth-of-type(6) {
    background-color: #f45722;
  }

  .floating-icon:nth-of-type(7) {
    background-color: #d0a517;
  }

  .floating-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
  }

  .floating-icon :hover {
    background-color: #555;
    border-radius: 50%;
    transform: scale(1.1);
  }

  .floating-icon:hover .message {
    display: block;
  }
}