main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid {
  display: grid;
  grid-gap: 20px;
  z-index: 1;
  width: 80%;
}

.card {
  padding: 16px 16px 16px 16px;
  border-radius: 15px;
  cursor: pointer;
  transition: box-shadow 0.25s;
  /* background-color: rgb(39, 28, 28); */
  background-color: rgb(26, 22, 25);
  color: white;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
  border: 1px solid white;
}

.card .tags {
  display: flex;
}

.card .tags h4 {
  margin-right: 10px;
}

.card::before {
  content: "";
  inset: 0;
  border-radius: 15px;
}

.card h4 {
  z-index: 2;
  margin: 5px 0 4px 0;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 2;
}

.card p {
  z-index: 2;
  position: relative;
  margin: 0;
  line-height: 1.7;
  font-size: 17px;
}

.main-tag {
  color: rgb(25, 215, 66);
  font-weight: 700;
}

.other-tag {
  color: rgb(9, 152, 4);
}

.card a {
  color: white;
}
