:root {
  --pageBlack: #262626;
  --pageYellow: #ffd83e;
  --pagePurple: #716171;
  --pageRed: #E1332d;
  --pageGreen: #2ce771;
  --lightGreen: #12ac86;
  --pageGrey: #212121;
  --lightBlue: #42a8de;

}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: sans-serif;
  /* overflow: hidden; */
  background-color: var(--lightGreen);
}
a {
  text-decoration: none;
  color:  rgb(235, 235, 235);
  font-family: sans-serif;
  font-size: 40px;
  border: 3px solid rgb(235,235,235);
  padding: 40px 80px;
  position: relative;
  transition: all .3s;
  overflow: hidden;
}
/* 
a:before {
  content: '';
  background-color: #c19491;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  position: absolute;
  z-index: -1;
  transform: skew(-15deg);
  animation: moving 2s linear 1;
  transition: all .5s;
}
@keyframes moving {
from {left: -120px}
to {left: 100%}
}
a:hover:before {
  width: 100%;
  transform: skew(0deg);
  animation: none;
} */
a:hover {
  border: 3px solid var(--pagePurple);
  color: var(--pagePurple);
  animation: shake .3s linear 1;
}
@keyframes shake {
  33% {transform: rotate(10deg);}
  66% {transform: rotate(-10deg);}
  100% {transform: rotate(10deg);}
}
