:root {
  --font-family-primary: 'Inter', sans-serif;
  --font-family-secondary: 'Gilroy', sans-serif;
  --font-family-text: 'ProximaNova', sans-serif;
  --content-width: 327px;
  --container-offset: 15px;
  --container-width: calc(var(--content-width) + (var(--container-offset) * 2));
  --color-white: #fff;
  --color-black: #000;
  --color-yellow-400: #FDB522;
  --color-green-400: #00B728;
  --radius-main: 20px;
}


.page {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-family: var(--font-family-primary);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--color-white);
  background-color: var(--color-yellow-400);
}

.page__body {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 320px;
  min-height: 100%;
}

.container {
  margin: 0 auto;
  padding: 0 var(--container-offset);
  width: 100%;
  max-width: var(--container-width);
}

.main {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.content__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-top: 41px;
  margin-bottom: 10px;
  position: relative;
}

.content__inner::before {
  content: "";
  position: absolute;
  top: -40px;
  width: 100%;
  height: 100%;
  background-image: url("../money.png");
  background-position: top center;
  background-size: auto;
  background-repeat: no-repeat;
  -webkit-animation: mover 3s ease infinite both;
  animation: mover 3s ease infinite both;
}

@-webkit-keyframes mover {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);

  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);

  }
}

@keyframes mover {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);

  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);

  }
}

.content__inner img {
  position: relative;
  margin-top: auto;
  bottom: -37px;
  width: 100%;
  height: 100%;
  max-height: 370px;
  -o-object-fit: cover;
  object-fit: cover;
}

.content__wellcome {
  padding: 30px 30px 33px;
  border-radius: var(--radius-main);
  background-color: var(--color-green-400);
  text-align: center;
}

.content__wellcome h1 {
  font-family: var(--font-family-secondary);
  font-weight: 800;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.4;
  text-transform: uppercase;
}

.content__wellcome p {
  font-family: var(--font-family-primary);
  font-size: 14px;
  padding: 0 36px;
  letter-spacing: 0.05em;
  line-height: 1.26;
}

.content__wellcome p span {
  font-weight: 700;
  text-transform: capitalize;
  text-decoration: underline;
}

.content__action {
  margin-top: -20px;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  position: relative;
  z-index: 1;
  padding: 36px 0 14px;
  border-radius: var(--radius-main);
  background-color: var(--color-white);
}

.content__action-text {
  margin: 0 auto;
  width: 100%;
  font-size: 16px;
  letter-spacing: 0;
  max-width: 210px;
  color: var(--color-black);
  text-align: center;
}

.button__apply, .button__call {
  position: relative;
  font-family: var(--font-family-secondary);
  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;
  border-radius: 4px;
  margin: 0 auto 23px;
  padding: 18px;
  font-weight: 600;
  padding-left: 52px;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  width: 100%;
  max-width: 280px;
  background-color: var(--color-green-400);
}

.button__call:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 35px;
  width: 18px;
  height: 18px;
  background-image: url("../phone.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-animation: 1s ease-in-out infinite bring;
  animation: 1s ease-in-out infinite bring
}

.button__apply {
  padding-left: inherit;
}


@-webkit-keyframes bring {

  0%,
  100%,
  50% {
    -webkit-transform: translatey(-50%) rotate(0) scale(1) skew(1deg);
    transform: translatey(-50%) rotate(0) scale(1) skew(1deg)
  }

  10%,
  30% {
    -webkit-transform: translatey(-50%) rotate(-25deg) scale(1) skew(1deg);
    transform: translatey(-50%) rotate(-25deg) scale(1) skew(1deg)
  }

  20%,
  40% {
    -webkit-transform: translatey(-50%) rotate(25deg) scale(1) skew(1deg);
    transform: translatey(-50%) rotate(25deg) scale(1) skew(1deg)
  }
}

@keyframes bring {

  0%,
  100%,
  50% {
    -webkit-transform: translatey(-50%) rotate(0) scale(1) skew(1deg);
    transform: translatey(-50%) rotate(0) scale(1) skew(1deg)
  }

  10%,
  30% {
    -webkit-transform: translatey(-50%) rotate(-25deg) scale(1) skew(1deg);
    transform: translatey(-50%) rotate(-25deg) scale(1) skew(1deg)
  }

  20%,
  40% {
    -webkit-transform: translatey(-50%) rotate(25deg) scale(1) skew(1deg);
    transform: translatey(-50%) rotate(25deg) scale(1) skew(1deg)
  }
}

.content__action-text span {
  color: var(--color-green-400);
  font-weight: 600;
}

.content__arrows {
  margin: 0 auto 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  max-width: 184px;
}

.content__arrows-icon:nth-child(1) {
  -webkit-animation: arrowMovement 1.5s ease-in-out infinite;
  animation: arrowMovement 1.5s ease-in-out infinite;
}

.content__arrows-icon:nth-child(2) {
  -webkit-animation: arrowMovement 1.5s 0.3s ease-in-out infinite;
  animation: arrowMovement 1.5s 0.3s ease-in-out infinite;
}

.content__arrows-icon:nth-child(3) {
  -webkit-animation: arrowMovement 1.5s 0.6s ease-in-out infinite;
  animation: arrowMovement 1.5s 0.6s ease-in-out infinite;
}

@-webkit-keyframes arrowMovement {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes arrowMovement {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media(max-width: 415px) {
    .main {
        display: block;
    }
    .content__inner::before {
        background-size: 90%;
        top: -10px;
    }
}

@media(max-width: 375px) {
    .content__wellcome {
        padding: 20px 20px 23px
    }
    .content__inner {
        padding-top: 21px;
    }
    .content__inner::before {
        top: -30px;
    }
    .content__action {
        padding: 26px 0 14px;
    }
}

@media(max-width: 360px) {
    .content__inner img {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
}

@media(max-width: 320px) {
    .content__wellcome {
        padding: 10px;
    }
    .content__inner::before {
        top: -20px;
    }
    .content__inner img {
        width: 85%;
        height: auto;
        margin: 0 auto;
    }
}