@import url("https://fonts.googleapis.com/css?family=Mirza&amp;subset=latin-ext");
* {
  box-sizing: border-box;
}

body {
  /*background-color: #928A97;
  /*background-image: url("https://images.pexels.com/photos/257909/pexels-photo-257909.jpeg?fit=crop&w=1920&h=1280");*/
  /*background-image: url("/files/present/2025ny/04.png");*/
  /*background-image: url("/files/present/2026ny/64ra9u64ra9u64ra.webp");*/
  background: #7692bf url("/files/present/2026ny/background6.webp");
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.card {
  perspective: 1500px;
  position: absolute;
  left: calc(50% - 175px);
  top: calc(50% - 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);
}
@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 #000;
  transition: all 0.5s ease-in-out;
}
.card.is-opened {
  transform: rotate(0deg) translate(175px, 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;*/
    width: 300px;
    height: 400px;
  }
}
@media (max-width: 479px) {
  .card,
.card-page {
    /*width: 150px;
    height: 214px;*/
    width: 190px;
    height: 300px;
  }
}

.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 #fbfbfb;
  /*background: #c72320 url("https://www.shutterstock.com/image-vector/blue-red-white-scandinavian-christmas-600w-315798704.jpg") no-repeat center;*/
  /*background: #00662c url("/files/present/2025ny/front-3.webp");*/
  background: #243155 url("/files/present/2026ny/05.webp");
  background-size: cover;
  width: 100%;
  height: 100%;
}
@media (max-width: 767px) {
  .cart-page-outside {
    border: 5px solid #fbfbfb;
  }
}

.cart-page-inside,
.cart-page-bottom {
  background-color: #d4d1d0;
  /*background-color: #ebebeb;*/
  /*background-image: url("/files/present/2026ny/pattern.png");*/
  background-image: url("/files/present/2026ny/pattern3.webp");
  border: 20px solid #d4d1d0;
  /*border: 20px solid #e5e4e4;*/
  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: 5px 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;
	/*padding: 150px 0 0 0;*/
}
@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;
  }
}

.click-icon {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: 20px;
  -webkit-animation: iconAnimation 1s infinite alternate ease-in-out;
  animation: iconAnimation 1s infinite alternate ease-in-out;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}
.click-icon svg {
  width: 96px;
  height: 96px;
}
@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: translate(-50%, 0);
  }
  100% {
    transform: translate(-50%, 10px);
  }
}

@keyframes iconAnimation {
  0% {
    transform: translate(-50%, 0);
  }
  100% {
    transform: translate(-50%, 10px);
  }
}
p {
  font-family: "Mirza", Verdana, Arial, serif;
  /*font-size: 36px;*/
  font-size: 18px;
  line-height: 1.2em;
  padding-left: 10px;
}
@media (max-width: 767px) {
  p {
    font-size: 24px;
  }
}
@media (max-width: 479px) {
  p {
    font-size: 20px;
  }
}

/* fireworks */
html, body{
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* text */
.logo { 
  max-width: 250px; 
  width: 100%;
  /*rotate: -30deg;
  margin-top: 250px; */
  /*margin: 50px 0 0 0;*/
   bottom: 10px;
    position: absolute;
    left: 40px;
}
h1 {
  /*background: linear-gradient(to left, #f9b104 0%, #29e7a7 50%, #f9b104 100%);*/
  /*background: linear-gradient(to left, #00662c 0%, #2b2f8b 50%, #f904cd 100%);*/
  background: linear-gradient(to left, #099531 0%, #e6e737 50%, #099531 100%);
  background-clip: text;
  background-size: 200% auto;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bg2 3s linear infinite;

  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
	font-size:32px;

  margin: 10px 0 10px 0;
}
.merry-christmas h1 { text-align:right; }
.cart-page-bottom h1 { 
	/*text-align:left;*/     
	margin-left: 10px;
	line-height: 1.1em; 
    margin: 35px 0;
}

p {
  /*color: #074924;*/
  /*color: #033352;*/
  color: #00662c;

  font-family: "Pattaya", sans-serif;
  font-weight: 400;
  font-style: normal;

  line-height: 1.2em;
  font-size: 24px;
	    margin: 15px 0;
}
p span {
  font-family: "Noto Color Emoji", serif;
  font-weight: 400;
  font-style: normal;
  font-size:30px;
}
@keyframes bg2 {
  to {
      background-position: 200% center;
  }
}
@keyframes bg1 {
  0% {
      background: linear-gradient(to left, #f9b104 0%, #29e7a7 50%, #f9b104 100%);
  }

  25% {
      background: #000099;
  }

  50% {
      background: #009999;
  }

  75% {
      background: #999999;
  }

  100% {
      background: #000000;
  }
}

/*.presentik::after {
  content:"🎁🎄🥳";
} */

@media (max-width: 767px) {
	h1 { font-size: 24px; }
	p { font-size: 19px; }
	.logo { max-width:200px; } 
}
@media (max-width: 479px) {
	h1 { font-size: 19px; }
	p {  font-size: 13px; line-height: 1.2em; margin:0; }
	.logo {
		max-width: 160px;
        left: 10px;
	 } 
}

canvas#boom {
    position: absolute;
    top: 1px;
    z-index: 10;
}

.card {
	position: absolute;
    z-index: 100;

}