/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
*    IE on Windows Phone and in iOS.
*/
html {
  line-height: 1.15;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
  margin: 0;
}

/**
* Add the correct display in IE 9-.
*/
article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
========================================================================== */
/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/
figcaption,
figure,
main {
  /* 1 */
  display: block;
}

/**
* Add the correct margin in IE 8.
*/
figure {
  margin: 1em 40px;
}

/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
========================================================================== */
/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/
a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */
}

/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  /* 2 */
}

/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/
b,
strong {
  font-weight: inherit;
}

/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
* Add the correct font style in Android 4.3-.
*/
dfn {
  font-style: italic;
}

/**
* Add the correct background and color in IE 9-.
*/
mark {
  background-color: #ff0;
  color: #000;
}

/**
* Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
audio,
video {
  display: inline-block;
}

/**
* Add the correct display in iOS 4-7.
*/
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
* Remove the border on images inside links in IE 10-.
*/
img {
  border-style: none;
}

/**
* Hide the overflow in IE.
*/
svg:not(:root) {
  overflow: hidden;
}

/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
  /* 1 */
  overflow: visible;
}

/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
  /* 1 */
  text-transform: none;
}

/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
*    controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
}

/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
* Correct the padding in Firefox.
*/
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*    `fieldset` elements in all browsers.
*/
legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
* Remove the default vertical scrollbar in IE.
*/
textarea {
  overflow: auto;
}

/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/
[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
========================================================================== */
/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
*/
details,
menu {
  display: block;
}

/*
* Add the correct display in all browsers.
*/
summary {
  display: list-item;
}

/* Scripting
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
canvas {
  display: inline-block;
}

/**
* Add the correct display in IE.
*/
template {
  display: none;
}

/* Hidden
========================================================================== */
/**
* Add the correct display in IE 10-.
*/
[hidden] {
  display: none;
}

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

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  min-width: 320px;
  min-height: 100vh;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #2d3039;
  font-family: "ProximaNova", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.15;
  background: url("../img/snow_flakes.svg") no-repeat 49.5% center/cover, url("../img/main_bg.svg") no-repeat center center/cover;
  cursor: url("../img/cursor_palm.svg") 15 27, auto;
}



@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  body {
    cursor: auto;
  }
  a, button {
    cursor: pointer !important;
  }
}

h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
}

button {
  cursor: url("../img/hand_pointer.svg") 0 0, auto !important;
  outline: none;
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  /* 1 */
}

.container {
  margin: 0 auto;
  padding: 0 25px;
}

a {
  color: inherit;
  text-decoration: none;
  outline: none;
  cursor: url("../img/hand_pointer.svg") 0 0, auto !important;
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 30px;
  padding-bottom: 35px;
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between; */
}

.header__login {
  margin-left: auto;
}

.header__slogan {
  margin-left: 80px;
  padding-top: 7px;
  max-width: 170px;
}

.content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: auto;
  margin-bottom: auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.brow {
  position: absolute;
  z-index: 9;
}

.brow--left {
  top: 313px;
  left: 310px;
  transform-origin: right center;
}

.brow--right {
  top: 292px;
  left: 378px;
  transform-origin: left center;
}

.brow--left.brow--up {
  animation: left_brow_rotate forwards 0.4s;
}

.brow--right.brow--up {
  animation: right_brow_rotate forwards 0.4s;
}

@keyframes left_brow_rotate {
  
  to {
    transform: rotate(30deg)
  }
}

@keyframes right_brow_rotate {
 
  to {
    transform: rotate(-30deg)
  }
}

.content__inner {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 1;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  width: 100%;
  height: 600px;
  padding-right: 100px;
  padding-bottom: 15px;
  background: url(../img/main_bg_3.svg) no-repeat center/974px, 596px;
}

.content__inner::after {
  content: "";
  position: absolute;
  bottom: 275px;
  -webkit-transform: rotate(-10deg);
  transform: rotate(-10deg);
  left: 185px;
  width: 120px;
  height: 85px;
  background: #ee4f48 url(../img/pig_ear.svg) no-repeat 90% center/55px;
}

.content__text {
  max-width: 385px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.5;
  letter-spacing: normal;
}

.content__red-text {
  color: #d0021b;
}

*::-ms-backdrop, .content__inner {
  background-size: cover;
}

.piglet {
  position: absolute;
  bottom: 150px;
  left: 350px;
  width: 89px;
  height: 118px;
  -webkit-transition: 0.15s linear;
  transition: 0.15s linear;
  cursor: url("../img/hand_pointer.svg") 0 0, auto;
  background: url(../img/piglet.svg) no-repeat center center/cover;
  -webkit-animation: pulse 0.25s infinite alternate;
  animation: pulse 0.25s infinite alternate;
}

.piglet.stop-pulse {
  -webkit-animation: none;
  animation: none;
}

@-webkit-keyframes pulse {
  from {
    -webkit-transform: none;
    transform: none;
  }
  to {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

@keyframes pulse {
  from {
    -webkit-transform: none;
    transform: none;
  }
  to {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

@-webkit-keyframes blow {
  from {
    -webkit-transform: scale(0.1);
    transform: scale(0.1);
  }
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes blow {
  from {
    -webkit-transform: scale(0.1);
    transform: scale(0.1);
  }
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.tail {
  position: absolute;
  left: -20px;
  top: 300px;
  width: 120px;
  height: 70px;
  -webkit-transform-origin: center right;
  transform-origin: center right;
  z-index: -1;
}

.tail img {
  position: absolute;
  top: 0;
  left: 0;
}

.preloader {
  background-color: #f2d0b5;
  height:100vh;
  width:100%;
  position:fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999999999;
}
.preloader-inner {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
}
.circle{
  height:25px;
  width:25px;
  background-color:white;
  border-radius:50%;
  margin:15px;
  display:inline-block;
}
.item0{
  animation: 1s pulse0 infinite;

}
.item1{
  animation: 1s pulse1 infinite;

}
.item2{
  animation: 1s pulse2 infinite;
}
@keyframes pulse0{
  0%{
    transform:scale(1);
  }
  10%{
    transform:scale(2);
  }
  43.3%{
    transform:scale(1);
  }
  76.6%{
    transform:scale(1);
  }
  100%{
    transform:scale(1);
  }
}
@keyframes pulse1{
  0%{
    transform:scale(1);
  }
  10%{
    transform:scale(1);
  }
  43.3%{
    transform:scale(2);
  }
  76.6%{
    transform:scale(1);
  }
  100%{
    transform:scale(1);
  }
}
@keyframes pulse2{
  0%{
    transform:scale(1);
  }
  10%{
    transform:scale(1);
  }
  43.3%{
    transform:scale(1);
  }
  76.6%{
    transform:scale(2);
  }
  100%{
    transform:scale(1);
  }
}

@-webkit-keyframes tailMoves {
  0% {
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
  }
  100% {
    -webkit-transform: translateX(-30px) rotate(-30deg);
    transform: translateX(-30px) rotate(-30deg);
  }
}

@keyframes tailMoves {
  0% {
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
  }
  100% {
    -webkit-transform: translateX(-30px) rotate(-30deg);
    transform: translateX(-30px) rotate(-30deg);
  }
}

.footer {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.footer__social-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.footer__col:first-child {
  font-size: 13px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 0.85;
  letter-spacing: normal;
  color: #2d3039;
}

.footer__col:last-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: auto;
}

.footer__social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
  margin-left: 10px;
  padding: 0;
  list-style: none;
}

.footer__social-item:not(:last-child) {
  margin-right: 10px;
}

.footer__btn {
  min-width: 158px;
  margin-right: 8px;
  margin-left: 8px;
  border-radius: 16px;
  background-color: #d0021b;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  color: #2d3039;
  border: none;
  color: #ffffff;
}

.footer__bottom-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 -9px;
  padding: 0;
  list-style: none;
}

.footer__bottom-link {
  text-decoration: underline;
}

.footer__bottom-links-item {
  margin: 0 9px;
}

.envelope__img-stopped {
  display: none;
}

.envelope {
  position: absolute;
  top: 240px;
  left: 200px;
  height: 76.5px;
  -webkit-transition: 0.2s -webkit-transform linear;
  transition: 0.2s -webkit-transform linear;
  transition: 0.2s transform linear;
  transition: 0.2s transform linear, 0.2s -webkit-transform linear;
}

.envelope--moving {
  -webkit-animation: envelopeMove 0.5s alternate infinite;
  animation: envelopeMove 0.5s alternate infinite;
}

.envelope--stopped {
  top: 0 !important;
  left: 0 !important;
  -webkit-animation: none !important;
  animation: none !important;
}

.envelope--stopped .envelope__img {
  display: none;
}

.envelope--stopped .envelope__img-stopped {
  display: block;
  max-width: 100%;
  height: 100%;
}

.envelope__img {
  display: block;
  max-width: 100%;
  height: 100%;
}

.popup-envelope-rotating-wrapper {
  position: absolute;
  width: calc(50% - 200px);
  height: 76.5px;
  top: 240px;
  left: 200px;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transition: 0.3s linear;
  transition: 0.3s linear;
}

.popup-envelope-rotating-wrapper.popped {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.popup-envelope-rotating-wrapper.popped div {
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

@-webkit-keyframes envelopeMove {
  from {
    -webkit-transform: none;
    transform: none;
  }
  to {
    -webkit-transform: translateX(-20px) translateY(-63px);
    transform: translateX(-20px) translateY(-63px);
  }
}

@keyframes envelopeMove {
  from {
    -webkit-transform: none;
    transform: none;
  }
  to {
    -webkit-transform: translateX(-20px) translateY(-63px);
    transform: translateX(-20px) translateY(-63px);
  }
}

.snowflake {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  font-size: 1em;
  font-family: Arial;
}

@-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% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  50% {
    -webkit-transform: translateX(80px);
    transform: translateX(80px);
  }
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}

.snowflake {
  position: fixed;
  top: -10%;
  z-index: 9;
  -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) {
  width: 20px;
  height: 20px;
  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) {
  width: 30px;
  height: 30px;
  left: 30%;
  -webkit-animation-delay: 4s,2s;
  animation-delay: 4s,2s;
}

.snowflake:nth-of-type(4) {
  width: 20px;
  height: 20px;
  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) {
  width: 15px;
  height: 15px;
  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) {
  width: 25px;
  height: 25px;
  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;
}

.layout {
  position: fixed;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: rgba(84, 49, 49, 0.4);
}

.popup {
  position: relative;
  width: 703px;
  padding: 42px 160px;
  background: #fff;
}

.popup-close {
  z-index: 999999999;
  position: absolute;
  top: 21px;
  right: 17px;
  width: 30px;
  height: 30px;
  border: none;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCI+PHBhdGggZD0iTTI3LjA1Ny42ODdMLjc2NyAyNi45NzZtMjYuNTQ2LjA4MUwxLjAyNC43NjciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzk3OTc5NyIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIvPjwvc3ZnPg==") no-repeat center;
  padding: 0;
  -webkit-transition: .15s linear;
  transition: .15s linear;
  outline: none;
}

.popup__form-group {
  margin-bottom: 13px;
}

.popup-close:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.popup__form h2:nth-of-type(2) {
  margin-top: 30px;
}

.popup__title {
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.09;
  letter-spacing: normal;
  color: #2d3039;
}

.popup__input {
  display: block;
  padding: 0 10px;
  width: 100%;
  height: 43px;
  font-size: 16px;
  font-family: inherit;
  line-height: 41px;
  color: #3d3839;
  border-radius: 3px;
  border: solid 1px #9b9b9b;
  outline: none;
}

.popup__input::-webkit-input-placeholder {
  opacity: 1;
  color: #3d3839;
}

.popup__input:-ms-input-placeholder {
  opacity: 1;
  color: #3d3839;
}

.popup__input::-ms-input-placeholder {
  opacity: 1;
  color: #3d3839;
}

.popup__input::placeholder {
  opacity: 1;
  color: #3d3839;
}

.popup__textarea {
  display: block;
  width: 100%;
  height: 80px;
  padding: 10px;
  font-family: inherit;
  border-radius: 3px;
  border: solid 1px #9b9b9b;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.56;
  letter-spacing: normal;
  color: #2d3039;
  resize: none;
}

.popup__btn {
  margin-top: 22px;
}

.form-btn {
  display: block;
  width: 100%;
  padding: 12px 10px;
  border: none;
  border-radius: 3px;
  background-color: #f5a623;
  font-size: 18px;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  -webkit-transition: 0.1s linear;
  transition: 0.1s linear;
}

.form-btn:hover {
  background-color: #ff9f01;
}

.form-btn:active {
  background-color: #f68737;
}

.hidden {
  display: none !important;
}

.popup-envelope {
  position: relative;
   display: -webkit-box;
  display: -ms-flexbox;
  display: flex; 
  z-index: 10;

  /*-webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column; */

  width: 723px;
  min-height: 575px;
  /* padding: 55px 64px 35px 84px; */

  /* background: url(../img/big_envelope.svg) no-repeat center/ contain; */
  color: #2d3039;
  -webkit-transition: -webkit-transform 0.3s linear;
  transition: -webkit-transform 0.3s linear;
  transition: transform 0.3s linear;
  transition: transform 0.3s linear, -webkit-transform 0.3s linear;
}

/* .popup-envelope:not('.no-animation') {
  -webkit-perspective: 1200;
  perspective: 1200;
  transform-style: preserve-3d;
} */


.popup-envelope:not(.on-step-2) .is-fliped {
  animation: rotateY 0.8s forwards !important;
}

.popup-envelope:not(.on-step-2) > div {
  transform-style: preserve-3d;
}

#get_gift_step_3 {
  position: relative;
  overflow: hidden;
}

#get_gift_step_3::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 133px;
  height: 332px;
  background: url(../img/last_step_ball.png);
  transform-origin: top;
  animation: ballAnimation 1s forwards, ballShake 0.8s 1.1s forwards, sparkBallShow 0.1s 1.5s forwards;
}

@keyframes sparkBallShow {
  from {
    background: url(../img/last_step_ball.png);
  }

  to {
    background: url(../img/last_step_ball_with_spark.png);
  }
}

@keyframes ballAnimation {
  to {
    top: 5px;
  }
}

@keyframes ballShake {
  0% {
    transform: translateX(-50%) rotate(-5deg);
  }
  50% {
    transform: translateX(-50%) rotate(5deg);
  }
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
}

.popup-envelope > div {
  display: flex;
  width: 100%;
}

.popup-envelope__step1-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 560px;
  margin: 0 auto 20px;
}

#get_gift_step_2.popup-envelope__body {
  width: 100%;
  display: flex;
}

.popup-envelope:not(.on-step-2) #get_gift_step_2.popup-envelope__body {
  transform: rotateY(180deg);
}

_::-webkit-full-page-media, _:future, :root .popup-envelope:not(.on-step-2) #get_gift_step_2.popup-envelope__body {
  transform: rotateY(0);
} 

#get_gift_step_3.popup-envelope__body {
  width: 100%;
  align-items: center;
}

#get_gift_step_3.popup-envelope__body .popup-envelope__btn {
  max-width: 385px;
  margin-top: 40px;
  color: #000;
}

.get_gift_step_3 {
  overflow: hidden;
}



#get_gift_step_3 p {
  max-width: 385px;
  text-align: center;
  margin-top: auto;
  margin-bottom: 0;
  font-size: 20px;
  line-height: 30px;
}

#get_gift_step_2 input,
#get_gift_step_2 .popup__form-group,
#get_gift_step_2 .popup__title,
#get_gift_step_2 .popup-envelope__btn {
  max-width: 385px;
  margin-left: auto;
  margin-right: auto;
}

#get_gift_step_4 .popup-envelope__btn {
  margin-top: 30px;
}

.popup-envelope__step1-row .popup-envelope__text {
  max-width: 205px;
}

.popup-envelope__img-wrapper img {
  max-height: 265px;
 
}

.no-overflow {
  overflow: hidden !important;
}

.popup-envelope:not(.on-step-2) .popup-envelope__img-wrapper img {
 animation: imgRotate 0.3s forwards;
 animation-delay: 1s;
}


@keyframes rotateY {
  to {
    transform: rotateY(180deg);
  }
}

@keyframes giftAnimation {
  100% {
    transform: translateY(0%) translateX(0) rotate(-20deg);
    opacity: 1;
  }
}

@keyframes opacityAnimation {
  0% {
    opacity: 0
  }
  
  50% {
    opacity: 0;
  } 

  100% {
    opacity: 1;
  }
}

@keyframes archAnimation {

  to {
    transform: rotate(-180deg);
  }
}

@keyframes archAnimationMinus {
  to {
    transform: rotate(180deg);
  }
}


.popup-envelope__img-bar {
  display: flex;
  
}

.popup-envelope:not(.on-step-2) .popup-envelope__img-bar {
  justify-content: flex-end;
  position: absolute;
  left: 58%;
  animation: archAnimation 1s 1s forwards,
             opacityAnimation 0.5s forwards;
}

.popup-envelope__img-block {
  margin-left: 25px;
}

@keyframes imgRotate {
  to {
    transform: rotate(-20deg);
  }
}

.popup-envelope:not(.on-step-2) .popup-envelope__img-wrapper {
  animation: archAnimationMinus 1.5s forwards;
  animation-delay: 1s;

}



#get_gift_step_1 form {
  display: flex;
  flex-direction: column;
}

#get_gift_step_1 {
  z-index: 0;
}

.on-step-2 #get_gift_step_1 {
  overflow: hidden;
}

.popup-envelope:not(.hidden) {
  -webkit-animation: blow 0.5s forwards;
  animation: blow 0.5s forwards;
}

.popup-envelope__top-text {
  display: block;
  margin-bottom: 30px;
  text-align: center;
  font-weight: normal;
  font-size: 42px;
}

.popup-envelope__text {
  /* text-align: center; */
  line-height: 1.44;
  font-size: 20px;
  margin: 0;
}

.popup-envelope__btn {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: 385px;
}

.popup-envelope__body {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #ffffff;
  background: url(../img/big_envelope.svg) no-repeat center/ contain;
  padding: 55px 64px 35px 84px;
  backface-visibility: hidden;
}

@-webkit-keyframes bla {
  from {
    -webkit-transform: translateY(-50px) scale(0.1);
    transform: translateY(-50px) scale(0.1);
  }
  to {
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
  }
}

@keyframes bla {
  from {
    -webkit-transform: translateY(-50px) scale(0.1);
    transform: translateY(-50px) scale(0.1);
  }
  to {
    -webkit-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
  }
}

.sent-message {
  position: relative;
}

.sent-message::before {
  content: "";
  position: absolute;
  left: -130px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 115px;
  height: 60px;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTUiIGhlaWdodD0iNjEiPjxwYXRoIGQ9Ik0xMDEuODQzIDIwLjU4MmMxLjA1LS4xNzQgMi4zMDUtLjQ3IDMuNTYtLjU3MyAxLjM2Ni0uMTEgMi40Ljc2MSAyLjU3MiAyLjEyNy4xMDkuODY1LS4xMyAxLjE0LS45NzcgMS4zNDYtMS43MjYuNDItMy40NDkuODc4LTUuMTY5IDEuMzUtMy41OS45ODUtNy4xOCAxLjk2LTEwLjc2MyAyLjk5My0yLjg0My44Mi01LjY3MyAxLjcyOC04LjUxMSAyLjU4LTQuNjcxIDEuNDA2LTkuMzQ0IDIuOC0xNC4wMTcgNC4xOTYtOC40IDIuNTExLTE2Ljc2IDUuMjQzLTI1LjA2OCA4LjI2My0xMC41NjYgMy44NDItMjAuOTg1IDguMjExLTMxLjIyMiAxMy4yMzgtMi41NzcgMS4yNjUtNS4xMzkgMi41NzUtNy43MTUgMy44NDUtLjY3Ny4zMzQtMS4zNzIuNjM0LTIuMDczLjg4Mi0uODQzLjI5Ny0xLjYxMy4yNC0yLjE2OS0uNDMtLjM5OC0uNDc5LS4zOTMtLjkyLjA0OC0xLjQ5LjU0My0uNyAxLjIxLTEuMjY5IDEuODk1LTEuODA5IDIuNTE0LTEuOTgxIDUuMjA0LTMuNjM1IDcuOTIxLTUuMjM1IDguODU1LTUuMjE3IDE4LjA0LTkuNDY0IDI3LjM5LTEzLjIwOCA3Ljk4MS0zLjE5NyAxNi4wNi01LjkwNyAyNC4xODUtOC4zOWEzMzguNjI2IDMzOC42MjYgMCAwIDEgMTQuMjIyLTQuMDNjNC4wNDQtMS4wNDUgOC4xMDMtMS45MDcgMTIuMTY0LTIuNzQyIDMuMTY1LS42NSA2LjMyNy0xLjM0OCA5LjQ5LTIuMDIyIDEuMzQ0LS4yODYgMi42ODctLjU2NiA0LjIzNy0uODkxbS0xNC40NDcgMjQuMDhhNTUwLjE4NyA1NTAuMTg3IDAgMCAwLTIxLjIxOSAzLjgyN2MtNi44MzIgMS4zNzItMTMuNjEzIDMuMjM4LTIwLjM2MiA1LjM5Mi00LjUyNCAxLjQ0NS05LjAyNyAyLjk5NS0xMy40ODUgNC43NzhhOS4yOSA5LjI5IDAgMCAxLS43MDQuMjUxYy0uNzM2LjIyOC0xLjIzNi4wMjItMS41MTYtLjYxNy0uMTk4LS40NTItLjE0My0uNzMyLjI3NC0xLjA5NC40Ny0uNDA4Ljk5OC0uNzE1IDEuNTI2LTEuMDE3IDMuNTY0LTIuMDMgNy4yNi0zLjYzOSAxMC45NzktNS4xNjkgNS44NDItMi40MDQgMTEuNzYyLTQuNDMgMTcuNjg2LTYuNDMzIDMuODMyLTEuMjk2IDcuNjU2LTIuNjM1IDExLjUwMS0zLjg1NWEzMjAuMTUzIDMyMC4xNTMgMCAwIDEgMTMuODkyLTQuMDZjNS4wMzQtMS4zNTEgMTAuMDgyLTIuNTQyIDE1LjEzMy0zLjY5NiAyLjgxLS42NCA1LjYyMy0xLjIzOSA4LjQzNS0xLjg0MyAyLjA1Mi0uNDQxIDMuNTE1LjI4NiA0LjQ0MyAyLjAzNy4xMzYuMjU4LjI2NS41Mi4zOTEuNzg1LjY4NyAxLjQzLjc5NyAyLjk4Ny40MDMgNC42OS0uMjQgMS4wNDItLjg0NCAxLjY2Ny0xLjc1MSAyLjA1Ni0uNjQ2LjI3Ny0xLjMwOC4zNTQtMS45NjcuNDUybC0xOS4wNzEgMi44M2MtMS41My4yMjYtMy4wNTkuNDU3LTQuNTg4LjY4Nm0wLTMxYTU1MC4xODcgNTUwLjE4NyAwIDAgMC0yMS4yMTkgMy44MjdjLTYuODMyIDEuMzcyLTEzLjYxMyAzLjIzOC0yMC4zNjIgNS4zOTItNC41MjQgMS40NDUtOS4wMjcgMi45OTUtMTMuNDg1IDQuNzc4YTkuMjkgOS4yOSAwIDAgMS0uNzA0LjI1MWMtLjczNi4yMjgtMS4yMzYuMDIyLTEuNTE2LS42MTctLjE5OC0uNDUyLS4xNDMtLjczMi4yNzQtMS4wOTQuNDctLjQwOC45OTgtLjcxNSAxLjUyNi0xLjAxNyAzLjU2NC0yLjAzIDcuMjYtMy42MzkgMTAuOTc5LTUuMTY5IDUuODQyLTIuNDA0IDExLjc2Mi00LjQzIDE3LjY4Ni02LjQzMyAzLjgzMi0xLjI5NiA3LjY1Ni0yLjYzNSAxMS41MDEtMy44NTVhMzIwLjE1MiAzMjAuMTUyIDAgMCAxIDEzLjg5Mi00LjA2QzkxLjAwMiA0LjMxMyA5Ni4wNSAzLjEyMiAxMDEuMSAxLjk2OGMyLjgxLS42NCA1LjYyMy0xLjIzOSA4LjQzNS0xLjg0MyAyLjA1Mi0uNDQxIDMuNTE1LjI4NiA0LjQ0MyAyLjAzNy4xMzYuMjU4LjI2NS41Mi4zOTEuNzg1LjY4NyAxLjQzLjc5NyAyLjk4Ny40MDMgNC42OS0uMjQgMS4wNDItLjg0NCAxLjY2Ny0xLjc1MSAyLjA1Ni0uNjQ2LjI3Ny0xLjMwOC4zNTQtMS45NjcuNDUybC0xOS4wNzEgMi44M2MtMS41My4yMjYtMy4wNTkuNDU3LTQuNTg4LjY4NiIgZmlsbD0iIzNEMzgzOSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+") no-repeat center/cover;
}

.popup--followed-link .sent-message::before {
  display: none;
}

.sent-message__top-text {
  display: block;
  margin-bottom: 30px;
  text-align: center;
  color: #2d3039;
  font-size: 25px;
  font-weight: normal;
}

.sent-message__thumbnail {
  width: 100%;
  max-width: 383px;
  height: 243px;
  margin-bottom: 35px;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  background: #ffffff;
}

.greeting-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  height: 100%;
  padding-right: 10px;
  padding-bottom: 10px;
  background: url(../img/greeting_card.jpg) no-repeat center/cover;
  font-size: 10px;
}

.greeting-card__text {
  margin-bottom: 5px;
}

.id2-rx-noauth-informer-button span {
  line-height: 15px;
}

.id2-rx-user-informer-icon {
  font-family: HelveticaNeueCyr, Helvetica Neue, Helvetica, Arial, sans-serif !important;
  line-height: 16px;
  position: absolute;
  top: 0;
  left: 0;
  display: table-cell;
  width: 28px;
  height: 24px;
  text-align: center;
  vertical-align: top;
}

.id2-rx-user-informer-button {
  line-height: 17px;
}

.id2-rx-user-informer-icon {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  background: url(../img/rx-action-badge.png) 4px -10px no-repeat;
}

.id2-rx-noauth-informer-button .id2-rx-user-informer-icon {
  top: -1px;
  background-position: 4px -10px;
}

.id2-rx-user-informer-button {
  font-family: HelveticaNeueCyr, Helvetica Neue, Helvetica, Arial, sans-serif !important;
  font-size: 11px !important;
  position: relative;
  display: inline-block;
  float: right;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 24px;
  margin: 0;
  padding: 4px 11px 4px 50px;
  -webkit-transition: background-color .5s ease;
  transition: background-color .5s ease;
  vertical-align: baseline;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  border-radius: 3px;
  background-color: #247483;
  background-clip: padding-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  cursor: url("../img/hand_pointer.svg") 0 0, auto;
  z-index: 1 !important;
}

.id2-rx-noauth-informer-button {
  min-width: 175px;
  border-width: 1px;
  border-style: solid;
  border-color: #3d8491 #126a7a #004d5b;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #257584), color-stop(80%, #005e6f));
  background-image: linear-gradient(#257584 5%, #005e6f 80%);
  background-clip: padding-box;
  -ms-filter: 'progid:DXImageTransform.Microsoft.Gradient(gradientType=0, startColorStr=\'#FF257584\', endColorStr=\'#FF005E6F\')';
}

@media (max-width: 1400px) {
  .wrapper {
    background: url(../img/main_image_1.svg) no-repeat center/81.25%;
    background: url(../img/main_bg_3.svg) no-repeat center/81.25%;
  }

  .brow--left {
    top: 351px;
    left: 306px;
  }

  .brow--right {
    top: 332px;
    left: 373px;
  }

  /* .brow--left img {
    width: 35px;
  } */
  .content__inner {
    padding: 0;
    background: transparent;
  }
  .content__inner::after {
    bottom: 38%;
    height: 90px;
  }
  .tail {
    top: 300px;
  }
  @-webkit-keyframes envelopeMove {
    from {
      -webkit-transform: none;
      transform: none;
    }
    to {
      -webkit-transform: translateX(-20px) translateY(-73px);
      transform: translateX(-20px) translateY(-73px);
    }
  }
  @keyframes envelopeMove {
    from {
      -webkit-transform: none;
      transform: none;
    }
    to {
      -webkit-transform: translateX(-20px) translateY(-73px);
      transform: translateX(-20px) translateY(-73px);
    }
  }
  .content {
    padding-bottom: 75px;
    padding-right: 95px;
  }
  .envelope {
    top: 48%;
  }
  .envelope--open {
    -webkit-transform: translateX(-17px) translateY(-75px) rotate(4deg);
    transform: translateX(-17px) translateY(-75px) rotate(4deg);
  }
  .piglet {
    bottom: 19%;
  }
}

@media (max-width: 1200px) {
  .wrapper {
    background: transparent;
  }
  .brow--left {
    top: 308px;
    left: 140px;
  }

  .brow--left img {
    width: 40px;
  }

  .brow--right {
    top: 294px;
    left: 186px;
  }

  .brow--right img {
    width: 30px;
  }
  .tail {
    top: 250px;
    left: -80px;
    width: 94px;
    height: 45px;
    background-size: contain;
  }
  .piglet {
    width: 55px;
    height: 65px;
    bottom: 33%;
    left: 200px;
    bottom: 34%;
    left: 172px;
    background-size: contain;
  }
  .piglet:hover {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
  }
  @-webkit-keyframes tailMoves {
    0% {
      -webkit-transform: rotate(30deg);
      transform: rotate(30deg);
    }
    100% {
      -webkit-transform: translateX(-20px) rotate(-30deg);
      transform: translateX(-20px) rotate(-30deg);
    }
  }
  @keyframes tailMoves {
    0% {
      -webkit-transform: rotate(30deg);
      transform: rotate(30deg);
    }
    100% {
      -webkit-transform: translateX(-20px) rotate(-30deg);
      transform: translateX(-20px) rotate(-30deg);
    }
  }
  .footer__col:last-child {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .content__text {
    padding-left: 70px;
  }
  .content__inner {
    height: 600px;
    /* background: url(../img/main_image_1.svg) no-repeat center/715px; */
    background: url(../img/main_image_1.svg) no-repeat 60% center/644px;
    background: url(../img/main_bg_3.svg) no-repeat 60% center/644px;
  }
  .content__inner::after {
    width: 80px;
    height: 65px;
    background-position-x: 100%;
    left: 71px;
    bottom: 46.3%;
    background-size: 40px;
    -webkit-transform: rotate(-13deg);
    transform: rotate(-13deg);
  }
  .popup-envelope-rotating-wrapper {
    position: absolute;
    width: calc(50% - 75px);
    height: 76.5px;
    top: 264px;
    left: 75px;
  }
  .popup-envelope-rotating-wrapper.popped {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  .popup-envelope-rotating-wrapper.popped div {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .envelope {
    top: 264px;
    left: 75px;
    width: 48.64px;
    height: 50px;
  }
  @-webkit-keyframes envelopeMove {
    from {
      -webkit-transform: translateX(0) translateY(0) rotate(5deg);
      transform: translateX(0) translateY(0) rotate(5deg);
    }
    to {
      -webkit-transform: translateX(-15px) translateY(-46px) rotate(5deg);
      transform: translateX(-15px) translateY(-46px) rotate(5deg);
    }
  }
  @keyframes envelopeMove {
    from {
      -webkit-transform: translateX(0) translateY(0) rotate(5deg);
      transform: translateX(0) translateY(0) rotate(5deg);
    }
    to {
      -webkit-transform: translateX(-15px) translateY(-46px) rotate(5deg);
      transform: translateX(-15px) translateY(-46px) rotate(5deg);
    }
  }
  .content {
    width: 715px;
    width: 644px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding-right: 0;
  }
  body.landscape-orientation .tail {
    top: 265px;
  }
}

@media (max-width: 1024px) {
  body {
    height: 100vh;
    /* Use vh as a fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
  }

  .wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
  }

 
  .footer {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .footer__col {
    width: 46%;
  }
  .footer__bottom-links {
    display: block;
    margin: 0;
  }
  .footer__bottom-links-item {
    margin: 0;
    margin-bottom: 15px;
  }
  .footer__bottom-links-item:last-child {
    margin-bottom: 0;
  }
  .footer__social-wrapper {
    margin-top: 15px;
  }

  
}

@media (max-width: 768px) {

  .envelope {
    top: 268px;
    left: 78px;
  }
  .tail {
    top: 300px;
  }
}

@media (max-width: 767px) {
  body {
    background: url("../img/snow_flakes_mobile.svg") no-repeat center center/cover, url("../img/main_bg_mobile.svg") no-repeat center center/100% 130%;
  }
  body.landscape-orientation {
    background: url("../img/snow_flakes_mobile.svg") no-repeat center center/cover, url("../img/main_bg_mobile.svg") no-repeat center center/cover;
  }
  .popup-envelope__img-bar,
  .popup-envelope__img-wrapper,
  .popup-envelope__img-wrapper img {
    animation: none !important
  }

  .popup-envelope:not(.on-step-2) .popup-envelope__img-bar {
    position: static;
  }

  .popup-envelope__body {
    position: static;
    padding: 0;
    background: #ffffff;
  }

  .popup-envelope:not(.on-step-2) .is-fliped {
    animation: none !important;
  }


  .popup-envelope:not(.on-step-2) > div {
    transform-style: initial;
  }

  
.popup-envelope:not(.on-step-2) #get_gift_step_2.popup-envelope__body {
  transform: rotateY(0);
} 

  #get_gift_step_3::before {
    display: none;
  }

  .popup-envelope__body {
    backface-visibility: initial;
  }
  .wrapper {
    background: url(../img/main_image_mob.svg) no-repeat center 20px/320px;
  }
  .logo {
    width: 100px;
  }
  .header__slogan {
    display: none;
  }
  .id2-rx-user-informer-icon {
    border-right: none;
  }
  .brow--right img {
    width: 20px;
  }

  .brow--left img {
    width: 25px;
  }

  .brow--right {
    top: 177px;
    left: 153px;
  }

  .brow--left {
    top: 185px;
    left: 123px;
  }

  body.landscape-orientation .brow--left {
    top: -184px;
  }

  body.landscape-orientation .brow--right {
    top: -192px;
  }


  .sent-message__thumbnail {
    height: 180px;
  }
  .greeting-card {
    padding: 0;
    background-size: contain;
  }
  .sent-message::before {
    display: none;
  }
  .logo img {
    max-width: 100%;
  }
  .piglet {
    top: 200px;
    left: 43%;
    width: 47px;
    height: 64px;
    bottom: auto;
  }
  .envelope {
    top: 152px;
    width: 37px;
    height: 38px;
    left: 64px;
  }
  @-webkit-keyframes envelopeMove {
    from {
      -webkit-transform: translateX(0) translateY(0) rotate(5deg);
      transform: translateX(0) translateY(0) rotate(5deg);
    }
    to {
      -webkit-transform: translateX(-10px) translateY(-31px) rotate(5deg);
      transform: translateX(-10px) translateY(-31px) rotate(5deg);
    }
  }
  @keyframes envelopeMove {
    from {
      -webkit-transform: translateX(0) translateY(0) rotate(5deg);
      transform: translateX(0) translateY(0) rotate(5deg);
    }
    to {
      -webkit-transform: translateX(-10px) translateY(-31px) rotate(5deg);
      transform: translateX(-10px) translateY(-31px) rotate(5deg);
    }
  }
  #id2-rx-user-buttontitle {
    display: none;
  }
  .id2-rx-noauth-informer-button {
    min-width: 1px;
    width: 31px;
    height: 26px;
    padding: 0;
    z-index: 1 !important;
  }
  .footer__col {
    width: 100%;
  }
  .footer__col:first-child {
    display: none;
  }
  .footer__col:last-child {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .footer__text {
    display: none;
  }
  .footer__btn {
    width: 325px;
    margin: 0;
    padding: 7.5px 10px;
    border-radius: 20px;
    background-color: #ee4f48;
  }
  .tail {
    top: 180px;
    left: -60px;
    width: 70px;
    height: 45px;
  }
  .content {
    width: 100%;
    width: 335px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    padding-bottom: 20px;
  }
  .content__inner {
    position: static;
    height: auto;
    background: transparent;
  }
  .content__inner::after {
    left: 64px;
    bottom: auto;
    top: 152px;
    width: 52px;
    height: 45px;
    -webkit-transform: rotate(-11deg);
    transform: rotate(-11deg);
    background: #ee4f48 url(../img/pig_ear.svg) no-repeat 90% center/30px;
  }
  .content__text {
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    font-size: 17px;
    line-height: 27px;
    text-align: center;
  }
  .popup {
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    padding: 20px 60px;
  }

  body.landscape-orientation .popup {
    max-height: 99999px;
    overflow-y: visible;
  }

  .popup-close {
    width: 23px;
    height: 23px;
    right: 10px;
    top: 10px;
    z-index: 1;
  }
  .popup__form {
    max-height: 100%;
    overflow-y: auto;
  }
  .layout {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 20px;
  }
  .popup-envelope {
    width: 340px;
    min-height: 444px;
    height: auto;
    padding: 70px 20px 35px;
    padding-top: 30px;
    background: white;
    /* background: url(../img/popup_envelope_mob.png) no-repeat center center/contain; */
  }
  .popup-envelope__top-text {
    margin-bottom: 40px;
    font-size: 22px;
  }

  .popup-envelope__step1-row img {
    max-height: 140px;
  }
  .popup-envelope__text {
    font-size: 18px;
    line-height: 1.6;
  }
  .popup-envelope-rotating-wrapper {
    top: 122px;
    left: 53px;
    width: calc(50% - 52px);
    height: 38px;
  }
  body.landscape-orientation {
    height: 100%;
    height: auto;
    min-height: 1px;
    position: relative;
  }
  body.landscape-orientation .popup-close {
    /* position: fixed; */
    top: 15px;
    right: 15px;
  }
  body.landscape-orientation .popup-envelope__text {
    font-size: 16px;
    line-height: 1.2;
  }
  body.landscape-orientation .popup-envelope .form-btn {
    padding: 8px 10px;
    font-size: 16px;
  }
  body.landscape-orientation .popup-envelope-rotating-wrapper {
    top: -248px;
  }
  body.landscape-orientation .tail {
    top: -180px;
  }
  body.landscape-orientation .piglet {
    top: -170px;
    left: 43%;
  }
  body.landscape-orientation .envelope {
    top: -217px;
  }
  body.landscape-orientation .content__inner::after {
    top: -218px;
  }
  body.landscape-orientation .layout {
    position: absolute;
    height: auto;
    padding-top: 75px;
  }
  body.landscape-orientation .wrapper {
    width: 100%;
  }
  body.landscape-orientation .header {
    margin-bottom: 370px;
  }
  body.landscape-orientation .popup-envelope {
    padding-top: 35px;
    padding-bottom: 20px;
    min-height: 1px;
  }
  body.landscape-orientation .popup-envelope__top-text {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .greeting-card__text-body {
    display: none;
  }
}

@media (max-width: 480px) {
  .popup {
    padding-left: 25px;
    padding-right: 25px;
  }
  .tail {
    left: -30px;
  }
  .envelope {
    top: 165px;
  }
  .brow--left {
    top: 196px;
    left: 125px;
  }

  .brow--right {
    top: 188px
  }

  .popup-envelope-rotating-wrapper {
    top: 132px;
  }
  @-webkit-keyframes envelopeMove {
    from {
      -webkit-transform: translateX(0) translateY(0) rotate(5deg);
      transform: translateX(0) translateY(0) rotate(5deg);
    }
    to {
      -webkit-transform: translateX(-10px) translateY(-33px) rotate(5deg);
      transform: translateX(-10px) translateY(-33px) rotate(5deg);
    }
  }
  @keyframes envelopeMove {
    from {
      -webkit-transform: translateX(0) translateY(0) rotate(5deg);
      transform: translateX(0) translateY(0) rotate(5deg);
    }
    to {
      -webkit-transform: translateX(-10px) translateY(-33px) rotate(5deg);
      transform: translateX(-10px) translateY(-33px) rotate(5deg);
    }
  }
  .wrapper {
    padding-top: 10px;
  }
  .piglet {
    top: 210px;
  }
  .content__inner::after {
    top: 164px;
  }

  .popup-envelope__top-text {
    margin-bottom: 20px;
  }


  #get_gift_step_2 .popup__title {
    font-size: 20px;
  }

  .popup__input {
    height: 35px;
    line-height: 35px;
    font-size: 14px;
  }

  .popup-envelope {

    min-height: 1px;
    max-width: 100%;
    padding-bottom: 20px;
    padding-top: 30px;
  }

  .form-btn {
    padding: 10px;
    font-size: 18px;
  }

  .popup-envelope__text {
    font-size: 14px;
  }

}

@media (max-width: 375px) {
  .wrapper {
    background-position-x: 100%;
    background-position-y: 10px;
    background-size: 320px;
  }
  .tail {
    top: 177px;
    left: -65px;
  }


  .brow--left {
    top: 186px;
    left: 121px;
  }

  .brow--right {
    top: 178px;
    left: 152px
  }
  .content {
    width: 275px;
  }
  .content__inner::after {
    top: 152px;
    left: 56px;
    width: 57px;
    height: 45px;
  }
  .piglet {
    top: 200px;
    left: auto;
    right: 90px;
  }
  .envelope {
    top: 154px;
    left: 62px;
  }
  .popup-envelope-rotating-wrapper .envelope {
    right: auto;
  }
  .popup-envelope-rotating-wrapper {
    top: 122px;
    left: 51px;
    width: calc(50% - 51px);
  }
  @-webkit-keyframes envelopeMove {
    from {
      -webkit-transform: translateX(0) translateY(0) rotate(5deg);
      transform: translateX(0) translateY(0) rotate(5deg);
    }
    to {
      -webkit-transform: translateX(-10px) translateY(-34px) rotate(5deg);
      transform: translateX(-10px) translateY(-34px) rotate(5deg);
    }
  }
  @keyframes envelopeMove {
    from {
      -webkit-transform: translateX(0) translateY(0) rotate(5deg);
      transform: translateX(0) translateY(0) rotate(5deg);
    }
    to {
      -webkit-transform: translateX(-10px) translateY(-34px) rotate(5deg);
      transform: translateX(-10px) translateY(-34px) rotate(5deg);
    }
  }
  .footer__btn {
    width: 100%;
  }
}

@media (max-width: 374px) {
  .wrapper {
    padding-bottom: 10px;
  }
  .envelope {
    left: 56px;
  }
  .popup-envelope-rotating-wrapper {
    left: 48px;
    width: calc(50% - 48px);
  }
  .content__inner::after {
    left: 55px;
  }
}

@media (max-width: 370px) {

  .brow--left {
    left: 117px;
  }

  .brow--right {
    left: 147px;
  }
}

@media (max-width: 359px) {
  .wrapper {
    background-size: 275px;
    background-position-x: center;
  }

  .brow--left {
    top: 149px;
    left: 99px;
  }
  .brow--right img {
    width: 18px;
  }

  .brow--right {
    top: 141px;
    left: 127px;
  }
  
  .circle {
    width: 20px;
    height: 20px;
  }
  .tail {
    top: 140px;
    left: -43px;
    width: 50px;
    height: 30px;
  }
  .content {
    padding-bottom: 1px;
  }
  .piglet {
    top: 160px;
    left: 117px;
    width: 40px;
    height: 60px;
  }
  .envelope {
    width: 30px;
    height: 30px;
    top: 130px;
    left: 51px;
  }
  .popup-envelope-rotating-wrapper {
    top: 98px;
    left: 40px;
    width: calc(50% - 40px);
    height: 30px;
  }
  .content__inner::after {
    top: 121px;
    left: 50px;
    width: 44px;
    height: 40px;
    background-size: 25px;
  }
}


