/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
  border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
  display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
  display: none;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
  border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
  display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
  display: none;
}

@font-face {
  font-family: "Lato";
  src: local('Lato'),
    url("../../../../../../../fonts/Lato-Bold.woff2") format('woff2'),
    url("../../../../../../../fonts/Lato-Bold.woff") format('woff'),
    url("../../../../../../../fonts/Lato-Bold.ttf") format('ttf');
  font-weight: bold;
}

@font-face {
  font-family: "Lato";
  src: local('Lato'),
    url("../../../../../../../fonts/Lato-Regular.woff2") format('woff2'),
    url("../../../../../../../fonts/Lato-Regular.woff") format('woff'),
    url("../../../../../../../fonts/Lato-Regular.ttf") format('ttf');
  font-weight: normal;
}

@font-face {
  font-family: "MavenPro";
  src: local('Maven Pro обычный')
    url("../../../../../../../fonts/MavenProRegular.woff2") format('woff2'),
    url("../../../../../../../fonts/MavenProRegular.woff") format('woff'),
    url("../../../../../../../fonts/MavenProRegular.ttf") format('ttf');
  font-weight: normal;
}

* {
  box-sizing: border-box;
}

p {
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

/*Header*/

.header {
  width: 100%;
  height: 63px;
  margin: 0 auto;
  background-color: #323232;
  position: fixed;
  z-index: 10;
}

.hide {
  display: none;
}

.header-nav {
  width: 400px;
  margin: 0 auto;
  height: 63px;
}

.header-nav-list {
  display: flex;
  padding-top: 11px;
}

.header-nav-item:not(:nth-child(3)) {
  margin-top: 21px;
}

.header-nav-item:nth-child(2n) {
  margin-left: 10px;
  margin-right: 10px;
}

.header-nav-item:first-child {
  margin-right: 10px;
}

.header-nav-item:last-child {
  margin-left: 10px;
}

.header-nav-item:nth-child(3) {
  width: 90px;
  margin-left: auto;
  margin-right: auto;
}

.header-link {
  font-family: 'Lato';
  font-weight: bold;
  font-size: 10px;
  color: white;
}

.active-link {
  color: #2eb398;
  transition: .4s color cubic-bezier(0.075, 0.82, 0.165, 1);
}

.logo {
  width: 55px;
  padding-left: 16px;
  z-index: 10;
}

.logo > img {
  z-index: 10;
}

.triangles {
  display: flex;
  height: 25px;
  width: 86px;
  margin: 0 auto;
  flex-direction: row-reverse;
  z-index: 0;
  margin-top: -1px;
}

.left-triangle {
  width: 43px;
  height: 25px;
  background: linear-gradient(-30deg, transparent 50%, #323232 50%);
  margin-right: -1px;
}

.right-triangle {
  width: 43px;
  height: 25px;
  background: linear-gradient(30deg, transparent 50%, #323232 50%);
}

/*Portfolio*/

.swiper {
  width: 100%;
  height: 721px;
}

.swiper-wrapper {
  padding-top: 133px;
}

.border {
  width: 93%;
  margin: 0 auto;
  height: 2px;
  background-color: #e4e9eb;
  margin-bottom: 12px;
}

.first-line {
  display: grid;
  grid-template-columns: repeat(4, 180px);
  grid-template-rows: 100px;
  grid-column-gap: 20px;
  width: 781px;
  margin: 0 auto;
}

.gallery-picture-container {
  position: relative;
  width: 100%;
  height: 156%;
}

.gallery-link {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 26px;
  bottom: 0;
  left: 0;
  transform: scale(105%);
  transition: .4s transform cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 10;
}

.gallery_hover {
  transform: scale(105%);
  transition: .4s transform cubic-bezier(0.075, 0.82, 0.165, 1);
}

.second-line {
  display: grid;
  grid-template-columns: repeat(5, 180px);
  grid-template-rows: 100px;
  grid-column-gap: 20px;
  width: 981px;
  margin: 0 auto;
  margin-top: 70px;
  margin-bottom: 70px;
}

.swiper-pagination {
  width: 14% !important;
}

.swiper-pagination-bullet {
  border-radius: 0 !important;
}

.swiper-pagination-bullet-active {
  background: #8b8784 !important;
}

/*Author*/

.author {
  width: 100%;
  margin: 0 auto;
  background-color: #2eb398;
  box-sizing: border-box;
  padding-top: 67px;
  padding-bottom: 67px;
  display: flex;
}

.author-picture {
  margin-left: auto;
  margin-right: 20px;
}

.author-container {
  width: 580px;
  margin-right: auto;
}



.title {
  margin: 0;
  font-family: "Lato";
  font-weight: normal;
  color: white;
  font-size: 30px;
  line-height: 35px;
}

.title-descroption {
  font-family: "Lato";
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  color: #20816d;
  margin-bottom: 16px;
}

.about-author {
  font-family: "Lato";
  font-weight: normal;
  color: white;
  font-size: 12px;
  line-height: 21px;
  margin-bottom: 35px;
  text-align: center;
}

.social-row {
  display: flex;
  width: 140px;
  margin-left: auto;
}

.social-item {
  position: relative;
}

.social-link {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  transform: scale(100%);
  transition: .4s transform cubic-bezier(0.075, 0.82, 0.165, 1);
}

.social-icon {
  z-index: 0;
}

.social-item:hover {
  z-index: 10;
}

.social_hover {
  transform: scale(115%);
  transition: .4s transform cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 11;
}

/*Footer*/

.footer {
  background-color: #242020;
  width: 100%;
  margin: 0 auto;
}

.footer-container {
  width: 780px;
  margin: 0 auto;
  padding-top: 67px;
  display: flex;
}

.footer-title-description {
  color: white;
  font-size: 18px;
  line-height: 21px;
  font-family: 'Lato';
  font-weight: normal;
  margin-bottom: 13px;
}

.footer-form {
  display: flex;
  flex-direction: column;
  width: 580px;
  padding-bottom: 64px;
}

.footer-input {
  width: 100%;
  height: 40px;
  margin-bottom: 16px;
  background-color: #454545;
  border: none;
  font-family: 'Lato';
  font-weight: normal;
  font-size: 12px;
  box-sizing: border-box;
  padding-left: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
  color: #bebebe;
  outline: none;
}

.footer-input:focus {
  outline: 1px solid white;
}

.footer-textarea {
  height: 153px;
  resize: none;
}

.submit-btn {
  width: 90px;
  margin-left: auto;
  padding: 12px 30px;
  text-align: center;
  font-weight: normal;
  font-family: 'Lato';
  font-size: 12px;
  color: white;
  background-color: #2eb398;
  border: none;
}

.submit-btn:hover {
  background-color: #24806d;
  transition: .4s background-color ease-in-out;
  cursor: pointer;
}

.submit-btn:focus {
  background-color: #24806d;
  transition: .4s background-color ease-in-out;
  cursor: pointer;
}

.submit-btn:active {
  background-color: #146151;
  transition: .4s background-color ease-in-out;
  cursor: pointer;
}

.contact {
  margin-left: auto;
  width: 181px;
  margin-top: 64px;
}

.contact-text {
  font-size: 12px;
  line-height: 21px;
  font-weight: normal;
  font-family: 'Lato';
  color: white;
  margin-bottom: 40px;
}

.bold {
  font-weight: bold;
}





.address {
  font-size: 12px;
  line-height: 21px;
  font-weight: normal;
  font-family: 'Lato';
  color: white;
  background-image: url("img/location.png");
  background-repeat: no-repeat;
  padding-left: 27px;
  background-position: 0% 50%;
  font-style: normal;
}

.phone {
  font-size: 12px;
  line-height: 21px;
  font-weight: normal;
  font-family: 'Lato';
  color: white;
  background-image: url("img/phone.png");
  background-repeat: no-repeat;
  padding-left: 27px;
  background-position: 0% 50%;
  font-style: normal;
}

.phone:hover {
  text-decoration: underline;
}

.mail {
  font-size: 12px;
  line-height: 21px;
  font-weight: normal;
  font-family: 'Lato';
  color: white;
  background-image: url("img/mail.png");
  background-repeat: no-repeat;
  padding-left: 27px;
  background-position: 0% 50%;
  font-style: normal;
}

.mail:hover {
  text-decoration: underline;
}

.copyright {
  position: relative;
  height: 42px;
  width: 100%;
  margin: 0 auto;
  background-color: #302f2f;
}

.copyright::after {
  content: '© Copyright 2013 by PSDchat';
  position: absolute;
  color: #4b4848;
  font-family: 'Lato';
  font-weight: normal;
  font-size: 12px;
  left: 20%;
  top: 35%;
}

@media (max-width:1024px) {
  /*Header*/

  .header {
    height: 83px;
  }

  .header-nav {
    width: 500px;
    margin: 0 auto;
    height: 83px;
  }

  .header-nav-list {
    padding-top: 18px;
  }

  .header-nav-item:not(:nth-child(3)) {
    margin-top: 21px;
  }

  .header-nav-item:nth-child(2n) {
    margin-left: 15px;
    margin-right: 15px;
  }

  .header-nav-item:first-child {
    margin-right: 15px;
  }

  .header-nav-item:last-child {
    margin-left: 15px;
  }

  .header-nav-item:nth-child(3) {
    width: 90px;
    margin-left: auto;
    margin-right: auto;
  }

  .header-link {
    font-family: 'Lato';
    font-weight: bold;
    font-size: 14px;
    color: white;
  }

  .active-link {
    color: #2eb398;
    transition: .4s color cubic-bezier(0.075, 0.82, 0.165, 1);
  }

  .logo {
    width: 55px;
    padding-left: 16px;
    z-index: 10;
  }

  .logo > img {
    z-index: 10;
  }

  .triangles {
    display: flex;
    height: 25px;
    width: 86px;
    margin: 0 auto;
    flex-direction: row-reverse;
    z-index: 0;
    margin-top: -1px;
  }

  .left-triangle {
    width: 43px;
    height: 25px;
    background: linear-gradient(-30deg, transparent 50%, #323232 50%);
    margin-right: -1px;
  }

  .right-triangle {
    width: 43px;
    height: 25px;
    background: linear-gradient(30deg, transparent 50%, #323232 50%);
  }

  /*Gallery*/

  .first-line {
    grid-template-columns: repeat(4, 150px);
    grid-column-gap: 0;
    width: 600px;
  }

  .second-line {
    grid-template-columns: repeat(5, 150px);
    grid-column-gap: 0;
    width: 750px;
    margin-top: 29px;
    margin-bottom: 29px;
  }

  .gallery-picture {
    width: 100%;
  }

  .swiper-wrapper {
    width: 100%;
    margin: 0 auto;
  }

  .swiper-slide {
    margin: 0 auto;
  }

  .swiper {
    width: 100%;
    height: 636px;
  }

  .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
  }

  .swiper-pagination {
    width: 20% !important;
  }

  /*Author*/

  .author-picture {
    width: 150px;
  }

  .author-picture > img {
    width: 150px;
  }

  .author-container {
    width: 460px;
  }

  .content-container {
    width: 400px;
  }

  .about-author {
    font-size: 15px;
  }

  .social-row {
    width: 180px;
  }

  .social-item {
    width: 30px;
    height: 30px;
    position: relative;
  }

  .social-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }

  /*Footer*/

  .footer-form {
    width: 500px;
  }

  .footer-input {
    font-size: 14px;
  }

  .footer-container {
    width: 768px;
  }

  .footer-form-container {
    margin-left: 20px;
  }

  .contact {
    margin-right: 20px;
    width: 190px;
  }

  .contact-text {
    font-size: 16px;
  }

  .address {
    font-size: 16px;
  }

  .phone {
    font-size: 16px;
  }

  .mail {
    font-size: 16px;
  }

  .submit-btn {
    width: 140px;
    padding: 17px 30px;
    font-size: 16px;
  }

  .copyright::after {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /*Header*/

  .hide {
    display: inline-block;
  }

  .header {
    width: 100%;
    height: 73px;
  }

  .header-nav {
    height: 73px;
  }

  .header-nav-list {
    padding-top: 12px;
  }

  .header-nav-item:not(:nth-child(3)) {
    display: none;
  }

  .header-nav-list {
    width: 100%;
  }

  .header-nav {
    width: 100%;
    position: relative;
  }

  .dropdown {
    position: absolute;
    top: 18px;
    right: 35px;
  }

  .burger {
    width: 30px;
    height: 30px;
    border: none;
    background-color: transparent;
    background-image: url("../img/burger2.png");
    background-size: 185%;
    background-position: center;
    position: absolute;
    right: 0;
    z-index: 5;
  }

  .burger-active {
    background-image: url("../img/burger-active.png");
  }

  /*Gallery*/

  .first-line {
    grid-template-columns: repeat(2, 100px);
    width: 200px;
  }

  .second-line {
    grid-template-columns: repeat(3, 100px);
    width: 300px;
    margin-top: -14px;
    margin-bottom: -14px;
  }

  .swiper-pagination {
    width: 100% !important;
  }

  .swiper {
    height: 500px;
  }

  .author-picture {
    margin: 0 auto;
  }

  .none {
    display: none;
  }

  .author {
    flex-direction: column;
  }

  .author-container {
    width: 90%;
    margin: 0 auto;
  }

  .title {
    text-align: center;
  }

  .title-descroption {
    text-align: center;
  }

  .content-container {
    width: 100%;
  }

  /*Footer*/

  .footer-container {
    flex-direction: column;
  }

  .footer-container {
    width: 100%;
  }

  .footer-form-container {
    width: 69%;
    margin: 0 auto;
  }

  .contact {
    margin: 0 auto;
    margin-top: 0;
    display: flex;
    width: 65%;
    flex-direction: column;
  }

  .contact-text {
    width: 100%;
  }

  .contacts-list {
    margin-left: 0;
    margin-bottom: 30px;
  }

  .footer-input {
    width: 90%;
  }

  .footer-form {
    width: 110%;
  }

  .dropdown-list {
    flex-direction: column;
    z-index: 1;
    background-color: #323232;
    padding: 40px;
    width: 178px;
    opacity: 0;
    transform: translateY(-250px);
    transition: .5s opacity ease-in-out;
    transition: .3s transform ease-in-out;
  }



  .dropdown-active {
    flex-direction: column;
    z-index: 3;
    background-color: #323232;
    padding: 40px;
    width: 178px;
    opacity: 1;
    transform: translateY(0);
    transition: .5s opacity ease-in-out;
    transition: .3s transform ease-in-out;
  }

  .dropdown-menu {
    position: absolute;
    top: 55px;
    right: -35px;
  }

  .dropdown-item {
    padding: 10px 0;
  }

  .dropdown-item:first-child {
    padding-top: 0;
  }

  .dropdown-item:last-child {
    padding-bottom: 0;
  }
}

@media (max-width: 320px) {
  .contact-text {
    width: 100%;
  }

  .contacts-list {
    margin-left: 0;
    margin-bottom: 30px;
  }
}