@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;500;600;700&display=swap");
html {
  box-sizing: border-box;
  font-size: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  height: 100%;
  background-color: #151515;
  font-family: "Source Code Pro", monospace;
}

.container {
  height: 100%;
  width: 100%;
  padding: 1rem 0;
  display: grid;
  place-content: center;
}
.container .cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.75rem;
  pointer-events: none;
}
.container .card {
  max-width: 15rem;
  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;
}
.container .card .card-title {
  position: relative;
}
.container .card .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;
}
.container .card .date {
  color: #bb86fc;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.container .card .description {
  font-size: 0.9rem;
}
.container .card:nth-child(even) {
  transform: translateY(8px);
}
.container .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;
}
.next-birthday{
    background-color: orange !important;
    color: black !important;
}
.today-birthday{
    background-color: green !important;
    color: black !important;
}
.today-birthday p{
  color: #151515 !important;
}
.next-birthday p{
    color: #151515 !important;
}
@media only screen and (min-width: 768px) {
  .container .cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    pointer-events: none;
  }
}
