:root {
  --color-primary-500: #FFEB3B;
  --color-primary-600: #FDD835;
  --color-primary-900: #F57F17;
  --color-secondary-500: #009688;
  --color-secondary-900: #004D40;
  --font-primary: "Montserrat", sans-serif;
}
.ads-btn {
  margin: 0;
  position: absolute;
  padding: 12px 24px;
  right: 12px;
  bottom: 72px;
  z-index: 1;
  background: var(--color-primary-500);
  color: var(--color-secondary-900);
  font-size: 14px;
  font-weight: 300;
  line-height: normal;
  border: 0;
  border-radius: 0.4rem;
  box-shadow: -1px 1px 8px rgba(0, 0, 0, 0.4);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  transition: background 250ms, box-shadow 250ms;
}
.ads-btn:hover {
  background: var(--color-primary-600);
  box-shadow: -2px 2px 16px rgba(0, 0, 0, 0.6);
}
.ads-btn:active, .btn:focus {
  outline: none;
}
.ads-btn:active {
  box-shadow: -4px 4px 24px rgba(0, 0, 0, 0.8);
}
.ads-btn .text {
  position: relative;
  z-index: 2;
}
.ads-btn .dot {
  position: absolute;
  z-index: -1;
  display: block;
  width: 200px;
  height: 10px;
  transform-origin: 5px 5px;
  pointer-events: none;
}
.ads-btn .dot:nth-child(1) {
  top: 50%;
  left: 100%;
  transform: translate3d(-10px, -5px, 0);
}
.ads-btn .dot:nth-child(2) {
  bottom: 0;
  left: 100%;
  transform: translate3d(-10px, 0, 0) rotate(45deg);
}
.ads-btn .dot:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translate3d(-5px, 0, 0) rotate(90deg);
}
.ads-btn .dot:nth-child(4) {
  bottom: 0;
  left: 0;
  transform: rotate(135deg);
}
.ads-btn .dot:nth-child(5) {
  top: 50%;
  left: 0;
  transform: translate3d(0, -5px, 0) rotate(180deg);
}
.ads-btn .dot:nth-child(6) {
  top: 0;
  left: 0;
  transform: rotate(225deg);
}
.ads-btn .dot:nth-child(7) {
  top: 0;
  left: 50%;
  transform: translate3d(-5px, 0, 0) rotate(270deg);
}
.ads-btn .dot:nth-child(8) {
  top: 0;
  left: 100%;
  transform: translate3d(-10px, 0, 0) rotate(315deg);
}
.ads-btn .dot::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary-500);
  border-radius: 50%;
  offset-path: path("M0 1c7.1 0 10.7 2 14.3 4s7.1 4 14.3 4 10.7-2 14.3-4 7.2-4 14.3-4 10.7 2 14.3 4 7.1 4 14.3 4 10.7-2 14.3-4 7.1-4 14.3-4 10.7 2 14.3 4 7.1 4 14.3 4 10.7-2 14.3-4 7.1-4 14.3-4 10.7 2 14.3 4 7.1 4 14.3 4");
  offset-distance: 0;
  pointer-events: none;
  content: "";
}
.ads-btn.is-animating .dot::before {
  -webkit-animation: dot 750ms cubic-bezier(0.215, 0.61, 0.355, 1);
          animation: dot 750ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
@-webkit-keyframes dot {
  0% {
    offset-distance: 0%;
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}
@keyframes dot {
  0% {
    offset-distance: 0%;
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}