/*!**************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/flip-cards/style.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************/
/* Flip Cards Module Wrapper */
.flip-cards-module-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 20px 72px;
  width: 100%;
  background-color: var(--module-background-color);
  box-sizing: border-box;
}

.flip-cards-module-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 1240px;
  width: 100%;
  gap: 42px;
}

/* Title */
.flip-cards-title {
  text-align: center;
  color: var(--module-accent-color);
}

/* Flip Cards Wrapper */
.flip-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  max-width: 1240px;
  width: 100%;
}

/* Flip Card Item */
.flip-card-item {
  perspective: 1000px; /* Enable 3D perspective */
  min-width: 286px;
  max-width: calc(25% - 96px);
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* Flip Card Inner */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: center;
  transition: transform 0.6s ease;
}

/* Flip on Hover */
.flip-card-item:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Flip Card Front and Back */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Hide the back face when the front is visible */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--global-border-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 24px 16px;
  box-sizing: border-box;
}

/* Front Side */
.flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center; /* Align the title to the bottom */
  justify-content: center;
  border-radius: var(--global-border-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  background-size: cover; /* Ensure the background image covers the card */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Avoid repeating the image */
  color: var(--module-text-color); /* Ensure text is visible */
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

/* Back Side */
.flip-card-back {
  background: #121212;
  color: #fff;
  transform: rotateY(180deg); /* Position the back side initially */
  font-size: 16px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.flip-card-back-content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.flip-card-back-title {
  color: var(--module-text-color);
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  text-transform: uppercase;
}

.flip-card-back-subtitle-wrapper {
  font-size: 18px;
  line-height: 32px;
  font-weight: 400px;
  text-align: center;
  color: var(--module-text-color);
}

.flip-card-back-subtitle-wrapper ul {
  margin: 0;
}

@media only screen and (max-width: 687px) {
  .flip-cards-module-wrapper {
    padding: 42px 20px;
  }
}

/*# sourceMappingURL=style-index.css.map*/