/*** Botones Flotantes ***/
.float-container {
  position: fixed;
  right: 15px;
  bottom: 5px;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  transition: margin 0.5s ease-in-out;
}

.float-wsp,
.float-phone,
.float-facebook,
.float-instagram,
.float-linkedin,
.float-tiktok {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  transition: 0.2s;
}

.float-phone {
  background-color: var(--primario);
  font-size: 27px;
}

.float-facebook {
  background-color: #3b5998;
  font-size: 27px;
}

.float-instagram {
  background-color: #ea0c5f;
  background: linear-gradient(0deg, #f6ba00 0%, #c0007a 100%);
  font-size: 27px;
}

.float-linkedin {
  background-color: #0072b1;
  font-size: 27px;
}

.float-tiktok {
  background-color: #000000;
  font-size: 27px;
}

.float-wsp:hover,
.float-phone:hover,
.float-phone:hover,
.float-facebook:hover,
.float-instagram:hover,
.float-linkedin:hover,
.float-tiktok:hover {
  color: #fff;
}

.back-to-top {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 20px;
  bottom: 35px;
  margin-bottom: -20px;
  width: 45px;
  height: 45px;
  background-color: var(--primario);
  color: var(--white);
  border-radius: 50px;
  text-align: center;
  font-size: medium;
  box-shadow: 2px 2px 3px #999;
  transition: 0.2s;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.3s ease-in-out;
}

.back-to-top:hover {
  background-color: var(--cuarto);
  color: var(--white);
}

@media (max-width: 991.98px) {
  .float-container {
    right: .25rem;
    bottom: 5px;
  }

  .float-wsp,
  .float-phone,
  .float-facebook,
  .float-instagram,
  .float-linkedin,
  .float-tiktok {
    width: 2.5em;
    height: 2.5em;
    font-size: 15px;
  }

  .back-to-top {
    width: 2.5em !important;
    height: 2.5em !important;
    font-size: small;
  }
}
