@charset "UTF-8";
body {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

a:hover, a:hover img {
  -webkit-transition-duration: 0.4s;
          transition-duration: 0.4s;
  -webkit-animation-duration: 0.4s;
          animation-duration: 0.4s;
}

img {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

@font-face {
  font-family: "PTSans-Regular";
  src: local("PTSans-Regular"), url("../fonts/PTSans-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/PTSans-Regular.woff") format("woff"), url("../fonts/PTSans-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "pfdLight";
  src: url("../fonts/pfdLight.eot");
  src: local("☺"), url("../fonts/pfdLight.woff") format("woff"), url("../fonts/pfdLight.ttf") format("truetype"), url("../fonts/pfdLight.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}
body, html {
  height: 100%;
  background: #fafbfc;
}

.mx {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}

.karkas {
  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;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.padsite {
  padding: 5%;
}

a {
  text-decoration: underline;
}

a:hover {
  color: red;
  text-decoration: none;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}

header {
  -webkit-box-shadow: 0px 0px 10px #d3d4d8;
          box-shadow: 0px 0px 10px #d3d4d8;
  background: #f2f6fa;
  padding: 4% 0 3% 0;
  font-family: "pfdLight";
  font-size: 26px;
  color: #18afe5;
  font-weight: bold;
  text-align: center;
}
header img {
  max-width: 30px;
}

footer {
  background: #f9fbff;
  -webkit-box-shadow: 0px -10px 20px #edf0f6;
          box-shadow: 0px -10px 20px #edf0f6;
  text-align: center;
  padding: 4% 0 3% 0;
}
footer img {
  max-width: 40px;
}
footer a {
  padding: 0 2%;
}

.order {
  background: #42cc52;
  padding: 0.5em;
  text-align: center;
}
.order a {
  text-transform: uppercase;
  font-size: 26px;
  color: white;
  font-family: "pfdLight";
  letter-spacing: 2px;
}

h1, h2 {
  font-family: "pfdLight";
  font-size: 26px;
  margin: 0;
  padding: 0 0 1.4em 0;
  line-height: 1.2em;
  color: #3c545f;
  font-weight: bold;
}

p {
  font-family: "PTSans-Regular";
  font-size: 16px;
  line-height: 1.6em;
  padding: 0 6px 1.4em 6px;
  margin: 0;
  color: #3c545f;
}

.gray {
  color: #f8fbfd;
}

.red {
  color: red;
}

.black {
  color: #000;
}

.blue {
  color: #019be4;
}

.salad {
  color: #42cc52;
}

.zakaz {
  width: 100%;
  background-color: #019be4;
  color: white;
  text-align: center;
  font-family: "pfdLight";
  text-transform: uppercase;
  padding: 0.6em 0 0.5em 0;
  font-size: 26px;
  line-height: 1em;
  cursor: pointer;
}

.zak_active {
  display: none;
}

.foo_active {
  padding: 40px 0;
  -webkit-box-shadow: 0px -10px 20px #d2d5db;
          box-shadow: 0px -10px 20px #d2d5db;
  background-color: #e6ecf8;
  bottom: 0px;
  width: 100%;
  height: 300px;
  position: fixed;
  -webkit-transition-duration: 2s, 0.3s, 0.6s;
          transition-duration: 2s, 0.3s, 0.6s;
  -webkit-transition-delay: 2s, 0.3s, 0.1s;
          transition-delay: 2s, 0.3s, 0.1s;
  -webkit-transition-property: background-color, padding, -webkit-box-shadow;
  transition-property: background-color, padding, -webkit-box-shadow;
  transition-property: background-color, box-shadow, padding;
  transition-property: background-color, box-shadow, padding, -webkit-box-shadow;
}

.foo_active img {
  max-width: 80px;
  margin: 0 8%;
  -webkit-transition: all 0.5s ease 0.5s;
  transition: all 0.5s ease 0.5s;
  background-color: #e6ecf8;
  -webkit-transition-duration: 2s, 0.5s, 0.5s;
          transition-duration: 2s, 0.5s, 0.5s;
  -webkit-transition-delay: 2s, 0.5s, 0.5s;
          transition-delay: 2s, 0.5s, 0.5s;
  -webkit-transition-property: background-color, margin, max-width;
  transition-property: background-color, margin, max-width;
}

@media screen and (min-width: 768px) {
  .maxwidth {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer__ico img {
    max-width: 40px;
    opacity: 0.6;
    width: 180px;
    max-width: 180px;
  }
  .foo_active a {
    font-size: 520px;
  }
  .footer__ico a:hover img {
    opacity: 1;
  }
}
/* портфолио */
.port {
  position: relative;
}

.port img {
  position: relative;
  z-index: 1;
}

.port__item a {
  display: none;
}

.port__item:hover a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.65);
  z-index: 2;
  top: 0;
  padding-top: 50%;
  text-align: center;
  font-size: 56px;
  -webkit-transition: 3s;
  transition: 3s;
  -webkit-transition-delay: 20s;
          transition-delay: 20s;
}

.port__item a span {
  display: block;
  width: 100%;
  background: #e9ecf5;
  opacity: 0.8;
}