.character-card {
  width: 35rem;
  height: 20rem;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  overflow: hidden;
  position: relative;
  background-color: var(--field-background-color);
  box-shadow: var(--shadow);
  position: relative;
  &:hover {
    filter: brightness(0.9);
    .delete-area {
      width: 5rem;
    }
    .content {
      margin: 1rem 0.25rem 0 0.25rem;
      transition: all 0.2s ease-in-out;
    }
  }
  transition: all 0.2s ease-in-out;
}

.delete-area {
  height: 20rem;
  width: 0rem;
  background-color: var(--delete);
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  &:hover {
    background-color: var(--delete-hover);
  }
}

.show {
  width: 5rem !important;
}

img {
  width: 20rem;
  height: 20rem;
}

.content {
  width: 15rem;
  margin: 1rem;
}

.name {
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
}

.character-info {
  height: 16rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem;
}

.entry {
  padding-right: 1rem;
  text-align: right;
  font-weight: 500;
}

hr {
  width: 70%;
  margin: 0;
}
