@font-face {
  font-family: Garamond;
  src: url(garamond.ttf);
}

@font-face {
  font-family: Oswald;
  src: url(oswald.ttf);
}

body {
  font-family: Oswald, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0 auto;
  padding: 0;
  font-weight: 300;
  text-align: center;
}

* {
  user-select: none;
}

a {
  color: #3366CC;
}

h1, h2, h3, h4, h5, h6,
.garamond {
  font-family: Garamond, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;;
}

:root {
  --canvas-width: 800px;
  --canvas-height: 600px;
}

button {
  background-image: url(../images/button_left.png), url(../images/button_right.png), url(../images/button_middle.png);
  background-position: left, right, center;
  background-repeat: no-repeat, no-repeat, repeat-x;
  background-size: contain;
  border: none;
  outline: none;
  padding: 5px 9px 6px 9px;
  font-family: Oswald;
  margin-left: 10px;
  margin-bottom: 20px;
}

button:nth-of-type(1) {
  margin-left: 0;
}

button:active {
  color: #fff;
  background-image: url(../images/button_left_pressed.png), url(../images/button_right_pressed.png), url(../images/button_middle_pressed.png);
}

.hidden {
  display: none;
}

.absolute_center {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%,-50%);
}

.dialog {
  background: #ddd;
  z-index: 100;
  padding: 0 20px;
  border-left: 1px solid #fff;
  border-top: 1px solid #fff;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  outline: 1px solid #000;
  text-align: left;
  box-sizing: border-box;
}