 {
   color:inherit;
}
a:visited {
   color:inherit;
}
.elshadow {
  text-shadow: 0 0 0.4vw currentColor;
}
.wrapper {
  position: relative;
  overflow: hidden;
  padding: 2%;
}
.wrapper > input {
  -webkit-appearance: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.periodic-table {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(12, 1fr);
  //height: 0; //uncomment this for vertical view
}

.elem