.card-container {
  width: 15rem;
  height: 20rem;
  border-radius: 10px;
  border: 1px solid black;
  box-sizing: border-box;
  box-shadow: var(--shadow);
  background: #171314;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-background {
  height: 86%;
  width: calc(100% - 20px);
  margin: 10px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 8%;
  border-bottom-right-radius: 8%;
  background-color: #863f57;
  background-image: repeating-linear-gradient(
      140deg,
      transparent,
      rgba(255, 255, 255, 0.25) 1%,
      transparent 20%
    ),
    repeating-linear-gradient(
      -30deg,
      transparent,
      transparent 8%,
      rgba(255, 255, 255, 0.4),
      transparent 9%
    ),
    repeating-linear-gradient(
      -10deg,
      transparent,
      transparent 13%,
      rgba(0, 0, 0, 0.4),
      transparent 15%
    ),
    repeating-linear-gradient(
      80deg,
      transparent,
      transparent 7.5%,
      rgba(0, 0, 0, 0.25),
      transparent 8%
    ),
    repeating-linear-gradient(
      5deg,
      transparent,
      transparent 10.5%,
      rgba(255, 255, 255, 0.5),
      transparent 11%
    ),
    repeating-linear-gradient(
      75deg,
      transparent,
      transparent 11.5%,
      rgba(255, 255, 255, 0.5),
      transparent 12%
    ),
    repeating-radial-gradient(
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 1%,
      transparent 1%,
      transparent 5%
    );
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  position: absolute;
}

.title {
  border-bottom: 4px solid #a9a9a9;
  border-left: 2px solid #a9a9a9;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  background: linear-gradient(
      0deg,
      rgba(201, 216, 201, 0.3),
      rgba(201, 216, 209, 0.3)
    ),
    url(https://image.ibb.co/jKByZn/tile_bg_1.jpg);
  margin-top: 20px;
  height: 2.25rem;
  width: 12.5rem;
  text-align: center;
  border-radius: 18px/40px;
  margin-bottom: 7px;
  overflow: hidden;
  font-size: 1.25em;
  font-weight: 600;
  z-index: 3;
}

.spell-image {
  margin-top: -5px;
  width: 12rem;
  height: 12rem;
  margin-bottom: 7px;
  z-index: 2;
}

.info {
  border-bottom: 4px solid #a9a9a9;
  border-left: 2px solid #a9a9a9;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  background: linear-gradient(
      0deg,
      rgba(201, 216, 201, 0.3),
      rgba(201, 216, 209, 0.3)
    ),
    url(https://image.ibb.co/jKByZn/tile_bg_1.jpg);
  margin-top: -5px;
  height: 2.5rem;
  width: 12.5rem;
  text-align: center;
  border-radius: 18px/40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 0.5rem;
  // box-shadow:
  //     0 0 0 2px #171314,
  //     0 0 0 5px #26714a;
  font-size: 1.25em;
  font-weight: 600;
  z-index: 2;
  display: flex;
}

.school {
  font-size: 0.875rem;
}

.level {
  background: linear-gradient(
      0deg,
      rgba(201, 216, 201, 0.3),
      rgba(201, 216, 209, 0.3)
    ),
    url(https://image.ibb.co/jKByZn/tile_bg_1.jpg);
  box-shadow:
    0 0 0 2px #171314,
    0 0 0 5px #26714a;
  border-radius: 100%;
  margin-top: 0.125rem;
  height: 3rem;
  width: 3rem;
  font-size: 1.5rem;
  font-weight: 600;
  z-index: 3;
  transform: translateX(0.25rem);
  display: flex;
  justify-content: center;
  align-items: center;
}
