/* Null. */
.bg_mob{
	display:none;
}
.head-wrapper{
	/* display:none; */
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/Montserrat-Black.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/Montserrat-BlackItalic.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: bold;
  font-display: swap;
  src: url("../fonts/Montserrat-BoldItalic.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Montserrat-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "Bebas";
  src: url('../fonts/Bebas.ttf');
}
#gift_1 .modal_scroll{
	    font-family: 'Bebas', sans-serif;
    color: #fff;
    font-size: 38px;
	
    text-align: center;
	
	  font-family: "Montserrat", sans-serif;
    font-weight: 400;
}
#gift_1 .modal_scroll b{
	display:block;
    font-size: 58px;
	    padding-top: 40px;
		    color: yellow;
    font-style: italic;
	}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  display: block;
}

body {
  margin: 0;
  padding: 0;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  background-color: #fff;
}

img,
svg {
  display: block;
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

input,
button,
textarea {
  display: block;
  background-color: transparent;
  border: 0 none;
  box-shadow: none;
  appearance: none;
  outline: none;
  resize: none;
}

/* Null. */

.wrapper {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Фон. */

.bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.bg img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Фон. */

/* Текст по центру фона. */

.text {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
}

.text img {
  width: min(85%, 1200px);
  margin: 0 auto;
}

/* Текст по центру фона. */

/* Снеговики. */

.trunks {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: max(100%, 1400px);
  transform: translate3d(-50%, 0px, 0px);
}

.trunk {
  width: 200px;
}

.trunk:nth-child(1) {
  position: absolute;
  left: 200px;
  bottom: 80px;
  width: 178px;
}

.trunk:nth-child(2) {
  position: absolute;
  left: 496px;
  bottom: 10vh;
  width: 92px;
}

.trunk:nth-child(3) {
  position: absolute;
  right: 68px;
  bottom: 44px;
  width: 264px;
}

/* Снеговики. */

/* Ёлка и подарки. */

.tree {
    position: absolute;
    left: 50%;
    bottom: -11%;
    width: 100%;
    transform: translate3d(-50%, 0px, 0px);
  
}

.tree_fir img {
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
  object-position: center bottom;
}

.tree_gift {
  position: absolute;
  animation: gift 1s infinite alternate linear;
      cursor: pointer;
}

.tree_gift.animate {
  animation: open 2s linear !important;
}

.tree_gift:nth-child(1) {
    top: 30%;
    right: 18%;
    width: 8%;
    z-index: 2;
	
}

.tree_gift:nth-child(2) {
      top: 3%;
    right: 43%;
    width: 9%;
    animation-duration: 1.2s;
}

.tree_gift:nth-child(3) {
bottom: 46%;
    left: 27%;
    width: 9%;
    animation-duration: 1.5s;
}

.tree_gift:nth-child(4) {
    bottom: 12%;
    right: 15%;
    width: 10%;
  animation-duration: 3s;
}

.tree_gift:nth-child(5) {
    bottom: 20%;
    left: 20%;
    width: 8%;
    animation-duration: 1.6s;
    z-index: 11;
}

.tree_gift:nth-child(6) {
top: 36%;
    right: 2%;
    width: 9%;
    animation-delay: -.5s;
    z-index: 101;
}

.tree_gift:nth-child(7) {
bottom: 46%;
    left: 5%;
    width: 4%;
  animation-duration: 1.2s;
}

.tree_gift:nth-child(8) {
bottom: 22%;
    right: 33%;
    width: 7%;
    animation-delay: -.2s;
    z-index: 101;
}

.tree_gift:nth-child(9) {
top: 24%;
    left: 33%;
    width: 7%;
    animation-duration: 1.5s;
}
.tree_gift:nth-child(10) {
     top: 30%;
    left: 13%;
    width: 7%;
    animation-duration: 2.7s;
}
.tree_gift:nth-child(11) {
    bottom: 18%;
    left: 35%;
    width: 31%;
    animation-duration: 8s;
}
.tree_gift:nth-child(12) {
          top: 0%;
    right: 2%;
    width: 32%;
    animation-duration: 2.8s;
    animation: none;
}

@keyframes gift {
  from {
    transform: rotate(-3deg);
  }

  to {
    transform: rotate(5deg);
  }
}

@keyframes open {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(.7);
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(.7);
  }

  100% {
    transform: scale(0);
  }
}

/* Ёлка и подарки. */

/* Снег. */

.snow {
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Снег. */

/* Modal. */

.modal {
  --modal_w: 888px;
  --modal_inner: 40px;
  --modal_close: 20px;
  --hide: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  transition: opacity .43s;
}

.modal_viel {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
  backdrop-filter: blur(5px);
  z-index: -1;
  transition: opacity .83s;
}

.modal:not(.active) {
  pointer-events: none;
  opacity: 0;
}

.modal_wrapper { 
  width: 90%;
  max-width: var(--modal_w);
 
    position: relative;
  z-index: 10; 
  
  background-size: cover;
  background-position: center top; 
  text-align: center;
  -webkit-transition: .5s;
  transition: .5s; 
		  
		  
  background-image: url(../images/svg/modal_bg.png);
}
#gift_1 .modal_wrapper { 
  background-image: url(../images/svg/modal_bg_2.png);
}

.modal:not(.active) .modal_wrapper {
  transform: scale(.1);
}

.modal_wrapper1:before {
  pointer-events: none;
  content: '';
  position: absolute;
  top: calc(var(--stroke) * -1 + -36px);
  left: calc(var(--stroke) * -1 + -14px);
  right: calc(var(--stroke) * -1 + -20px);
  bottom: 0;
  /* background-image: url('image/sales/images/svg/snow.svg'); */
  background-image: url('../images/svg/snow.svg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}

.modal_hide {
  overflow: hidden;
}

.modal_scroll {
  overflow-y: scroll;
  position: relative;
  width: calc(100% + var(--hide) + var(--scroll));
  max-height: calc(100vh - 80px);
  margin-right: calc((var(--hide) + var(--scroll)) * -1);
      padding: 310px 20px 10px;
    min-height: 570px;
	
      
}

.modal_close {
  --size: var(--modal_close);
  top: 20px;
  right: 20px;
}

/* Modal. */

@media only screen and (max-width: 600px) {
  /* Modal. */

  .modal {
    --modal_inner: 20px;
  }

  .modal_wrapper {
    --stroke: 6px;
    border-radius: 28px;
  }

  .modal_wrapper:before {
    top: -20px;
  }

  .modal_scroll {
    padding-top: 60px;
  }
   #gift_1 .modal_scroll {
    padding-top: 120px;
  }

  /* Modal. */
}



.popup-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
}

.popup-wrap:not(.active) {
  pointer-events: none;
  opacity: 0;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}

.popup-wrap:not(.active) .overlay {
  opacity: 0;
}

.popup-wrap:not(.active) .block {
  -webkit-transform: scale(0, 0);
          transform: scale(0, 0);
}

.popup-wrap .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(25, 21, 30, 0.75);
  -webkit-transition: .25s;
  transition: .25s;
}

.popup-wrap .block {
  position: relative;
  z-index: 10;
  max-width: 40%;
  width: 100%;
  border-radius: 20rem;
  background-color: #3AA835;
  background-image: url(../images/svg/modal_bg.png);
  background-size: cover;
  background-position: center top;
  background-size: cover;
  padding: 70rem 20rem 40rem;
  text-align: center;
  -webkit-transition: .5s;
  transition: .5s;
  -webkit-box-shadow: 0 5rem 18rem 10rem rgba(0, 0, 0, 0.4);
          box-shadow: 0 5rem 18rem 10rem rgba(0, 0, 0, 0.4);
}

.popup-wrap .block img.part {
  display: block;
  position: absolute;
}

.popup-wrap .block img.part.top {
  width: 218rem;
  top: -85rem;
  left: -75rem;
}

.popup-wrap .block img.part.bottom {
  width: 188rem;
  bottom: 60rem;
  right: -90rem;
}

.popup-wrap .block button.close {
  position: absolute;
  top: 20rem;
  right: 20rem;
  -webkit-transition: 0.25s;
  transition: 0.25s;
}

.popup-wrap .block button.close:hover {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.popup-wrap .block button.close img {
  display: block;
  width: 22rem;
}

.popup-wrap .block h2 {
  font-size: 30px;
  font-weight: 900;
  -webkit-transform: rotate(-3deg);
          transform: rotate(-3deg);
  line-height: .9;
  margin-bottom: 20px;
  font-style: italic;
  text-shadow: 0 0 10rem rgba(0, 0, 0, 0.5);
}

.popup-wrap .block h2 span.t1 {
  display: block;
}

.popup-wrap .block h2 span.t2 {
  display: block;
}

.popup-wrap .block p {
  font-size: 40rem;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.025em;
      color: yellow;
    font-weight: 600;
}

.popup-wrap .block p b {
  font-weight: 900;
  color: #ffee00;
}
.prize span {
  color: #000;
}

 

@media only screen and (max-width: 600px) {
.modal_scroll{
	    min-height: 260px;
}

.sale_input {
    /* width: 290px; */
    font-size: 18px!important;
    margin-top: 60px!important;
	    height: 40px!important;
}

.btn-spin{
	 font-size: 18px!important;
}

.bg, .tree{
	display:none
}
.bg_mob{
	display:block
}
.head-wrapper{
	display:none!important;
}

#gift_1 .modal_scroll b {
    display: block;
    font-size: 25px;
    padding-top: 10px; 
}

.tree_gift:nth-child(7) {
        bottom: 9%;
    left: -1%;
    width: 16%;
    animation-duration: 1.2s;
}

.tree_gift:nth-child(8) {
            left: -1%;
        width: 18%;
        top: 40%;
    animation-delay: -.2s;
}
.tree_gift:nth-child(5) {
   left: -7%;
        width: 21%;
        top: 11%;
    animation-duration: 1.6s;
}
.tree_gift:nth-child(1) {
           bottom: -1%;
        left: 14%;
    width: 25%;
}
.tree_gift:nth-child(2) {
   bottom: 18%;
        right: 1%;
        width: 29%;
    animation-duration: 1.2s;
}
.tree_gift:nth-child(3) {
           bottom: 5%;
        left: 32%;
        width: 38%;
        animation-duration: 1.7s;
}
.tree_gift:nth-child(4) {
    bottom: -3%;
    right: -3%;
    width: 23%;
    animation-duration: 3s;
}
.tree_gift:nth-child(6) {
    right: 38%;
        width: 24%;
    animation-delay: -.5s;
}

.tree_gift:nth-child(10) {
   top:15%;
}

.tree_gift:nth-child(9) {
    bottom: 11%;
    right: 8%;
    width: 8%;
    animation-duration: 1.5s;
}

.tree_gift:nth-child(11){
	    width: 71%;
    left: 15%;
}
.tree_gift:nth-child(12){
	display:none;
}
.tree_gift:nth-child(2){
	width: 9%;
}

}

.head-wrapper {
    position: absolute;
    z-index: 100;
    top: 0;
    width: 100%;
    padding: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}


.head-wrapper .col {
    display: grid;
    -ms-flex-line-pack: start;
    align-content: flex-start;
}

.head-wrapper .col img.left {
       width: 15rem;
}
.head-wrapper .col img.right {
    width:  15rem;
}
.head-wrapper .col p {
    text-align: center;
    line-height: 1;
    font-weight: bold;
    text-shadow: 0 0 10rem rgba(0, 0, 0, 0.2);
}

.naz{
	display:none;
}


