* {
  margin: 0px;
  padding: 0px;
}

body {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 100vh;
  background-color: rgb(26, 26, 27);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  font-size: 2vw;
}

.box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: white;
  width: 15vw;
  height: 10vh;
  border: 2px solid white;
  transition-duration: 0.5s;
}

.box:hover {
  color: rgb(46, 185, 46);
  border-color: rgb(46, 185, 46);
  animation: locked 0.35s linear;
}

@keyframes locked {
  0% {
    rotate: 0deg;
  }
  25% {
    rotate: 12deg;
  }
  50% {
    rotate: -12deg;
  }
  75% {
    rotate: 12deg;
  }
  100% {
    rotate: 0deg;
  }
}
