:root {
  --white: #fff;
  --black: #000;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  height: 100%;
}

body {
  background-color: #1c1540;
  color: #fff;
  font-family: monospace;
  margin: 20px auto;
  text-align: center;
  width: 100%;
}

a {
  color: #fbffaf;
}

p {
  margin: 0 auto;
  padding: 1rem 1rem 2rem;

  @media (min-width: 500px) {
    max-width: 60%;
  }
}

button {
  background-color: #323b87;
  border: 4px solid #fff;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.5rem;
  transition: transform 0.15s;
  transform: scale(1);

  &:hover {
    background-color: #3c448b;
    transform: scale(0.98);
  }
  &:active {
    transform: scale(0.96);
  }

  &:disabled {
    background-color: #767676;
    border-color: #545454;
    color: #9b9b9b;
    cursor: not-allowed;
  }
}

main {
  z-index: 10;
}

#character {
  display: inline-block;
  filter: drop-shadow(2px 2px 2px #382f5b);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin: 1rem auto;
  max-width: 80%;
  padding: 0.5rem 0.5rem 1rem;
  transition: all 0.2s;
}
@media (min-width: 500px) {
  #character {
    max-width: 60%;
  }
}

.name {
  color: #ff7d7d;
  font-weight: 1000;
}
.ancestry {
  color: #8ac5bc;
  font-weight: 700;
}
.role {
  color: #71a3d5;
  font-weight: 700;
}
.domain {
  color: #feffd0;
  font-weight: 700;
}
.community {
  color: #ffafaf;
  font-weight: 700;
}

footer {
  background-color: #382f5b;
  border-top: 2px solid var(--neutral-black);
  bottom: 0;
  color: var(--gray);
  font-size: 0.75rem;
  height: 30px;
  position: fixed;
  width: 100%;
  z-index: 2;
}
footer div {
  padding: 7px 10px;
}
footer div a {
  color: #f0be5b;
}
