@keyframes popin {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 15vh;
  max-height: 100vh;
  margin-bottom: 5vh;
  width: 80vw;
  margin: 15vh 0 10vw 10vw;
  animation: popin 0.3s linear 0.1s;
}

h1 {
  font-size: 3em;
}

form input {
  margin: 1em 0;
  border: none;
  width: 40vw;
  height: 10vh;
  font-size: 2em;
  text-align: center;
}
form input:focus {
  outline: none;
}

ul#links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  height: max-content;
  justify-content: center;
  /* Main buttons */
}
ul#links > li {
  border: 1px solid transparent;
  border-radius: 5px;
  text-align: center;
  margin: 0 2em 2em;
  height: 5em;
  width: 5em;
}
ul#links > li:hover, ul#links > li:focus {
  border-bottom-left-radius: 0px;
  outline: none;
}
ul#links > li img {
  width: 10vw;
  height: 3em;
  width: 3em;
  padding: 1em;
}
ul#links > li > a {
  cursor: initial;
}
ul#links > li > a:focus + ul, ul#links > li > a:active + ul, ul#links > li > a:hover + ul {
  opacity: 1;
  visibility: visible;
}
ul#links li {
  list-style: none;
  /* Links under buttons */
}
ul#links li:hover ul, ul#links li:focus ul, ul#links li:active ul {
  opacity: 1;
  visibility: visible;
}
ul#links li ul {
  overflow-y: auto;
  display: block;
  opacity: 0;
  visibility: hidden;
  text-align: left;
  margin: -4% 0 0;
  padding: 0;
  position: relative;
  height: content-box;
  max-height: 20vh;
  width: 200%;
  transition: opacity 0.1s;
}
ul#links li ul a {
  display: block;
  padding-left: 1em;
  text-decoration: none;
  line-height: 35px;
  font-size: 80%;
}
ul#links li.separator {
  display: flex;
  align-items: center;
  text-align: center;
}
ul#links li.separator:hover, ul#links li.separator:focus, ul#links li.separator:active {
  background: inherit;
}
ul#links li.separator::before, ul#links li.separator::after {
  content: "";
  flex: 1;
}
ul#links li.separator::before {
  margin-right: 0.25em;
}
ul#links li.separator::after {
  margin-left: 0.25em;
}

::-webkit-scrollbar {
  width: 0.6em;
  height: 0.6em;
}

::-webkit-scrollbar-thumb {
  background: slategray;
}

::-webkit-scrollbar-track {
  background: #b8c0c8;
}

body {
  scrollbar-face-color: slategray;
  scrollbar-track-color: #b8c0c8;
}

body {
  background: #111111;
  color: #727272;
}

h1 {
  color: #bfbfbf;
}

input[type=text] {
  background: #2b2b2b;
  color: #727272;
}

ul#links li {
  background: #2b2b2b;
  color: #727272;
}
ul#links li ul {
  background: #2b2b2b;
}
ul#links li ul a {
  color: #a5a5a5;
}
ul#links li ul a:hover {
  color: #d8d8d8;
}
ul#links li ul li:hover {
  background: #444444;
}
ul#links li img {
  filter: invert(90%) hue-rotate(170deg);
}
ul#links li.separator {
  color: #bfbfbf;
}
ul#links li.separator::before, ul#links li.separator::after {
  border-bottom: 1px dashed #727272;
}

/*# sourceMappingURL=dark.css.map */
