:root {
  --bg-color: hsl(19deg 89% 78%);
  --text-color: #1d2326;
}

@font-face {
  font-family: "OrpheusPro";
  src: local("OrpheusPro"), url(./fonts/OrpheusPro-Bold.ttf) format("truetype");
  /* other formats include: 'woff', 'woff2', 'truetype, 'opentype',
                              'embedded-opentype', and 'svg' */
}

body {
  background-color: hsl(19deg 89% 78%);
  transition: background 1s ease-in-out;
  color: var(--text-color);
  width: 100vw;
  height: 100vh;
  margin: 0px;
  font-family: OrpheusPro;
}

#element-data {
  position: absolute;
  top: 128px;
  left: 64px;
}

#element-name {
  font-size: 128px;
  animation: loadIn 0.2s ease-in-out;
}

#element-appearance {
  font-style: italic;
  font-size: 24px;
  animation: loadIn 0.2s ease-in-out;
}

#element-properties {
  margin-top: 32px;
  font-size: 24px;
  animation: loadIn 0.2s ease-in-out;
}

.element-property-container {
  display: flex;
  flex-wrap: nowrap;
  width: 900px;
}

.element-property-value {
  margin-left: auto;
}

.table-element:hover {
  background: var(--text-color);
  color: white;
}

.table-element {
  position: absolute;
  border: var(--text-color) solid 1px;
  width: 80px;
  height: 80px;
  padding-top: 4px;
  text-align: center;
  font-size: 32px;
  border-radius: 2px;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.element-name {
  font-size: 12px;
}

.element-z-number {
  position: absolute;
  font-size: 16px;
  bottom: 4px;
  left: 4px;
}

@keyframes loadIn {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
