/*src/components/Main Page/card.css*/
.container {
  background-color: #151515;
  height: 100%;
  width: 100%;
  padding: 1rem 0;
  display: grid;
  place-content: center;
}

.cards {
  margin-top: 7%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  pointer-events: none;
}

.card {
  max-width: 15rem;
  padding: 40px;
  color: #ffffffda;
  padding: 1.5rem;
  background-color: #202022;
  pointer-events: auto;
  transform: scale(1);
  opacity: 1;
  transition: all 150ms ease-in-out;
  display: flex;
  flex-direction: column;
}

.card-title {
  position: relative;
  color: #FFFFFF;
}

.card-title::before {
  content: "";
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  box-shadow: inset 0 0 3px #bb86fc;
  background-color: transparent;
  position: absolute;
  right: 0;
}

.date {
  color: #bb86fc;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.description {
  font-size: 0.9rem;
  color: #FFFFFF;
}

.card:nth-child(even) {
  transform: translateY(8px);
}

.card:nth-child(n) {
  transform: rotate(-5deg);
}

.cards:hover > .card:hover {
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.cards:hover > .card:not(:hover) {
  opacity: 0.5;
}
