.collection-cards__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-bottom: 5px;
}
@media screen and (max-width: 990px) {
  .collection-cards__wrapper {
    gap: 5px;
    margin-bottom: 15px;
  }
}
.collection-cards__item {
  max-width: calc(25% - 5px);
  width: 100%;
}

@media screen and (max-width: 1920px) {
  .collection-cards__item {
    max-width: calc(50% - 5px);
  }
}
@media screen and (max-width: 767px) {
  .collection-cards__item {
    max-width: 100%;
  }
}
.collection-cards__image {
  max-width: 100%;
  position: relative;
  width: 100%;
  border-radius: 8px;
}
.collection-cards__image:before {
  content: "";
  display: block;
  padding-top: 68%;
}
.collection-cards__image img {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}
@media screen and (max-width: 990px) {
  .collection-cards__image img {
    display: none;
  }
}
.collection-cards__image img.mobile {
  display: none;
}
@media screen and (max-width: 990px) {
  .collection-cards__image img.mobile {
    display: block;
  }
}
.collection-cards__content {
  bottom: 27px;
  display: flex;
  flex-direction: column;
  left: 63px;
  position: absolute;
  text-align: center;
  width: calc(100% - 124px);
}
.collection-cards__content.center {
  align-items: center;
}
.collection-cards__content.center .collection-cards__text,
.collection-cards__content.center .collection-cards__title {
  text-align: center;
}
.collection-cards__content.right {
  align-items: flex-end;
}
.collection-cards__content.right .collection-cards__text,
.collection-cards__content.right .collection-cards__title {
  text-align: right;
}
@media screen and (max-width: 990px) {
  .collection-cards__content {
    bottom: 19px;
    left: 16px;
    width: calc(100% - 52px);
  }
  .collection-cards__image{
    border-radius: 0px;
  }
}
.collection-cards__text {
  color: #fff;
  font-size: 25px;
  letter-spacing: 0;
  line-height: 30px;
  margin-bottom: 29px;
  text-align: left;
}
@media screen and (max-width: 990px) {
  .collection-cards__text {
    font-size: 20px;
    margin-bottom: 15px;
  }
}
.collection-cards__title {
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 30px;
  margin-bottom: 8px;
  text-align: left;
}
@media screen and (max-width: 990px) {
  .collection-cards__title {
    font-size: 20px;
    margin-bottom: 4px;
  }
}
.collection-cards__button {
  background: #fff 0 0 no-repeat padding-box;
  border-radius: 4px;
  color: #000;
  display: block;
  font-size: 25px;
  font-weight: 100;
  letter-spacing: 0;
  line-height: 27px;
  padding: 18px 52px;
  transition: all 0.4s;
  width: fit-content;
}
.collection-cards__button:hover {
  background: #000;
  color: #fff;
}
@media screen and (max-width: 990px) {
  .collection-cards__button {
    font-size: 14px;
    padding: 12px 38px;
  }
}
