@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500&display=swap");
* {
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}
*:before, *:after {
  box-sizing: inherit;
}

body {
  background: radial-gradient(circle at 50% 0%, #9588c7 15%, #c79ed5 75%);
  height: auto;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  font-family: "Inter", Arial;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 0%, #9588c7 15%, #c79ed5 75%);
}

html {
  -webkit-font-smoothing: antialiased;
}

img {
  width: 100%;
}

.mainContainer {
  display: flex;
  align-items: flex-start;
  /* justify-content: center; */
  flex-direction: column;
  width: 70vw;
  box-sizing: border-box;
}

.buttonContainer {
  padding: 4em;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.sketch-button {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  appearance: none;
  outline: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  background-image: linear-gradient(90deg, #fcecfe, #fbf6e7, #e6fcf5);
  border-radius: 11px;
  padding: 12px 20px;
  position: relative;
  line-height: 24px;
  color: #14387e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, ), 0 4px 16px rgba(0, 0, 0, ), 0 4px 24px rgba(0, 0, 0, );
}

.sketch-button.start svg {
  animation: stroke 1s linear;
}

.sketch-button .lines {
  position: absolute;
  inset: 0;
  mix-blend-mode: hard-light;
  pointer-events: none;
  z-index: 1;
}

.sketch-button .lines > svg {
  display: block;
  position: absolute;
  inset: 0;
  overflow: visible;
  fill: none;
  stroke-width: 2;
  stroke: #c9e9ff;
  width: 100%;
  height: 100%;
  stroke-dasharray: 2 3;
  stroke-dashoffset: 14;
  opacity: 0;
}

/* > targets direct children. A space targets all children */
.sketch-button .lines > svg:nth-child(1) {
  stroke: #f8fcff;
}

.sketch-button .lines > svg:nth-child(2) {
  stroke-width: 6px;
  filter: blur(20px);
}

.sketch-button .lines > svg:nth-child(3) {
  stroke-width: 5px;
  filter: blur(6px);
}

.sketch-button .lines > svg:nth-child(4) {
  stroke-width: 10px;
  filter: blur(56px);
}

@keyframes stroke {
  30%, 55% {
    opacity: 1;
 }
  100% {
    stroke-dashoffset: 4;
    opacity: 0;
 }
}

/* example classes */
.exampleLines {
  stroke-width: 3;
  stroke: #000000;
}

.overflowStrokeExample {
  stroke-width: 3;
  stroke: #000000;
  overflow: visible;
}

.strokeDashArrayExample {
  stroke-width: 3;
  stroke: #000000;
  overflow: visible;
  stroke-dasharray: 2 3;
}

.glowingStrokeExample {
  overflow: visible;
  stroke-width: 3;
  stroke: #c9e9ff;
  stroke-dasharray: 2 3;
}

.blurGlowingStrokeExample {
  pointer-events: none;
  overflow: visible;
  stroke-width: 3;
  stroke: #c9e9ff;
  stroke-dasharray: 2 3;
  stroke-width: 5px;
  filter: blur(6px);
}

.blurStrokeOnlyExample {
  pointer-events: none;
  overflow: visible;
  stroke-width: 3;
  stroke: #c9e9ff;
  stroke-dasharray: 2 3;
  stroke-width: 5px;
  filter: blur(6px);
  fill: none;
}

.noBlurCore {
  pointer-events: none;
  overflow: visible;
  stroke-width: 3;
  stroke: #c9e9ff;
  stroke-dasharray: 2 3;
  stroke-width: 2px;
  fill: none;

  display: block;
  position: absolute;
  stroke: #f8fcff;
}

.spacerHack {
  /* button usually takes up the space needed. */
  /* Since this is just a div we need something to hold the height */
  /* hence the opacity 0 */
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  stroke-width: 3;
  stroke: #c9e9ff;
  stroke-dasharray: 2 3;
  stroke-width: 2px;
  fill: none;
  stroke: #f8fcff;
}

.smallBlur {
  pointer-events: none;
  overflow: visible;
  stroke-width: 3;
  stroke: #c9e9ff;
  stroke-dasharray: 2 3;
  stroke-width: 5px;
  filter: blur(6px);
  fill: none;

  display: block;
  position: absolute;
  stroke-width: 5px;
  filter: blur(6px);
}

.mediumBlur{
  pointer-events: none;
  overflow: visible;
  stroke-width: 3;
  stroke: #c9e9ff;
  stroke-dasharray: 2 3;
  stroke-width: 5px;
  filter: blur(6px);
  fill: none;

  display: block;
  position: absolute;
  stroke-width: 6px;
  filter: blur(20px);
}

.bigBlur {
  pointer-events: none;
  overflow: visible;
  stroke-width: 3;
  stroke: #c9e9ff;
  stroke-dasharray: 2 3;
  stroke-width: 5px;
  filter: blur(6px);
  fill: none;
  
  display: block;
  position: absolute;
  stroke-width: 10px;
  filter: blur(56px);
}

.exampleButton {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  appearance: none;
  outline: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  background-image: linear-gradient(90deg, #fcecfe, #fbf6e7, #e6fcf5);
  border-radius: 11px;
  padding: 12px 20px;
  position: relative;
  line-height: 24px;
  color: #14387e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, ), 0 4px 16px rgba(0, 0, 0, ), 0 4px 24px rgba(0, 0, 0, );
}

.fullGlowingLinesExample{
  pointer-events: none;
  top: 0px;
  left: 0px;
  position: absolute;
}

.movingFullGlowingLinesExample{
  position: absolute;
  top: 0;
  left: 0;
  stroke-dashoffset: 12;
  animation: animationName 1s linear;
  animation-iteration-count: infinite;
}

.moveAndFadeExample{
  position: absolute;
  top: 0;
  left: 0;
  stroke-dashoffset: 12;
  animation: moveAndFade 1s linear;
  animation-iteration-count: infinite;
  mix-blend-mode: hard-light;
}

.noClipDivClass {
  position: absolute;
  inset: 0;
  mix-blend-mode: hard-light;
  pointer-events: none;
  z-index: 1;
}

.noClipDivClass > svg {
    display: block;
    position: absolute;
    inset: 0;
    overflow: visible;
    fill: none;
    stroke-width: 2;
    stroke: #c9e9ff;
    width: 100%;
    height: 100%;
    stroke-dasharray: 2 3;
    stroke-dashoffset: 14;
    opacity: 0;
    animation: moveAndFade 1s linear;
    animation-iteration-count: infinite;
}

.noClipDivClass > svg:nth-child(1) {
  stroke: #f8fcff;
}

.noClipDivClass > svg:nth-child(2) {
  stroke-width: 6px;
  filter: blur(20px);
}

.noClipDivClass > svg:nth-child(3) {
  stroke-width: 5px;
  filter: blur(6px);
}

.noClipDivClass > svg:nth-child(4) {
  stroke-width: 10px;
  filter: blur(56px);
}

@keyframes animationName {
  /* if 0% isn't defined uses the initial values */

  0% {
    /* opacity: 0; */
    stroke-dashoffset: 12;
  }

  30%, 55% {
    /* opacity: 1; */
 }
  100% {
    /* opacity: 0; */
    stroke-dashoffset: 4;
 }
}

@keyframes moveAndFade {
  /* if 0% isn't defined uses the initial values */

  0% {
    opacity: 0;
    stroke-dashoffset: 12;
  }

  30%, 55% {
    opacity: 1;
 }
  100% {
    opacity: 0;
    stroke-dashoffset: 4;
 }
}


/* final CSS */
/*************/
.glowing-button {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  appearance: none;
  outline: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  background-image: linear-gradient(90deg, #fcecfe, #fbf6e7, #e6fcf5);
  border-radius: 11px;
  padding: 12px 20px;
  position: relative;
  line-height: 24px;
  color: #14387e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, ), 0 4px 16px rgba(0, 0, 0, ), 0 4px 24px rgba(0, 0, 0, );
}

.glowingButtonLinesContainer {
  position: absolute;
  inset: 0;
  mix-blend-mode: hard-light;
  pointer-events: none;
  z-index: 1;
}

/* if it has glowing button class and start class and is a child svg, will animate. */
.glowing-button.start svg{
  animation: makeTheButtonGlow 1s linear;
}

.glowingbuttonSVG {
  display: block;
  position: absolute;
  inset: 0;
  overflow: visible;
  fill: none;
  stroke-width: 2;
  stroke: #c9e9ff;
  width: 100%;
  height: 100%;
  stroke-dasharray: 2 3;
  stroke-dashoffset: 14;
  opacity: 0;
}

.glowingbuttonSVG.noBlurCore {
  stroke: #f8fcff;
}

.glowingbuttonSVG.mediumBlur {
  stroke-width: 6px;
  filter: blur(20px);
}

.glowingbuttonSVG.smallBlur {
  stroke-width: 5px;
  filter: blur(6px);
}

.glowingbuttonSVG.largeBlur {
  stroke-width: 10px;
  filter: blur(56px);
}

@keyframes makeTheButtonGlow {
  0% {
    opacity: 0;
    /* stroke-dashoffset: 14; is set on the element, 0 uses initial state */
  }

  30%, 55% {
    opacity: 1;
 }
  100% {
    opacity: 0;
    stroke-dashoffset: 4;
 }
}

