* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: none;
}

button {
  border: 1px solid transparent;
  width: 100%;
  padding: 10px 16px 12px;
  font-family: 'buttonFont';
  font-size: 22px;
  box-shadow: 0px 10px 20px -6px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  color: #fff;
  background-color: #5bb798;
  border-radius: 40px;
  filter: brightness(110%);
}

button:hover {
  filter: brightness(100%);
  box-shadow: none
}

#messageContainer {
  display: none;
  position: absolute;
  z-index: 3000;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
}

#message {
  position: relative;
  margin: 10px auto;
  padding: 10px;
  width: calc(100% - 10px);
  max-width: 600px;
  font-family: notesFont;
  font-style: normal;
  font-size: 24px;
}

.paper {
  border: 5px solid black;
  border-image: url("../images/torn.webp");
  border-image-slice: 5.5% fill;
  border-image-repeat: repeat;
  box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.1)
}

#desk {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  background-image: url("../images/wood.webp");
  padding: 5px;
}

#desk > * {
  opacity: 1;
  transition: opacity 1s;
}

#desk.loading > * {
  opacity: 0;
}