.staggered-cards-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 75px 50px 75px;
  /* background-image: url("../../../assets/StaggeredCards/circle-background.svg"); */
  /* background-image: url("../../../assets/StaggeredCards/blob-background.svg"); */
  background-image: url("../../assets/StaggeredCards/animated-background.svg");
  background-size: cover;
}

.staggered-cards-container .description {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  /* @media (max-width: 900px){
    text-align: center;
  } */
}

.staggered-cards-container .description > h1 {
  font-size: 40px;
  font-weight: 800;
}

.staggered-cards-container .description > p {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-color-light);
  width: 80%;
}

.staggered-cards-container .staggered-cards-wrapper {
  display: flex;
  /* flex-direction: column; */
  flex-direction: row;
  flex-wrap: wrap;
  gap: 25px;
  width: 100%;
  color: var(--primary-color);
  /* margin-bottom: 70px; */
}

.staggered-cards-container .staggered-cards-wrapper > .card {
  display: flex;
  /* width: 48%; */
  flex: 1;
  /* border: red solid; */
  min-width: 250px;
  height: 200px;
  overflow: hidden;
  border-radius: 15px;
  flex-shrink: 0;
  /* margin: -60px; */
  /* margin-left: 0; */
  position: relative;
  cursor: pointer;
}

/* .staggered-cards-container .staggered-cards-wrapper > .card:nth-child(4n + 1) {
  margin-top: 20px;
}

.staggered-cards-container .staggered-cards-wrapper > .card:nth-child(4n + 3) {
  margin-top: 30px;
}

.staggered-cards-container .staggered-cards-wrapper > .card:nth-child(4n + 4) {
  margin-top: -60px;
} */

/* .staggered-cards-container .staggered-cards-wrapper > .card:nth-child(odd) {
  align-self: flex-end;
  margin: -130px;
  margin-right: 0;
}

.staggered-cards-container .staggered-cards-wrapper > .card:nth-child(1) {
  width: 42%;
}

.staggered-cards-container .staggered-cards-wrapper > .card:nth-child(3) {
  width: 40%;
  margin-right: 7%;
}

.staggered-cards-container .staggered-cards-wrapper > .card:nth-child(4) {
  width: 40%;
  margin-left: 3%;
}

.staggered-cards-container .staggered-cards-wrapper > .card:nth-child(5) {
  width: 42%;
} */

.staggered-cards-container .staggered-cards-wrapper > .card::after {
  display: block;
  position: absolute;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0,
    #000 100%
  );
  margin-top: 0px;
  height: 250px;
  width: 100%;
  content: "";
}

.staggered-cards-container .staggered-cards-wrapper > .card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: brightness(50%); */
  /* opacity: 0.5; */
}

.staggered-cards-container .staggered-cards-wrapper > .card > .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  z-index: 1;
  gap: 5px;
}

.staggered-cards-container .staggered-cards-wrapper > .card > .content > h1 {
  font-size: 20px;
  font-weight: 700;
}

.staggered-cards-container .staggered-cards-wrapper > .card > .content > p {
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  width: 80%;
}

@media (max-width: 820px) {
  .staggered-cards-container {
    padding: 30px;
    gap: 30px;
  }

  .staggered-cards-container .description {
    width: 100%;
  }

  .staggered-cards-container .staggered-cards-wrapper {
    flex-direction: row;
    flex-wrap: unset;
    gap: 10px;
    overflow-x: scroll;
    margin-bottom: 0px;
  }

  .staggered-cards-container .staggered-cards-wrapper > .card {
    margin: 0;
    width: 90%;
    height: 200px;
    border-radius: 15px;
  }
  .staggered-cards-container > .staggered-cards-wrapper::-webkit-scrollbar{
    display: none;
  }

  /* .staggered-cards-container .staggered-cards-wrapper > .card:nth-child(odd) {
    align-self: flex-start;
    margin: 0;
  } */
}
