html {
  height: 100%;
  font-family: "Exo 2", Arial, Helvetica, sans-serif;
}

body,
#bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.6);
}

#bg-overlay {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 5fr 1fr;
  grid-template-rows: 50px 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
}

.panel {
  grid-area: 2 / 2 / 3 / 3;
  background-color: rgba(0, 0, 0, 0.75);
  max-width: 600px;
  color: #979797;
  border: 2px solid #979797;
  border-radius: 8px;
  margin: 0 auto;
  padding: 10px 10px 5px 10px;
  z-index: 1000;
}

title {
  font-size: 1.2em;
  white-space: nowrap;
}

.quantities {
  font-size: 0.9em;
  white-space: nowrap;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 10px;
}

.center {
  justify-content: center;
}

.left {
  justify-content: flex-start;
}

.right {
  justify-content: flex-end;
}

.row:not(:last-child) {
  padding-bottom: 10px;
  border-bottom: 1px solid #6d6d6d;
}

.cell {
  display: flex;
  align-items: center;
}

.cell:not(:first-child) {
  padding-left: 10px;
}

.cell > span {
  padding-left: 2px;
}

.clickable:hover {
  color: #fff;
}

.clickable.selected {
  color: #fff;
}

@media (pointer: coarse) and (hover: none) {
  html {
    font-size: 2.5rem;
  }
  .row {
    margin: 20px;
  }
}

.mdi {
  font-size: 1.2rem;
}

#hint {
  font-size: xx-small;
  text-align: center;
}

.hidden {
  display: none;
}

.fade-out {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.clickable {
  cursor: pointer;
}

#scenery-text {
  margin: 0px;
  font-size: 0.95em;
  white-space: pre-line;
  overflow-wrap: break-word;
}

.created-by-ai-img {
  width: 120px;
  float: right;
  clear: right;
  margin: 10px 0 0 10px;
}
