.card {
  --font-color: #323232;
  --font-color-sub: #666;
  --bg-color: #E7EBE3;
  --main-color: #323232;
  --main-focus: #2d8cf0;
  width: 230px;
  height: 300px;
  background: var(--bg-color);
  border: 2px solid var(--main-color);
  box-shadow: 4px 4px var(--main-color);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: absolute;
  top: 50%;
  left: 20%;
  padding: 20px;
  gap: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.hidden{
  visibility: hidden;
  position: absolute;
}

.card:last-child {
  justify-content: flex-end;
}

img {
    /* clear and add new css */
   height: 100px;
   display: block;
   position: absolute;
   top: 5%;
   left: 30%;
  margin-left: auto;
  margin-right: auto;
  width: 40%;
}

.card-title {
  font-size: 20px;
  font-weight: 500;
  position: absolute;
  top: 45%;
  left: 40%;
  text-align: center;
  color: var(--font-color);
}

.card-subtitle {
  font-size: 10px;
  top: 65%;
  position: absolute;
  font-weight: 400;
  color: var(--font-color-sub);
}

.card-divider {
  width: 100%;
  border: 1px solid var(--main-color);
  border-radius: 50px;
}

.card-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.card-price {
  font-size: 20px;
  font-weight: 500;
  color: var(--font-color);
}

.card-price span {
  font-size: 20px;
  font-weight: 500;
  color: var(--font-color-sub);
}

.card-btn {
  height: 35px;
  background: var(--bg-color);
  border: 2px solid var(--main-color);
  border-radius: 5px;
  padding: 0 15px;
  transition: all 0.3s;
}

.card-btn svg {
  width: 100%;
  height: 100%;
  fill: var(--main-color);
  transition: all 0.3s;
}
