* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}

#animated-square-background {
  height: 100%;
  width: 100%;
  background: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

#animated-square-background .animated-box {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  display: block;
  pointer-events: none;
  border-radius: 0.5rem;
  animation: animate 3s linear infinite;
}

@keyframes animate {
  0% {
    opacity: 0;
    transform: scale(0) translateY(-200%) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1) translateY(-500%) rotate(360deg);
  }
}

