body {
  margin: 0;
  padding: 0;
  background: url("assets/dungeon-exterior.jpg");
  
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.character-title {
  text-align: center;
  font-size: 2rem;
  padding: 0.5rem 1rem;
}

.class-title {
  text-align: center;
  font-size: 1.5rem;
}

.level-num {
  font-size: 1.5rem;
  padding: 0.25rem 0.5rem;
  text-align: center;
}

.columns {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.level-table {
  border-collapse: collapse;
  margin: 0.5rem 1rem;
}

.level-table tr:nth-child(odd):not(.inactive) {
  background: rgba(0, 0, 0, 0.125);
}

.level-table tr.inactive {
  color: #7a6127;
}

.level-table tr.inactive .ability-icon svg {
  fill: #7a6127;
}


.character-level .ability-icon {
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.125rem 0.25rem;
}

.ability-container {
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
}

tr:not(.inactive) .ability-container:hover, tr:not(.inactive) .ability-container.selected {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* start of stuff actually designed for this game */


.button {
  display: inline-block;
  color: #fea;
  font-size: 1.2rem;
  margin: 0.5rem 1rem;
  padding: 0.5rem 1rem;
  background: url("assets/dungeon-interior.jpg");
  border: 1px solid black;
  align-self: flex-end;
}

.panel {
  max-width: 36rem;
}

.character {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.character-name {
  font-size: 1.5rem;
  text-align: center;
}

.character-class {
  font-size: 1.2rem;
  text-align: center;
}

.stat-score {
  font-size: 2rem;
  padding: 1rem;
}

.stat-name {
  font-size: 1.2rem;
  font-weight: bold;
}

.extra-name {
  font-weight: bold;
  margin-left: 1rem;
  margin-right: 0.5rem;
  flex: 0 0 auto;
}

.stat-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.extra-row {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;
}

#gm {
  position: fixed;
  right: 0;
  bottom: 0;
  padding: 0.5rem 1rem;
}