h1,
h2 {
  margin: 0;
  padding: 1rem;
  font-size: 1.5rem;
  text-align: center;
  background-color: var(--eerie-black);
  color: var(--white);
  position: relative;
}

h2 {
  font-size: 1rem;
  margin-bottom: 8px;
  padding: 0.8rem;
  text-align: left;
  background-color: var(--lapis-lazuli);
}

ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-gap: 8px;
  margin-bottom: 8px;
}

ul#caught-up {
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
}

li {
  display: flex;
  flex-direction: column;
}

.chapter-link {
  width: 100%;
  position: relative;
  flex: 1;
  box-shadow: 1px 2px 5px var(--eerie-black);
}

.manga-name {
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  overflow: hidden;
}

.descriptor {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.5rem;
  padding: 0.5em;
  background-color: var(--eerie-black-semi);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: var(--white);
}

#finished .descriptor {
  position: static;
  font-size: 1rem;
}

img {
  max-width: 100%;
}

#add-row {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 35px;
  display: grid;
  grid-template-columns: 1fr 35px;
}

#add-row button {
  height: 35px;
  width: 35px;
  background: white;
  border: 1px solid var(--eerie-black);
  border-radius: 8px;
  display: grid;
  place-items: center;
}

#add-row input {
  background: white;
  border-radius: 8px;
  border: 1px solid var(--eerie-black);
}

svg {
  height: 15px;
  width: 15px;
  fill: black;
}

h1 span {
  font-size: 8px;
  position: absolute;
  bottom: 0;
  right: 0;
  color: white;
}