/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 * No require_tree: application.tailwind.css and design-system/ are compiled by
 * the Tailwind CLI into builds/tailwind.css, and geist-font.css has its own tag.
 *

 */


html {
  scroll-behavior: smooth;
}

/**
 * Copy to clipboard button, used by UI::CopyToClipboardButton
 */
.copy-to-clipboard-button {
  position: relative;
  display: inline-block;
  background: none;
  cursor: pointer;
}

.copy-to-clipboard-button.button-click,
.copy-to-clipboard-button:focus {
  outline: none;
}

.copy-to-clipboard-button:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -35px 0 0 -35px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  opacity: 0;
  background: rgba(111, 148, 182, 0.1);
}

.copy-to-clipboard-button.button-click:after {
  -webkit-animation: anim-effect-a 0.3s forwards;
}

@-webkit-keyframes anim-effect-a {
  0% {
    -webkit-transform: scale3d(0.3, 0.3, 1);
  }

  25%,
  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(1.2, 1.2, 1);
  }
}
