:root {
  --main-color: #213555;
  --off-blue: #4F709C;
  --alt-color: #1195db;
  --off-white: #F7EEDD;
  --row-bg: #213555;
}

body {
  font-family: sans-serif;
  font-size: 18px;
  background: #101017;
  margin: 0;
  color: var(--off-white);
}

header, .mob-name {
  display: block;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--main-color);
  color: var(--off-white);
}

form {
  margin: 0;
  display: block;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  max-width: 500px;
  margin: 0 auto;
}

#selector {
  font-size: 21px;
  width: 160px;
}

#next-rain {
  margin-left: 8px;
  font-size: 21px;
  font-weight: bold;
  max-width: 70vw;
  overflow: auto;
  white-space: nowrap;
}

@media (min-width: 600px) {
  #output {
    justify-content: center;
  }
}

.npc {
  max-width: 800px;
  min-width: 160px;
  margin: 14px auto;
  font-size: 18px;
}

h5 {
  margin: 0px;
  padding: 6px 4px;
  background-color: var(--main-color);
  border: 0.5px solid var(--main-color);
}

.stat-section {
  margin-top: 2px;
  padding: 0px 1px;
}

.stat-section > p {
  padding: 14px 4px;
  margin: 0px;
}

.stat-section > p:nth-child(3) {
  padding-top: 0px;
}

.npc-body {
  display: grid;
  grid-template-columns: repeat(6, auto);
  border: 2px solid var(--main-color);
  background: #0f232c;
}

#notice {
  cursor: pointer;
  display: none;
  border: 1px solid var(--off-blue);
  background: var(--main-color);
  padding: 12px;
  position: fixed;
  bottom: 8px;
  left: 8px;
}

#notice * {
  cursor: pointer;
}

.smol {
  font-size: 12px;
}

.hide {
  display: none;
}

.mob-drops {
  display: flex;
  flex-direction: column;
}

.drops-header {
  background: var(--main-color);
  font-weight: bold;
}

.drop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px 6px;
  border-bottom: 1px solid var(--off-blue);
  font-size: 16px;
}

.drop:last-child {
  border: none;
}

.drop div {
  border: none;
}

.drop-chance {
  padding-left: 21px;
}

.inputs > span {
  display: inline-flex;
  flex-direction: column;
  margin: 0 16px;
}

.inputs > form > div {
  display: grid;
  max-width: 400px;
  margin: 21px auto;
}

.inputs > form > div > input, .inputs > form > div > select, .inputs button {
  max-width: 200px;
  width: 200px;
  margin: 8px auto;
}

#output, #copy {
  margin: 12px auto;
  text-align: center;
}

#output {
  max-width: 95vw;
  text-wrap: auto;
}

#copy {
  width: 200px;
  border: 1px solid var(--main-color);
  padding: 22px;
  cursor: pointer;
}

#autofill {
  margin-top: 0px;
  font-size: 13px;
}
