html { 
/*  background: url("https://www.realdesignstudios.com/theme/images/xmas/bg3.svg") no-repeat center center fixed;
  background: url("https://www.realdesignstudios.com/theme/images/xmas/xmas_bg.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: #375239; */ 
  background: rgb(45,54,53,1);
  /*background: linear-gradient(90deg, rgba(67,99,70,1) 0%, rgba(45,54,53,1) 52%, rgba(24,32,38,1) 100%);*/
  background: linear-gradient(90deg, rgb(74, 42, 28) 0%, rgb(21, 18, 14) 52%, rgb(46, 26, 18) 100%);
}
}

body {
  text-align: center;
/*  background: url("../theme/images/xmas/bg2.svg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;*/
}
.card__container {
  cursor: pointer;
  /*cursor: alias;*/
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  perspective: 1400px;
  transition: all 0.2s ease;
}
@media (min-width: 768px) {
  .open .card__container {
    transform: translate(0%, -50%);
  }
}
.card {
  max-width: 400px;
  max-height: 600px;
  width: 80vw;
  height: 120vw;
  transform-style: preserve-3d;
  transform: rotateX(15deg);
  transition: all 1s ease;
}
.open .card {
  transform: rotateX(0deg);
}
.card__panel {
/*  border: 1px solid black;*/
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transition: all 1s ease;
  backface-visibility: visible;
  transform-origin: left;
  transform-style: preserve-3D;
  transform: rotate3d(0, 1, 0, 0deg);

box-shadow: 6px 10px 27px 7px rgba(0,0,0,0.05);
-webkit-box-shadow: 6px 10px 27px 7px rgba(0,0,0,0.05);
-moz-box-shadow: 6px 10px 27px 7px rgba(0,0,0,0.05);
}

.open .card__panel {
box-shadow: 6px 10px 27px 7px rgba(0,0,0,0.30);
-webkit-box-shadow: 6px 10px 27px 7px rgba(0,0,0,0.30);
-moz-box-shadow: 6px 10px 27px 7px rgba(0,0,0,0.30);
} 
.card__panel--front {
  backface-visibility: hidden;
  /*background: #6288e6;*/
  z-index: 1;
  background-image: url("https://www.realdesignstudios.com/theme/images/xmas/xmas_front.webp?v1");
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
}

.open .card__panel--front {
  transform: rotate3d(0, 1, 0, -170deg);
}
.card__panel--inside-left {
  background: #fff;
  z-index: 0;
  /*background-image: url("https://www.realdesignstudios.com/theme/images/xmas/xmas_card_inside_left.svg");
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  z-index: -1;*/
}

.open .card__panel--inside-left {
  transform: rotate3d(0, 1, 0, -170deg);
  z-index: 1;
  background-color: #151310;
}
.card__panel--inside-right {
  border-left: none;
  /*background-image: url("https://www.realdesignstudios.com/theme/images/xmas/card_inside_right.svg");*/
  /*height: 600px;*/
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  z-index: -1;
}
.o1 {
  background-image: url("https://www.realdesignstudios.com/theme/images/xmas/xmas_inside-right.webp?v1");
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  z-index: -1;
}
.o2 {
  background-image: url("https://www.realdesignstudios.com/theme/images/xmas/xmas21_card_inside2.svg");
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  z-index: -1;
}
.o3 {
  background-image: url("https://www.realdesignstudios.com/theme/images/xmas/xmas21_card_inside3.svg");
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  z-index: -1;
}
.o4 {
  background-image: url("https://www.realdesignstudios.com/theme/images/xmas/xmas21_card_inside4.svg");
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  z-index: -1;
}
.o5 {
  background-image: url("https://www.realdesignstudios.com/theme/images/xmas/xmas_card_inside5.svg");
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  z-index: -1;
}
.o6 {
  background-image: url("https://www.realdesignstudios.com/theme/images/xmas/xmas_card_inside6.svg");
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
  z-index: -1;
}

.card_text {
margin-top: 275px;
}
.card_text_inside {
margin-top: 25px;
margin-left: -75px;
text-align: center;
}

@font-face {
    font-family: 'oh_chewyregular';
    src: url('../fonts/oh_chewy-webfont.woff2') format('woff2'),
         url('../fonts/oh_chewy-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

h1, h2 {
/*font-family: oh_chewyregular,serif;*/
font-family: "metroscript", sans-serif;
font-style: normal;
font-weight: 400;
/*font-style: italic;*/
color: #fff;
font-size: 4.3em;
line-height: .9;
}

h1{
/*  margin-bottom: -30px;*/
/*   -webkit-text-stroke: 1px black;*/
  color: white;
  /*text-shadow: 5px 5px 0 #4d1316, -2px -2px 0 #671218, 1px -2px 0 #b63f3d, -1px 2px 0 #a82e2c, 2px 2px 0 #651a17;*/
  text-shadow: 5px 5px 0 #4d1316, -2px -2px 0 #fd0000, 1px -2px 0 #fd0000, -1px 2px 0 #a82e2c, 2px 2px 0 #651a17;
  transform-origin: bottom left;
  transform: skew(-5deg, -5deg);
}

img {
width:100%;
height:auto;
}

p{display: none;}

@media (max-width:500px)  { 
  .card_text_inside {margin-top: 30px;}
  .card_text_inside h1 {font-size: 3.7em;}
  .card_text_inside h2 {font-size: 3.7em;}
  .card_text {margin-top: 140px;}
  .card_text h1 {font-size: 3.7em;}
  .card_text h2 {font-size: 3.7em;}
}
@media (max-width:400px)  { 
  .card_text_inside {margin-top: 30px;}
  .card_text_inside h1 {font-size: 3em;}
  .card_text_inside h2 {font-size: 3em;}
  .card_text {margin-top: 140px;}
  .card_text h1 {font-size: 3.2em;}
  .card_text h2 {font-size: 3.2em;}
}

.snowflake {
  color: #fff;
  font-size: 1.5em;
  font-family: Arial;
  /*text-shadow: 0 0 1px #000;*/
}
@-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}
