/* @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: 100vh;
  background-color: #151515;
  font-family: "Source Code Pro", monospace;
} */

.container1 {
  height: 100%;
  width: 100%;
  padding: 1rem 0;
  display: grid;
  place-content: center;
}
.container1 .cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  pointer-events: none;
  margin-left: 80px;
  margin-right: 120px;
}
.container1 .card {
  max-width: 15rem;
  color: #ffffffda;
  padding: 1.5rem;
  background: linear-gradient(315deg, #03a9f4, #ff0058);
  pointer-events: auto;
  transform: scale(1);
  opacity: 1;
  transition: all 150ms ease-in-out;
  display: flex;
  flex-direction: column;
}
.container1 .card .card-title {
  position: relative;
}
.container1 .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;
}
.container1 .card .date {
  color: #bb86fc;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.container1 .card .description {
  font-size: 0.9rem;
}
.container1 .card:nth-child(even) {
  transform: translateY(8px);
}
.container1 .card:nth-child(n) {
  transform: rotate(-5deg);
}

.cards:hover > .card:hover {
  transform: scale(1.15);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.cards:hover > .card:not(:hover) {
  opacity: 0.5;
}

picture {
  position: absolute;
  padding-top: 120px;
  bottom: 30px;
  left: 30px;
  z-index: 3;
}

.cover-bg-picture {
  height: 100%;
}