﻿@font-face {
  font-family: Avenir-Book;
  src: url("../fonts/AvenirLTStd-Book.otf") format("opentype");
}

html {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 7px;
  background-color: #f3f3f3;
  font-family: Arial, Helvetica, sans-serif;
}

.clearfix:after {
  display: table;
  content: '';
  clear: both;
}

h1 {
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 43px;
  font-weight: bold;
  color: #131313;
  margin: 0 0 20px 0;
  padding: 0;
}

h2 {
  font-family: 'Lato', sans-serif;
  font-size: 28px;
  color: #121212;
  margin: 0 0 20px 0;
  padding: 0;
}

header,
.content {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  box-shadow: 0 2px 4px 0 #BDBDBD;
  width: 100%;
  max-width: 800px;
  padding: 10px;
  margin: 0 auto 10px auto;
  position: relative;
}

.content {
  padding: 35px 25px 35px 25px;
  font-family: 'Cabin', sans-serif;
  font-size: 18px;
  color: #606060;
  margin-bottom: 20px;
}

footer {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 10px auto;
  padding: 20px 10px 0 10px;
  font-family: Avenir-Book;
  font-size: 12px;
  color: #626262;
  text-align: center;
}

footer span {
  font-family: Avenir-Book;
  font-size: 13px;
  color: #AFAFAF;
}

footer span a {
  color: #AFAFAF;
  text-decoration: none;
}

footer span a:hover {
  text-decoration: underline;
}

.m-show {
  display: none;
}

.thumb {
  float: left;
  width: 50px;
  margin-right: 10px;
}

.main {
  display: block;
  width: 100%;
  margin-bottom: 30px;
  height: auto;
}

.name {
  font-family: 'Cabin', sans-serif;
  font-size: 17px;
  color: #1F599D;
  display: block;
  text-decoration: none;
  margin-bottom: 5px;
}

.stat {
  font-family: 'Cabin', sans-serif;
  font-size: 13px;
  color: #818181;
  display: inline-block;
  padding-right: 15px;
}

.advertorial {
  position: absolute;
  top: 0;
  right: 25px;
  text-align: right;
  font-size: 19px;
  color: #9B9B9B;
}

.advertorial img {
  display: inline-block;
}

.button {
    background: #019CFE;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.50);
    font-family: 'Cabin', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #FFFFFF;
    padding: 18px 70px;
    display: table;
    margin: 0 auto;
    text-decoration: none;
    /* 🔥 Пульс */
    animation: pulse 1.6s ease-in-out infinite;
    transform-origin: center;
    will-change: transform, box-shadow;
}

    .button:hover {
        background: #0184D5;
        /* на ховере замрём и чуть увеличим */
        animation-play-state: paused;
        transform: scale(1.03);
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(0,0,0,0.50);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 8px 24px rgba(1,156,254,0.55), 0 2px 4px rgba(0,0,0,0.50);
    }
}

/* уважение к пользователям с reduced motion */
@media (prefers-reduced-motion: reduce) {
    .button {
        animation: none;
    }
}

@media screen and (max-width: 500px) {
  body {
    padding: 0;
  }

  .m-show {
    display: block;
  }

  .m-hide {
    display: none;
  }

  .advertorial {
    right: 10px;
  }

  .name {
    display: inline-block;
    margin-right: 5px;
  }

  .stat.first {
    padding-right: 15px;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .main {
    margin-bottom: 10px;
  }

  .content {
    font-size: 14px;
  }

  footer {
    font-size: 12px;
  }

  .button {
    padding: 10px 45px 10px 45px;
  }
}

#fda {
  font-size: 12px;
}

#fda a {
  color: #4A4A4A;
}

#adver p {
  text-align: center;
  margin: 0;
  padding: 0px 0px 15px 0px;
  font-size: 12px;
  color: #818181;
}
/* form */


.formFb {
    box-sizing: border-box;
    margin: 1.5rem 0;
}

.formFb {
    max-width: 600px;
    font-size: 17px;
    padding: 0.6em 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    border-radius: 0.5em;
    background-image: linear-gradient(90deg, #3580ed 50%, transparent 50%), linear-gradient(90deg, #3580ed 50%, transparent 50%), linear-gradient(0, #3580ed 50%, transparent 50%), linear-gradient(0, #3580ed 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 10px 2px, 10px 2px, 2px 10px, 2px 10px;
    animation: marching-ants 400ms infinite linear;
}

@keyframes marching-ants {
    0% {
        background-position: 0 0, 10px 100%, 0 10px, 100% 0;
    }

    100% {
        background-position: 10px 0, 0 100%, 0 0, 100% 10px;
    }
}

.formFb__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.formFb__text {
    display: block;
    margin: 0;
}

.formFb__action {
    margin-bottom: .5em;
    text-align: center;
}

.formFb__counter {
    font-size: .925em;
    text-align: center;
}

    .formFb__counter span {
        font-weight: bold !important;
    }

    .formFb__counter .red {
        color: #f20 !important;
    }

.formFb__img {
    max-width: 250px;
    margin: 1em 0;
}

    .formFb__img img {
        width: 100%;
        max-width: 100%;
    }

.formFb__price {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.formFb__price--p {
    display: flex;
    align-items: center;
}

.formFb__price--old {
    font-size: 1.15em;
    text-decoration: line-through;
    margin-right: .5em;
}

.formFb__price--txt {
    margin-bottom: .55em;
    font-weight: bold;
    font-size: 1.25em;
}

.formFb__price--new {
    font-size: 2em;
    font-weight: bold;
    color: #f20;
}

.formFb__timer {
    margin: 1.5em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .formFb__timer p {
        /*margin-right: .5em;*/
        margin-bottom: .25em;
    }

    .formFb__timer .timer {
        display: flex;
        font-size: 2em;
        color: rgb(88, 88, 88);
    }

        .formFb__timer .timer .hour {
            margin-right: .15em;
        }

        .formFb__timer .timer .minute {
            margin: 0 .15em;
        }

        .formFb__timer .timer .second {
            margin-left: .15em;
        }

.formFb__inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
    max-width: 300px;
    width: 100%;
}

    .formFb__inputs label {
        font-size: .941175em;
        margin-bottom: .25em;
    }

    .formFb__inputs input {
        display: block;
        border: 1px solid #3578e563;
        padding-left: 10px;
        padding: .5em .65em;
        width: 100%;
        margin: 0 auto;
    }

.formFb__btn {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: .65em 0;
    margin-bottom: 1em;
    background: #3580ed;
    border: 1px solid #3580ed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    color: #fff;
    font-size: 1em;
    transition: transform .4s;
}

    .formFb__btn:hover, .formFb__btn:active {
        transform: scale(.95);
    }

.formFb__steps {
    display: flex;
    width: 100%;
    max-width: 300px;
    justify-content: space-between;
    margin-bottom: 1em;
}

.formFb__step {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    height: 50px;
    position: relative;
}

.formFb__step--line {
    flex-grow: 1;
    padding: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .formFb__step--line:after {
        position: absolute;
        width: 80%;
        content: '';
        height: 1px;
        top: 50%;
        transform: translateY(-50%);
        left: 10%;
        border-bottom: 2px dashed #3580ed;
    }

.formFb__step img {
    width: 100%;
    max-width: 100%;
}