/*!
 * ensemble Social Share
 * @version 0.5.0
 * @link https://github.com/loltgt/ensemble-social-share
 * @copyright Copyright (C) Leonardo Laureti
 * @license MIT License
 */

.share-intent {
  transform: scale3d(1, 1, 1);
  transform: scale(1);
  backface-visibility: hidden;
  transition: transform 50ms linear;
}
.share-intent:active, .share-intent:focus {
  transform: scale3d(1.1, 1.1, 1.1);
  transform: scale(1.1);
}
@media (hover: hover) {
  .share-intent:hover {
    transform: scale3d(1.1, 1.1, 1.1);
    transform: scale(1.1);
  }
}

.social-share {
  display: block;
  font-size: 1rem;
  line-height: 1;
}
.social-share, .social-share * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.2rem;
  list-style: none;
}
.share-vertical .share-actions {
  flex-direction: column;
}

.share-action {
  text-align: center;
}

.share-button {
  cursor: pointer;
  appearance: none;
}

.share-button:active, .share-button:focus:not(:focus-visible) {
  outline: 0;
  -webkit-tap-highlight-color: transparent;
}

.share-intent {
  display: block;
  padding: 0.25rem 0.3rem;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  background: #999898;
  border: 0;
  border-radius: 0;
}

.share-icon {
  vertical-align: middle;
}
.share-icon:before, .share-icon:after, .share-icon svg {
  display: block;
}
.share-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.share-intent-web-share {
  background: #2c8888;
}

.share-intent-copy-link {
  background: #399d99;
}

.share-intent-send-email {
  background: #399d99;
}

.share-intent-facebook {
  background: #0666f8;
}

.share-intent-x {
  background: #393939;
}

.share-intent-linkedin {
  background: #2371d8;
}

.share-intent-threads {
  background: #404040;
}

.share-intent-bluesky {
  background: #0285ff;
}

.share-intent-reddit {
  background: #ff5000;
}

.share-intent-mastodon {
  background: #6364ff;
}

.share-intent-quora {
  background: #b92b27;
}

.share-intent-whatsapp {
  background: #02b12c;
}

.share-intent-messenger {
  background: #0174ff;
}

.share-intent-telegram {
  background: #0091dc;
}

.share-intent-skype {
  background: #0078d7;
}

.share-intent-viber {
  background: #7c64f3;
}

.share-intent-line {
  background: #22bb4f;
}

.share-intent-snapchat {
  background: #c7c000;
}

.share-copied-link-msg {
  position: fixed;
  top: 50%;
  left: 50%;
  display: inline-block;
  max-width: 80vw;
  width: 100%;
  padding: 1.3rem 3rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 1002;
}

.share-effects-copied-link {
  position: relative;
}

.share-effects-copied-link--bg {
  content: "";
  display: block !important;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: opacity 0.8s ease-out;
  opacity: 0.78;
  z-index: 1001;
}

.share-effects-copied-link--bg[hidden] {
  display: block !important;
  opacity: 1;
}

@media (min-width: 992px) {
  .share-actions {
    gap: 0.2rem 0.3rem;
  }
  .share-intent {
    font-size: 2rem;
  }
  .share-intent svg {
    width: 2rem;
    height: 2rem;
  }
  .share-copied-link-msg {
    width: auto;
  }
}