.white {
  width: 960px;
  height: 720px;
  margin: 2rem auto;
  padding: 1rem;
  background-image: url("/shelf_life/shelf.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  background-color: black;
  outline-style: dotted;
  outline-color: magenta;
}

.black {
  width: 960px;
  height: 720px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: black;
  outline-style: dotted;
  outline-color: magenta;
}

body {
  font-family: monospace;
  margin: 0;
  padding: 0;
  background-color: black;
  color: #222;
}

header {
  font-family: monospace;
  background-color: black;
  color: #fff;
  text-align: center;
  white-space: pre;
}

footer {
  margin: 2rem auto;
  padding: 1rem;
  background-color: black;
  color: white;
  text-align: center;
  padding: 2px;
  font-family: monospace;
  font-size: 14px;
}

footer a,
footer a:active,
footer a:visited {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: yellow;
  text-decoration: none;
}

h1, h2 {
  margin: 0;
  font-family: monospace;
  color: yellow;
  font-size: 16px;
  font-weight: normal;
  display: inline-block;
  white-space: pre;
}

p {
  font-family: monospace;
  color: white;
  display: inline-block;
  white-space: pre;
  font-size: 16px;
  margin-bottom: 1rem;
}

/* --- header button ----------------------------------------- */

.button_ascii {
  cursor: pointer;
  font-family: monospace;
  background-color: black;
  border: none;
  color: magenta;
  padding: 0px;
  text-decoration: none;
  margin: 0;
  display: inline-block;
  white-space: pre;
  font-size: 12px;
}

.button_ascii:hover {
  color: yellow;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

/* --- enter button ----------------------------------------- */

.button_enter {
  cursor: pointer;
  font-family: monospace;
  background-color: black;
  border: none;
  color: yellow;
  padding: 0px;
  text-decoration: none;
  margin: 0;
  display: inline-block;
  white-space: pre;
  font-size: 12px;
}

.button_enter:hover {
  color: magenta;
}

/* --- hover feature ----------------------------------------- */

.tooltip {
  display: none;
  position: absolute;
  top: 2px;
  left: 30px;
  background: black;
  border-style: dotted;
  border-color: magenta;
  font-family: monospace;
  color: #fff;
  padding: 20px;
  font-size: 16px;
  white-space: pre;
}

.hotspot {
  position: absolute;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.dot {
  color: yellow;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}

.hotspot:hover .dot {
  color: magenta;
}

.hotspot:hover .tooltip {
  display: block;
}

/* --- tutorial feature ----------------------------------------- */

.modal {
  position: fixed;
  width: 960px;
  height: 720px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  outline-style: solid;
  outline-width: 16px;
  outline-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: black;
  padding: 2rem;
  max-width: 500px;
  text-align: center;
  border-style: dotted;
  border-color: magenta;
}

.modal-content button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: black;
  color: yellow;
  border: none;
  cursor: pointer;cu
  font-size: 16px;
  font-family: monospace;
  white-space: pre;
}

.modal-content button:hover {
  color: magenta;
}

.modal-content p {
  font-size: 16px;
  font-family: monospace;
  color: white;
  text-align: left;
}