/*Promotion section*/
/* .promo-header {
  padding-bottom: 2rem;
} */
.promo-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  max-width: 100%;
  gap: 2rem;
}

.promo-card {
  width: 100%;
  height: 450px;
  background: transparent;
  margin: auto;
  perspective: 1000px;
  flex-direction: column;
  gap: 1rem;
}

.promo-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 1s;
  transform-style: preserve-3d;
}

.flip-card {
  transform: rotateY(180deg);
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.front {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 3.75rem 1.25rem 1.25rem 1.25rem;
  /* filter: grayscale(1); */
}

.promo-btn .btn {
  padding: 0.6rem;
  width: 75px;
  cursor: pointer;
}

.back {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #666362;
  color: #fff;
  padding: 1.25rem;
  transform: rotateY(180deg);
}

.back .desc {
  display: flex;
  flex-direction: column;
  color: #fff;
  gap: 0.5rem;
}

.group {
  display: flex;
  flex-direction: column;
}

.back h2 {
  font-size: 1.1rem;
}

.back p {
  line-height: 1.2rem;
  font-size: 0.8rem;
}

.back .btn {
  /* width: 90px; */
  width: fit-content;
  word-wrap: break-word;
  max-width: 150px;
  padding: 0.7rem 0.9rem;
}

/*media queries*/
@media only screen and (min-width: 375px) {
  .promo-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .promo-card {
    width: 320px;
  }
}

@media only screen and (min-width: 768px) {
  .promo-container {
    padding-bottom: 4rem;
  }
}

@media only screen and (min-width: 1407px) {
  .promo-container {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

@media only screen and (min-width: 1600px) {
  .promo-container {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  }
}
