@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
html, body { background-color: #111; font-size: 1.2rem; margin-bottom: 2rem; }
h1 { font-family: 'Kaushan Script', cursive; font-weight: normal; color: #fff; margin: 0 0 1rem 0; text-align: center; }
footer { position: fixed; bottom: 0; width: 100%; height: 1.5rem; font-family: Arial, Helvetica, sans-serif; font-size: 0.8rem; background-color: #333; opacity: 0.6; }
footer a { float: right; line-height: 1.5rem; vertical-align: middle; color: #ccc; padding-right: 1rem; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.ug-textpanel-title { font-size: 0.75rem !important; }
@media (max-width: 768px) {
  html, body { font-size: 1rem; }
}
@media (max-width: 480px) {
  html, body { font-size: 0.8rem; }
}
/* hamburger menu from https://codepen.io/alvarotrigo/pen/yLzaPVJ */
#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked+.menu__btn>span {
  transform: rotate(45deg);
}
#menu__toggle:checked+.menu__btn>span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked+.menu__btn>span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked~.menu__box {
  left: 0 !important;
}
.menu__btn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
}
.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition-duration: .25s;
}
.menu__btn>span::before {
  content: '';
  top: -8px;
}
.menu__btn>span::after {
  content: '';
  top: 8px;
}
.menu__box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  width: 9rem;
  height: 100%;
  margin: 0;
  padding: 2rem 0;
  list-style: none;
  background-color: #555;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
  transition-duration: .25s;
}
.menu__item {
  display: block;
  color: #ccc;
  padding: 0.8rem 1rem 0 1rem;
  font-family: 'Roboto', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition-duration: .25s;
}
.menu__item:hover {
  color: #fff;
}
