@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

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

body {
  font-family: "Roboto", sans-serif;
  background-color: #333;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

button {
  font-family: inherit;
  background-color: purple;
  border: 1px solid purple;
  padding: 20px 40px;
  font-size: 18px;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

button:focus {
  outline: none;
}

button .circle {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: #fff;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  animation: scale 0.5s ease-out;
}

@keyframes scale {
  to {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}
