* {
  box-sizing: border-box;
}

canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@font-face {
  font-family: "avenir";
  src: url("AvenirLTStd-Book.otf") format("opentype");
}

.card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;

  background: rgba(0, 0, 0, 0.5);
  font-family: "avenir", Arial, Helvetica, sans-serif;

  display: flex;
  justify-content: center;
  align-items: center;
}

.card .content {
  padding: 1rem;
  border-radius: 5px;
  background: white;
  position: relative;
}

.card .content button[name="close"] {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 2rem;

  width: 3rem;
  height: 3rem;
  padding: .5rem;
  line-height: 0;

  border: none;
  background: none;
  margin: none;
  padding: none;
  outline: none;
}

.card .content button[name="close"]:hover {
  color: rgba(155, 0, 0, 1);
}

.card.hidden {
  display: none;
}

.card.hidden {
  display: none;
}

#more-info-cont {
  display: flex;
  gap: 1rem;
}

#more-info-cont hr {
  flex-grow: 1;
}

#more-info.hidden {
  display: none;
}
