

body {
  background-color: #202224;
  color: white;
}

h2.chars {
  background-color: #6ae0bb;
  color: #202224;
  border-radius: 5px;
  letter-spacing: 3px;
  padding: 5px 10px;
  margin: 0px;
  font-size: 1.4rem;
}

div.charlist {
  height: fit-content;
  background-color: #121314;
  border-radius: 5px;
  margin-top: 5px;
  padding: 12px;
}

.charlist .flexbox {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
}

.flexbox div {
  width: calc(15% - 10px);
  text-align: center;
}

@media only screen and (max-width: 800px) {
    .flexbox div {
      width: calc(25% - 10px);
      text-align: center;
    }
}

.flexbox img {
  outline: 2px solid #6ae0bb;
  border-radius: 3px;
  max-width: 100%;
  max-height: 180px;
  object-fit: fill;
  filter: grayscale(1);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.flexbox img:hover {
  filter: grayscale(0);
}

.flexbox p {
  margin-top: 0;
  font-weight: bold;
  line-height: 1em;
}

.flexbox i {
  font-size: 0.7em;
  font-weight: normal;
  color: #6ae0bb;
}

button {
  background-color: #6ae0bb;
  color: #202224;
  border-radius: 5px;
  letter-spacing: 3px;
  padding: 5px 10px;
  font-size: 1.4rem;
  border: none;
  margin: 0 auto;
  display: block;
}

button:hover {
    background-color: #00ffff;
}