@font-face {
  font-family: 'georgiai';
  src: url(/fonts/georgiai.woff) format("woff"), url(/fonts/georgiai.woff2) format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'arial';
  src: url(/fonts/arial.woff) format("woff"), url(/fonts/arial.woff2) format("woff2");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'arialr';
  src: url(/fonts/arialr.woff) format("woff"), url(/fonts/arialr.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
}

::-moz-selection {
  color: #fff;
  background-color: #3fa236;
}

::selection {
  color: #fff;
  background-color: #3fa236;
}

.main {
  padding: 65px;
}

.header__inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
    -webkit-box-orient: vertical;
   -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
         -webkit-box-pack: center;
  -webkit-justify-content: center;
            -ms-flex-pack: center;
          justify-content: center;
    -webkit-box-align: center;
  -webkit-align-items: center;
       -ms-flex-align: center;
          align-items: center;
  margin-bottom: 90px;
}

.header__inner .logo {
  width: 200px;
  margin-bottom: 35px;
  -webkit-transition: .8s ease-in-out;
       -o-transition: .8s ease-in-out;
          transition: .8s ease-in-out;
}

.header__inner .title, .header__inner .subtitle, .footer__inner .txt, .contact-btn.descrip .time, .hidden {
  color: #168ccc;
  -webkit-transition: .8s ease-in-out;
       -o-transition: .8s ease-in-out;
          transition: .8s ease-in-out;
}

.header__inner .title {
  font-family: 'arial';
  font-size: 60px;
  margin-bottom: 10px;
}

.header__inner .subtitle {
  font-size: 45px;
  font-family: 'georgiai';
  font-weight: 700;
}

.footer__inner .txt {
  text-align: center;
  font-size: 40px;
  margin-bottom: 40px;
  font-family: 'arialr';
}

.btns-block {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
                  -ms-flex-pack: justify;
          justify-content: space-between;
}

.contact-btn {
  border: 1px solid #99999940;
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
         -webkit-box-pack: center;
            -ms-flex-pack: center;
          justify-content: center;
    -webkit-box-align: center;
  -webkit-align-items: center;
       -ms-flex-align: center;
          align-items: center;
  background-color: #fff;
  -webkit-box-shadow: 4px 4px 17px 0px rgba(34, 60, 80, 0.2);
          box-shadow: 4px 4px 17px 0px rgba(34, 60, 80, 0.2);
  position: relative;
  z-index: 1;
  -webkit-transition: 0.2s cubic-bezier(0.6, -0.28, 0.74, 0.05);
       -o-transition: 0.2s cubic-bezier(0.6, -0.28, 0.74, 0.05);
          transition: 0.2s cubic-bezier(0.6, -0.28, 0.74, 0.05);
}

.contact-btn:hover {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
  z-index: 2;
}

.contact-btn a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
         -webkit-box-pack: center;
  -webkit-justify-content: center;
            -ms-flex-pack: center;
          justify-content: center;
    -webkit-box-align: center;
  -webkit-align-items: center;
       -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
}

.contact-btn.descrip {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
    -webkit-box-orient: vertical;
   -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
    -webkit-box-align: center;
  -webkit-align-items: center;
       -ms-flex-align: center;
          align-items: center;
  position: relative;
}

.contact-btn.descrip .time {
  font-size: 14px;
  padding: 5px 0;
  text-align: center;
  line-height: 1.3;
  position: absolute;
  bottom: 0;
}

.contact-btn svg {
  width: 155px;
  fill: #168ccc;
  margin: 45% 0;
  -webkit-filter: drop-shadow(3px 3px 5px #0c0f1f51);
          filter: drop-shadow(3px 3px 5px #0c0f1f51);
  -webkit-transition: .9s ease-out;
       -o-transition: .9s ease-out;
          transition: .9s ease-out;
}

.contact-btn:hover svg {
  -webkit-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
          transform: rotate(360deg);
}

.hidden {
  display: none;
  font-family: 'arialr';
  font-size: 16px;
}

@media screen and (max-width: 1210px) {
  .contact-btn svg {
    width: 95px;
  }
  .contact-btn.descrip .time {
    font-size: 10px;
  }
}

@media screen and (max-width: 992px) {
  .header__inner .title {
    font-size: 50px;
  }
  .header__inner .subtitle {
    font-size: 35px;
  }
  .footer__inner .txt {
    font-size: 30px;
  }
  .contact-btn svg {
    width: 75px;
  }
}

@media screen and (max-width: 850px) {
  .header__inner .logo {
    width: 150px;
  }
  .contact-btn svg {
    width: 55px;
  }
  .contact-btn svg {
    margin: 65% 0;
  }
  .contact-btn.descrip .time {
    width: 80px;
  }
}

@media screen and (max-width: 750px) {
.main {
	padding: 10px 20px;
  }
  .header__inner {
    margin-bottom: 25px;
  }
  .header__inner .logo {
    width: 50px;
    margin-bottom: 10px;
  }
  .header__inner .title {
    font-size: 23px;
    margin-bottom: 3px;
  }
  .header__inner .subtitle {
    font-size: 20px;
  }
  .footer__inner .txt {
    font-size: 17px;
    margin-bottom: 20px;
  }

/*  .main {
    padding: 35px;
  }
  .header__inner {
    margin-bottom: 50px;
  }
  .header__inner .logo {
    width: 130px;
  }
  .header__inner .title {
    font-size: 40px;
  }
  .header__inner .subtitle {
    font-size: 30px;
  }
  .footer__inner .txt {
    font-size: 20px;
  }      */
  .contact-btn svg {
    width: 55px;
  }
  .btns-block {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
    -ms-grid-rows: (1fr)[3];
        grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
  .contact-btn.descrip {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-area: 3 / 1 / 4 / 3;
  }
  .contact-btn.descrip .time {
    font-size: 17px;
  }
  .contact-btn.descrip .time {
    width: 100%;
  }
}

@media screen and (max-width: 425px) {
    .contact-btn svg {
    width: 35px;
  }
  .btns-block {
    display: block;
  }
  .contact-btn {
                -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
                   -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .contact-btn.descrip {
           -webkit-box-align: start;
    -webkit-align-items: flex-start;
              -ms-flex-align: start;
            align-items: flex-start;
  }
  .contact-btn svg {
    margin: 20px 30px;
  }
  .hidden {
    display: block;
  }
  .contact-btn.descrip .time {
    right: 0;
    font-size: 12px;
    width: 200px;
  }
}
