* {
  -webkit-user-select: none;
  user-select: none;
  color: #fda;
  font-weight: 100;
  touch-action: none;
  overscroll-behavior: contain;
}

html,
body {
  background: #000;
  margin: 0;
  font-family: "Times New Roman", serif;
  font-size: max(min(3.8vw, 3.8vh), 15px);
  text-shadow: 4px 4px 2px #000, -2px -2px 8px #000;
}

/* menu bottom text */
p {
  font-size: 0.7em;
}

body > * {
  position: absolute;
}

/* menu title */
h2 {
  color: #f61;
  margin: 0 0 0.7em;
}

/* messages */
h4 {
  left: 0;
  top: 0;
  right: 0;
  text-align: center;
}

/* disable mouse and touch events to souls counter and messages */
h3,
h4 {
  pointer-events: none;
}

/* main menu container */
.m main {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0;
  bottom: 0;
  min-width: 70%;
}

/* main menu inner */
nav {
  background: #00000080;
  border-radius: 1em;
  max-width: max(780px, 50vw);
  padding: 1em;
}

/* menu hamburger */
#b5,
/* souls counter */
h3 {
  padding: 10px;
}

/* souls counter */
h3 {
  text-align: right;
  right: 5%;
  bottom: 0;
}

/* links */
a,
/* menu buttons */
li {
  cursor: pointer;
  margin-bottom: 0.5em;
  text-decoration: none;
  border-bottom: 3px solid #00000000;
}

/* menu title */
h2,
/* links hover */
a:hover,
/* menu button hover */
li:hover {
  border-bottom: 3px solid;
}

/* hide main menu by default */
main,
/* hide messages if in menu */
.m h4,
/* hide the collision canvas */
#hD {
  display: none;
}
