@import url(e:\work\certificate\css\fonts.css);
@import url(e:\work\certificate\css\fontawesome-all.min.css);
body {
  padding: 0;
  margin: 0;
  bottom: 0;
}

body, div {
  padding: 0;
  bottom: 0;
  margin: 0;
}

.header {
  background: #f9f9f9;
  min-height: 150px;
}

.header-container {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 150px;
}

.header-logo {
  height: 75px;
}

.header-icon {
  font-size: 65px;
  color: #3363b1;
}

.header-phones ul {
  list-style: none;
  font-family: OpenSansSemiBold;
  margin: 0;
  color: #3363b1;
  padding: 0;
}

.header-phones__link {
  text-decoration: none;
  color: #3363b1;
}

.header-address {
  -webkit-box-flex: 3;
      -ms-flex: 3 5 auto;
          flex: 3 5 auto;
  font-family: OpenSansSemiBold;
  color: #3363b1;
}

.header-address-link {
  text-decoration: none;
  color: #3363b1;
}

.header-address p {
  margin: 0;
  line-height: 18px;
}

.header-address__footer {
  font-family: OpenSansItalic;
  font-size: 12px;
  line-height: 7px;
}

.header-item {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header-social {
  -webkit-box-flex: 2;
      -ms-flex: 2 1 100px;
          flex: 2 1 100px;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header-social a {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 calc(50% - 20px);
          flex: 1 1 calc(50% - 20px);
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-decoration: none;
  margin: 5px;
}

.header-social .fab {
  margin: 4px;
  color: #4a4a4a;
  font-size: 35px;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  background: transparent;
}

.header-social .fa-vk:hover {
  color: #4a76a8;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.header-social .fa-facebook-f:hover {
  color: #425f9c;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.header-social .fa-youtube:hover {
  color: #f00;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.header-social .fa-instagram {
  background: radial-gradient(circle at 30% 107%, 0%, #4a4a4a 5%, #4a4a4a 45%, #4a4a4a 60%, #4a4a4a 90%);
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
  -webkit-background-clip: text;
}

.header-social .fa-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 768px) {
  @-webkit-keyframes mobile-i {
    from {
      -webkit-text-fill-color: #4a4a4a;
      -webkit-background-clip: text;
    }
    12.5% {
      background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: rgba(0, 0, 0, 0);
    }
    25%, to {
      -webkit-text-fill-color: #4a4a4a;
      -webkit-background-clip: text;
    }
  }
  @keyframes mobile-i {
    from {
      -webkit-text-fill-color: #4a4a4a;
      -webkit-background-clip: text;
    }
    12.5% {
      background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: rgba(0, 0, 0, 0);
    }
    25%, to {
      -webkit-text-fill-color: #4a4a4a;
      -webkit-background-clip: text;
    }
  }
  @-webkit-keyframes mobile-y {
    from {
      color: #4a4a4a;
    }
    12.5% {
      color: #f00;
    }
    25%, to {
      color: #4a4a4a;
    }
  }
  @keyframes mobile-y {
    from {
      color: #4a4a4a;
    }
    12.5% {
      color: #f00;
    }
    25%, to {
      color: #4a4a4a;
    }
  }
  @-webkit-keyframes mobile-f {
    from {
      color: #4a4a4a;
    }
    12.5% {
      color: #425f9c;
    }
    25%, to {
      color: #4a4a4a;
    }
  }
  @keyframes mobile-f {
    from {
      color: #4a4a4a;
    }
    12.5% {
      color: #425f9c;
    }
    25%, to {
      color: #4a4a4a;
    }
  }
  @-webkit-keyframes mobile-vk {
    from {
      color: #4a4a4a;
    }
    12.5% {
      color: #4a76a8;
    }
    25%, to {
      color: #4a4a4a;
    }
  }
  @keyframes mobile-vk {
    from {
      color: #4a4a4a;
    }
    12.5% {
      color: #4a76a8;
    }
    25%, to {
      color: #4a4a4a;
    }
  }
  .header-logo img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
  }
  .header-container {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  .header-phones ul {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .header-address p {
    line-height: inherit;
  }
  .header-address__footer {
    line-height: 0.9 !important;
  }
  .header-social {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }
  .header-social .fa-vk {
    -webkit-animation: mobile-vk;
            animation: mobile-vk;
    -webkit-animation-delay: 2s;
            animation-delay: 2s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-duration: 4s;
            animation-duration: 4s;
  }
  .header-social .fa-facebook-f {
    -webkit-animation: mobile-f;
            animation: mobile-f;
    -webkit-animation-delay: 3s;
            animation-delay: 3s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-duration: 4s;
            animation-duration: 4s;
  }
  .header-social .fa-instagram {
    -webkit-animation: mobile-i;
            animation: mobile-i;
    -webkit-animation-delay: 4s;
            animation-delay: 4s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-duration: 4s;
            animation-duration: 4s;
  }
  .header-social .fa-youtube {
    -webkit-animation: mobile-y;
            animation: mobile-y;
    -webkit-animation-delay: 5s;
            animation-delay: 5s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-duration: 4s;
            animation-duration: 4s;
  }
  .header-item {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .header-icon {
    display: none;
  }
}

@media screen and (min-width: 767px) and (max-width: 992px) {
  .header-logo {
    margin-top: 15px;
  }
  .header-item {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .header-logo img {
    display: block;
    margin: auto;
  }
  .header-social {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
            flex: 1 1 100%;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }
}

.main {
  background: #010001;
  padding-top: 1px;
}

.main h1 {
  font-family: QanelasSoft-ExtraBold;
  color: #eee;
  text-align: center;
  margin: 2rem auto;
  padding: 1px;
  text-transform: uppercase;
}

.main-wrapper {
  overflow: hidden;
  min-height: 465px;
}

.main .container {
  min-height: 465px;
}

.main .container .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.main-carform {
  width: 100%;
}

.main-carform__bg {
  background: #015392;
  height: 520px;
  z-index: -3;
}

.main-form {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: all 0.7s cubic-bezier(0.09, 1.41, 0.44, 0.95);
  transition: all 0.7s cubic-bezier(0.09, 1.41, 0.44, 0.95);
  top: 0;
  padding: 20px 40px;
  width: 70%;
  margin: 30px;
  border-radius: 10px;
  font-family: OpenSansRegular;
  font-size: 18px;
  -webkit-box-shadow: 0px 0px 15px 0px rgba(51, 99, 177, 0.7);
  box-shadow: 0px 0px 15px 0px rgba(51, 99, 177, 0.7);
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.main-form label {
  color: #3363b1;
  padding: 3px;
  margin: 8px 0;
}

.main-form h2 {
  color: #015392;
  text-align: center;
}

.main-form__text {
  font-size: 18px;
  margin: 8px;
  padding: 3px;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(51, 99, 177, 0.7);
  color: rgba(51, 99, 177, 0.7);
}

.main-form__button {
  margin-top: 30px;
  text-align: center;
  display: block;
  margin: auto;
  font-family: OpenSansSemiBold;
  text-transform: uppercase;
  font-size: 20px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 20px auto;
  width: 330px;
  padding: 19px 25px;
  border: 2px solid #f39314;
  border-radius: 15px;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  background: #f39314;
}

.main-form__button:hover {
  cursor: pointer;
  background: #ffaa42;
  color: #fff;
  -webkit-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
}

.main-form__button.unavaible {
  cursor: not-allowed;
  opacity: .65;
}

.main-form__button.unavaible:hover {
  background: #f39314;
}

.main-form.wrong {
  -webkit-animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
          animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

@-webkit-keyframes shake {
  10%, 90% {
    -webkit-transform: translateX(-1px);
            transform: translateX(-1px);
  }
  20%, 80% {
    -webkit-transform: translateX(2px);
            transform: translateX(2px);
    background: #e29696;
  }
  30%, 50%, 70% {
    -webkit-transform: translateX(-4px);
            transform: translateX(-4px);
  }
  40%, 60% {
    -webkit-transform: translateX(4px);
            transform: translateX(4px);
    background: #fff;
  }
}

@keyframes shake {
  10%, 90% {
    -webkit-transform: translateX(-1px);
            transform: translateX(-1px);
  }
  20%, 80% {
    -webkit-transform: translateX(2px);
            transform: translateX(2px);
    background: #e29696;
  }
  30%, 50%, 70% {
    -webkit-transform: translateX(-4px);
            transform: translateX(-4px);
  }
  40%, 60% {
    -webkit-transform: translateX(4px);
            transform: translateX(4px);
    background: #fff;
  }
}

.main .active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transform: translateX(0);
          transform: translateX(0);
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: all 0.7s cubic-bezier(0.09, 1.41, 0.44, 0.95);
  transition: all 0.7s cubic-bezier(0.09, 1.41, 0.44, 0.95);
}

.main video {
  max-width: calc(100% - .5rem);
}

@-webkit-keyframes headlights {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes headlights {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 576px) {
  .main-form {
    width: 85vw;
    padding: 20px;
    right: 0;
    left: 0;
    margin: 40px auto;
  }
  .main-form h2 {
    font-size: 1.3rem;
  }
  .main-form-propose a {
    max-width: 90%;
    padding: 19px 0px;
  }
  .main-form__text {
    max-width: 100%;
    margin: 0;
  }
  .main-form__button {
    max-width: 100%;
    margin-top: 0.3rem;
  }
}

@media screen and (min-width: 577px) and (max-width: 960px) {
  .main-propose {
    z-index: 5;
    background: #fff;
  }
  .main-propose a {
    max-width: 100%;
    padding: 19px 0;
  }
  .main-form {
    width: 70vw;
    right: 0;
    left: 0;
    margin: 40px auto;
  }
  .main-form-propose a {
    max-width: 90%;
    padding: 19px 0px;
  }
  .main-form__text {
    max-width: 100%;
    margin: 0;
  }
  .main-form__button {
    max-width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .main-propose {
    z-index: 5;
    background: #fff;
  }
  .main-form {
    right: 0;
    left: 0;
  }
}

.footer {
  background: #fafafa;
}

.footer .row {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 180px;
}

.footer-logo {
  max-width: 250px;
  margin: 10px auto;
}

.footer-logo__img {
  max-width: 100%;
  display: block;
}

.footer h2 {
  margin-top: 50px;
  font-family: QanelasSoft-ExtraBold;
  font-size: 25px;
  color: #015392;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

.footer p {
  font-family: QanelasSoft-ExtraBold;
  font-size: 10px;
  color: #015392;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

.why {
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.why h2 {
  font-size: 2rem;
  font-family: QanelasSoft-ExtraBold;
  text-align: center;
  margin-top: 4.5rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  color: #015392;
}

.why-item {
  font-family: OpenSansSemiBold;
  color: #1e4077;
  margin-bottom: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #eeeeee;
  border-radius: 2rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.why-item:nth-child(2n) .why-text {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}

.why-text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 0 2rem;
  font-size: 1.1rem;
}

.why-text h2 {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

.why-video {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.why-video :nth-child(2n) {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}

.why-video .video {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: -5px;
  min-width: 300px;
}

.why-form {
  font-family: OpenSansSemiBold;
  color: #1e4077;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 4rem;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  font-size: 1.3rem;
}

.why-form .form-link {
  color: #1e4077;
  border: 2px solid #1e4077;
  border-radius: 0.5rem;
  padding: 0.5em;
  text-decoration: none;
  -webkit-transition: .2s all ease;
  transition: .2s all ease;
}

.why-form .form-link:hover {
  background: #1e4077;
  color: #ffffff;
}

.why-form div {
  margin-bottom: 1rem;
}

.map {
  position: relative;
}

.map-h2 {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  text-align: center;
  font-family: QanelasSoft-Bold;
  text-align: center;
  color: #fff;
  font-size: 30px;
  margin-bottom: 52px;
  text-transform: uppercase;
  background: #000;
  padding: 20px 8px;
  max-width: 450px;
  margin: auto;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  -webkit-box-shadow: 0px 4px 16px 1px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 4px 16px 1px rgba(0, 0, 0, 0.75);
}

.map-locker, .map-lock {
  display: none;
}

@media screen and (max-width: 576px) {
  .map iframe {
    max-height: 320px;
  }
  .map-locker {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    max-height: 320px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: absolute;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .map-locker h2 {
    font-family: OpenSansRegular;
    text-align: center;
  }
  .map-locker:hover {
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .map-lock {
    position: absolute;
    bottom: 25px;
    color: #666;
    left: 15px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.7);
  }
}

@media screen and (max-height: 576px) {
  .map iframe {
    max-height: 240px;
  }
  .map-locker {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    width: 100%;
    max-height: 240px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: absolute;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .map-locker h2 {
    font-family: OpenSansRegular;
    text-align: center;
  }
  .map-locker:hover {
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .map-lock {
    position: absolute;
    bottom: 25px;
    color: #666;
    left: 15px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.7);
  }
}

.team {
  padding-top: 40px;
  padding-bottom: 40px;
  background: #f8f8f8;
}

.team h2 {
  font-family: QanelasSoft-Bold;
  text-align: center;
  color: #015392;
  font-size: 30px;
  margin-bottom: 0px;
  text-transform: uppercase;
}

.team-item {
  margin-bottom: 10px;
}

.team-item img {
  display: block;
  margin: auto;
  max-width: 100%;
}

.team-item h3 {
  font-family: QanelasSoft-Bold;
  font-weight: 300;
  text-align: center;
  color: #015392;
  font-size: 27px;
  margin-top: 10px;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.team-item p {
  font-family: OpenSansSemiBold;
  font-size: 24px;
  text-align: center;
  color: #3363b1;
  margin-top: 0;
}

@media screen and (max-width: 568px) {
  .team-container {
    -ms-flex-line-pack: start;
        align-content: flex-start;
  }
  .team-item {
    margin: 0 auto;
    -webkit-box-flex: 1;
        -ms-flex: 1 50%;
            flex: 1 50%;
  }
  .team-item h3 {
    font-size: 18px;
  }
  .team-item p {
    font-size: 15px;
  }
}

.sto {
  background: #eee;
  padding-top: 20px;
  padding-bottom: 80px;
}

.sto-h2 {
  font-family: QanelasSoft-Bold;
  text-align: center;
  color: #015392;
  font-size: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.sto h3 {
  font-family: QanelasSoft-Bold;
  text-align: center;
  color: #015392;
  font-size: 25px;
  margin-bottom: 20px;
}

.sto-slider {
  background: #fff;
  border: solid 7px #fff;
  position: relative;
  z-index: 2 !important;
  max-width: 90%;
  margin: auto;
  width: 620px !important;
}

.sto-slider:after {
  position: absolute;
  width: 100%;
  height: 0px;
  z-index: 1;
  left: 0;
  rigth: 0;
  bottom: -10px;
  -webkit-filter: blur(4px);
          filter: blur(4px);
  content: url(../../img/sto-bg.svg);
  -webkit-backdrop-filter: url(sto-bg.svg#shadow) blur(4px) saturate(150%);
          backdrop-filter: url(sto-bg.svg#shadow) blur(4px) saturate(150%);
}

.sto-slider img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin: auto;
}

.modal {
  position: fixed;
  background: rgba(255, 255, 255, 0.7);
  top: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  display: none;
}

.modal-form {
  padding: 60px 40px;
  width: 400px;
  max-width: 70%;
  background: #fff;
  margin: 40px;
  position: relative;
  border-radius: 10px;
  font-family: OpenSansRegular;
  font-size: 18px;
  -webkit-box-shadow: 0px 0px 15px 0px rgba(51, 99, 177, 0.7);
  box-shadow: 0px 0px 15px 0px rgba(51, 99, 177, 0.7);
}

.modal-form-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.modal-form-close i.fa-times {
  color: #3363b1;
}

.modal-form-close i.fa-times:hover {
  cursor: pointer;
}

.modal-form label {
  color: #3363b1;
  padding: 3px;
  margin: 8px 0;
}

.modal-form h2 {
  color: #015392;
  text-align: center;
}

.modal-form__text {
  font-size: 18px;
  margin: 8px;
  padding: 3px;
  max-width: 90%;
}

.modal-form__button {
  margin-top: 30px;
  text-align: center;
  display: block;
  margin: auto;
  font-family: OpenSansSemiBold;
  text-transform: uppercase;
  font-size: 20px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 20px auto;
  width: 330px;
  max-width: 100%;
  padding: 19px 25px;
  border: 2px solid #f39314;
  border-radius: 15px;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  background: #f39314;
}

.modal-form__button:hover {
  cursor: pointer;
  background: #ffaa42;
  color: #fff;
  -webkit-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
}

.modal-form__button.unavaible {
  cursor: not-allowed;
  opacity: .65;
}

.modal-form__button.unavaible:hover {
  background: #f39314;
}

.modal-form.wrong {
  -webkit-animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
          animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

@keyframes shake {
  10%, 90% {
    -webkit-transform: translateX(-1px);
            transform: translateX(-1px);
  }
  20%, 80% {
    -webkit-transform: translateX(2px);
            transform: translateX(2px);
    background: #e29696;
  }
  30%, 50%, 70% {
    -webkit-transform: translateX(-4px);
            transform: translateX(-4px);
  }
  40%, 60% {
    -webkit-transform: translateX(4px);
            transform: translateX(4px);
    background: #fff;
  }
}

.modal.active {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

@media screen and (max-height: 576px) {
  .modal-form {
    padding: 10px 15px;
    max-width: 85%;
  }
  .modal-form__text {
    width: 80%;
  }
  .modal h2 {
    margin: 8px;
  }
}

.advantages-h2 {
  background: none;
  text-transform: uppercase;
  font-family: QanelasSoft-ExtraBold;
  margin: 0;
  padding: 40px;
  font-size: 30px;
  text-align: center;
  display: block;
  color: #3363b1;
}

.advantages-list {
  padding: 0;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 0;
  padding-bottom: 2rem;
}

.advantages-li {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 25%;
          flex: 1 1 25%;
  list-style: none;
  -webkit-transition: -webkit-transform .4s ease;
  transition: -webkit-transform .4s ease;
  transition: transform .4s ease;
  transition: transform .4s ease, -webkit-transform .4s ease;
}

.advantages-li:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-transition: -webkit-transform .4s ease;
  transition: -webkit-transform .4s ease;
  transition: transform .4s ease;
  transition: transform .4s ease, -webkit-transform .4s ease;
}

.advantages-item {
  width: 148px;
  height: 148px;
  margin: auto;
  background: #3363b1;
  border-radius: 100%;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  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;
  padding: 0px;
}

.advantages-item__key {
  font-size: 70px;
  color: #fff;
}

.advantages-item__card {
  font-size: 70px;
  color: #fff;
}

.advantages-item__h3 {
  font-family: QanelasSoft-Bold;
  text-align: center;
  color: #313131;
  font-size: 15px;
  padding: 0 25px;
}

.advantages-item .fas {
  font-size: 70px;
  color: #fff;
}

.advantages-item img {
  height: 75px;
  width: auto;
  max-width: 110px;
}

@media screen and (max-width: 576px) {
  .advantages-li {
    -webkit-box-flex: 1;
        -ms-flex: 1 50%;
            flex: 1 50%;
  }
}

@media screen and (min-width: 577px) and (max-width: 768px) {
  .advantages {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .advantages-li {
    -webkit-box-flex: 1;
        -ms-flex: 1 50%;
            flex: 1 50%;
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  .advantages {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .advantages-li {
    -webkit-box-flex: 1;
        -ms-flex: 1 30%;
            flex: 1 30%;
  }
}

.form-blue {
  background: #3363b1;
}

.form-blue a:hover {
  color: #3363b1;
}

.form-orange {
  background: #f39314;
}

.form-orange a:hover {
  color: #f39314;
}

.form h2 {
  font-family: QanelasSoft-ExtraBold;
  text-transform: uppercase;
  font-size: 30px;
  text-align: center;
  color: #fff;
  margin: 57px 0;
}

.form-link {
  text-align: center;
}

.form a {
  display: block;
  margin: 25px auto;
  font-family: "OpenSansSemiBold";
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  width: 335px;
  max-width: 95%;
  border: solid 2px #fff;
  border-radius: 10px;
  padding: 15px 0;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.form a:hover {
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  background: #fff;
}

.form-row {
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-device-width: 1024px) {
  .form a {
    margin: 0 auto 30px;
  }
}
/*# sourceMappingURL=style.css.map */