@import url("https://fonts.googleapis.com/css?family=Mirza&amp;subset=latin-ext");
.christmas-card.banner {
  min-height: calc(100vh - 10rem + 1px);
  position: relative;
  background-image: url("/images/banner/candles-logo-christmas.jpg");
  background-size: cover;
  background-position: right bottom;
  filter: saturate(1.2);
  margin-bottom: 3rem;
}
.christmas-card.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0));
}

.card {
  perspective: 1500px;
  position: absolute;
  left: calc(20% - 175px);
  top: calc(56% - 250px);
  transition-property: transform;
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition-delay: initial;
  transform: rotate(-10deg) translate(0, 0);
  -webkit-animation: cardIn 1s alternate cubic-bezier(0.87, -0.41, 0.19, 1.44);
  animation: cardIn 1s alternate cubic-bezier(0.87, -0.41, 0.19, 1.44);
}
.card p {
  color: white;
  font-weight: 600;
  font-family: "Mirza", Verdana, Arial, serif;
  font-size: 2.2rem;
  line-height: 1.2em;
  padding-inline: 20px;
}
@media (max-width: 767px) {
  .card p {
    font-size: 24px;
  }
}
@media (max-width: 479px) {
  .card p {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .card {
    left: calc(50% - 115px);
    top: calc(50% - 164.5px);
  }
}
@media (max-width: 479px) {
  .card {
    left: calc(50% - 75px);
    top: calc(50% - 107px);
  }
}
.card:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease-in-out;
}

.card.is-opened {
  transform: rotate(0deg) translate(275px, 0);
}

@media (max-width: 767px) {
  .card.is-opened {
    transform: rotate(0deg) translate(115px, 0);
  }
}
@media (max-width: 479px) {
  .card.is-opened {
    transform: rotate(0deg) translate(75px, 0);
  }
}
.card.is-opened .cart-page-front {
  transform: rotateY(-180deg);
}

@-webkit-keyframes cardIn {
  0% {
    opacity: 0;
    transform: rotate(-10deg) translate(0, -100%);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: rotate(-10deg) translate(0, 0);
  }
}
@keyframes cardIn {
  0% {
    opacity: 0;
    transform: rotate(-10deg) translate(0, -100%);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: rotate(-10deg) translate(0, 0);
  }
}
.card,
.card-page {
  width: 350px;
  height: 500px;
}

@media (max-width: 767px) {
  .card,
  .card-page {
    width: 230px;
    height: 329px;
  }
}
@media (max-width: 479px) {
  .card,
  .card-page {
    width: 150px;
    height: 214px;
  }
}
.card-page {
  transition: transform 1s ease-in-out;
  cursor: pointer;
  position: absolute;
  outline: 1px solid transparent;
}

.cart-page-front {
  transform-origin: 0 50% 0;
  transform-style: preserve-3d;
  transform: rotateY(-20deg);
  z-index: 2;
}

.cart-page-outside,
.cart-page-inside {
  position: absolute;
  -webkit-backface-visibility: hidden;
}

.cart-page-outside {
  border: 10px solid #fff;
  background-color: #d0e1d7;
  background-image: url("/images/banner/christmas-card-inside.png");
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .cart-page-outside {
    border: 5px solid #fbfbfb;
  }
}
.cart-page-inside,
.cart-page-bottom {
  background-color: #146b3a;
  background-image: url("/images/banner/christmas-card-inside.png");
  border: 20px solid #eee;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -moz-flex;
  display: flex;
  box-pack: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -ms-flex-pack: center;
  box-align: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  text-align: center;
}

@media (max-width: 767px) {
  .cart-page-inside,
  .cart-page-bottom {
    border: 10px solid #d4d1d0;
  }
}
.cart-page-inside {
  transform: rotateY(-180deg);
  border-right: none !important;
  background-position: 0px 80px;
}

@media (max-width: 767px) {
  .cart-page-inside {
    background-position: 0px 30px;
  }
}
@media (max-width: 479px) {
  .cart-page-inside {
    background-position: 0px 30px;
  }
}
.cart-page-bottom {
  z-index: 1;
  border-left: none !important;
  background-position: -22px 80px;
}

@media (max-width: 767px) {
  .cart-page-bottom {
    background-position: 85px 30px;
  }
}
@media (max-width: 479px) {
  .cart-page-bottom {
    background-position: 0px 30px;
  }
}
.merry-christmas {
  transform: rotate(-20deg);
}

.merry-christmas svg {
  width: 350px;
  height: auto;
}

@media (max-width: 767px) {
  .merry-christmas svg {
    width: 200px;
  }
}
@media (max-width: 479px) {
  .merry-christmas svg {
    width: 150px;
  }
}
.cart-page-inside .merry-christmas {
  transform: rotate(0deg);
  width: 220px;
  height: 200px;
}
.cart-page-inside .merry-christmas svg {
  width: 220px;
  height: auto;
}

.click-icon {
  position: absolute;
  left: 21%;
  transform: rotate(-6deg) translate(-50%, 0);
  bottom: 23%;
  -webkit-animation: iconAnimation 0.8s infinite alternate ease-in-out;
  animation: iconAnimation 0.8s infinite alternate ease-in-out;
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
  pointer-events: none;
  font-weight: 600;
  color: #146b3a;
}

.click-icon svg {
  width: 76px;
  height: 76px;
}

@media (max-width: 767px) {
  .click-icon svg {
    width: 72px;
    height: 72px;
  }
}
@media (max-width: 479px) {
  .click-icon svg {
    width: 48px;
    height: 48px;
  }
}
.click-icon.is-hidden {
  opacity: 0;
}

@-webkit-keyframes iconAnimation {
  0% {
    transform: rotate(-6deg) translate(-50%, 0);
  }
  100% {
    transform: rotate(-6deg) translate(-50%, 15px);
  }
}
@keyframes iconAnimation {
  0% {
    transform: rotate(-6deg) translate(-50%, 0);
  }
  100% {
    transform: rotate(-6deg) translate(-50%, 15px);
  }
}

/*# sourceMappingURL=styles-christmas-card.css.map */
