a {
  -webkit-tap-highlight-color:transparent;
  color: var(--text-light);
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  flex: 1;
  cursor: pointer;
}
a:visited, a:focus, a:active { color: var(--text-light); text-decoration: none; }

a:hover {
  color: var(--text);
  text-decoration: underline;
}

a.button  {
  width: auto;
  min-width: calc(32 * var(--unit));
  margin: 0;
  padding: var(--1unit);
  text-decoration: none;
  color: var(--text);
  display: block;
  overflow: hidden !important;
  position: relative;
  transform: translate3d(0, 0, 0);
  line-height: 1.6;
  outline: none;
  cursor: pointer;
  background: var(--accent-t);
  border: var(--pixel) solid var(--accent2-t2);
  text-align: center;
  box-shadow: 0 0 var(--1unit) var(--accent2-t);
  letter-spacing: var(--pixel);
}

a.button.short  {
  max-width: max-content;
  flex: 1;
}

a.inline {
  display: inline !important;
}

a.button:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--text) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10,10);
  opacity: 0;
  transition: transform .5s, opacity 0.7s;
}

a.button:active:after {
  transform: scale(0,0);
  opacity: .3;
  transition: transform 0s, opacity 0s;
}

a.button:hover {
  color: var(--text-accent);
  background: var(--accent2);
  box-shadow: 0 0 var(--1unit) var(--text-accent);    

}

a.link {
  width: auto;
  min-width: calc(32 * var(--unit));
  text-align: center;
  height: var(--8unit);
  text-decoration: underline;
  color: var(--text);
  display: block;
  flex-direction: row;
  overflow: hidden;
  line-height: var(--8unit);
  outline: none;
  cursor: pointer;
  padding: var(--halfunit);
  padding-left: var(--2unit);
  background: transparent;
  letter-spacing: var(--pixel);
}

a.link:hover {
  color: var(--accent);
}

