/* основные стили */
html {
  box-sizing: border-box;
}

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

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.65em;
  font-style: normal;
  font-weight: 400;
  vertical-align: text-top;
  color: #727272;
}

.wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

h1,
h2,
h3 {
  font-weight: 500;
  color: #000;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 48px;
  line-height: 1.65em;
}

h2 {
  font-size: 32px;
  line-height: 1.19em;
}

h3 {
  font-size: 21px;
  line-height: 1.19em;
}

.container {
  width: 100%;
  max-width: 1180px;
  padding: 15px;
  margin: 0 auto;
}

.description-text {
  max-width: 550px;
  text-align: center;
  padding: 5px;
}

.description-text h2 {
  margin-bottom: 50px;
}

.description-text p {
  margin: 0;
}

/* header  */

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 42px;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 96px;
  padding-left: 17px;
}

.logo img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.nav {
  padding-right: 27px;
}

#burger {
  display: none;
}

.nav-menu {
  margin: 0;
  padding: 0;
}

.nav-items {
  list-style: none;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.1em;
}

.nav-items+.nav-items {
  margin-left: 42px;
}

.nav-menu-link {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
}

.nav-menu-link:hover {
  color: #34547A;
  text-shadow: 0 0 .9px #34547A;
}

/* section banner */

.banner {
  display: flex;
  align-items: center;
  height: 100vh;
  background: #EEEFF1;
}

.banner .container {
  display: flex;
  justify-content: space-between;
}

.banner-img {
  width: 50%;
  text-align: left;
  padding-left: 102px;
}

.banner-img-container {
  display: inline-block;
  width: 357px;
}

.banner-img-container img {
  max-width: 100%;
  height: auto;
}

.banner-text {
  width: 50%;
  padding-right: 15px;
}

.banner-text .description-text {
  margin-top: -35px;
  text-align: left;
}

.banner-text h1 {
  margin-bottom: 60px;
}

.banner-button {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 25px 41px;
  background-color: #34547A;
  margin-top: 60px;
}

/* section about-me  */

.about-me {
  padding-top: 99px;
  padding-bottom: 80px;
}

.about-me .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* section project */

.project {
  padding: 85px 0;
  background: #34547A
}

.project .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.project-link {
  display: inline-block;
  width: 16%;
  text-decoration: none;
  color: #fff;
}

.project-link+.project-link {
  margin-left: 49px;
}

.icon-project {
  font-size: 3.125em;
}

.project-text {
  display: inline-block;
  margin-left: 20px;
  text-align: left;
}

.project-text h3 {
  color: #fff;
  margin-bottom: 5px;
}

/* section skill */

.skill {
  padding-top: 87px;
  padding-bottom: 86px;
}

.skill .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-box {
  width: 445px;
}

.skill-box h2 {
  margin-bottom: 50px;
}

.load-scale {
  color: #727272;
  font-size: 16px;
  line-height: 1.625em;
  max-width: 445px;
}

.skill-item+.skill-item {
  padding-top: 30px;
}

.skill-title {
  display: block;
  margin-bottom: 20px;
}

.skill-load-skale {
  position: relative;
  height: 4px;
  background-color: #c4c4c4;
}

.skill-load-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: #43537A;
  width: 75%;
}

.skill-img {
  width: 555px;
}

.skill-img img {
  max-width: 100%;
  height: auto;
}

/* section work  */

.work {
  padding-top: 80px;
  padding-bottom: 85px;
  background: #EEEFF1;
}

.work .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.work-img {
  width: 1110px;
  margin-top: 52px;
  text-align: center;
  position: relative;
}

.work-video {
  max-width: 100%;
  height: auto;
}

.icon-play-button {
  position: absolute;
  font-size: 6.25em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

/* section gallery  */

.gallery-block {
  display: flex;
  flex-wrap: wrap;
}

.gallery-item {
  display: inline-block;
  width: 25%;
  padding-top: 25%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;

}

.gallery-item-hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  background-color: rgba(52, 84, 122, 0.8);
  transition: opacity .5s ease-in-out;
}

.gallery-item-first {
  background-image: url(img/gallery-1.png);
}

.gallery-item-second {
  background-image: url(img/gallery-2.png);
}

.icon-view {
  font-size: 6.25em;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gallery-item-hover:hover {
  opacity: 1;
}

/* section client */

.client {
  padding-top: 57px;
  padding-bottom: 85px;
}

.client .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.client-item {
  display: inline-block;
  width: 25%;
  max-width: 255px;
  padding-top: 10.45%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin: 0 15px;
  background-image: url(img/client.png)
}

.client-item:nth-child(4n+1) {
  margin-left: 0;
}

.client-item:last-child,
.client-item:nth-child(4n) {
  margin-right: 0;
}

/* section feedback  */

.feedback {
  padding-top: 80px;
  padding-bottom: 85px;
  background: #EEEFF1
}

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

.feedback-form {
  max-width: 540px;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.feedback-form-name {
  font-size: 14px;
  border: none;
  padding: 17px 20px;
}

.feedback-form-name:nth-child(-n+2) {
  width: 50%;
  max-width: 255px;
  min-height: 50px;
}

.feedback-form-name:nth-child(3) {
  margin-top: 20px;
  width: 100%;
  min-height: 141px;
  resize: none;
}

.feedback-form input,
textarea {
  outline: none;
}

.feedback-button {
  margin: 0 auto;
  margin-top: 50px;
  display: block;
  font-size: 14px;
  line-height: 1.65em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  padding: 20px 48px;
  background-color: #34547A;
  border: none;
}

/* footer  */

footer {
  padding: 35px 0;
  background: #34547A;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.my-data {
  color: #fff;
  padding-left: 21px;
}

.my-data h3 {
  color: #fff;
  margin-bottom: 20px;
}

.my-data span {
  font-size: 13px;
  line-height: 1.61em;
}

.social-group {
  padding-right: 4px;
}

.social {
  text-decoration: none;
  vertical-align: text-top;
}

.icon-social {
  font-size: 2.73em;
  color: #fff;
}

.social+.social {
  margin-left: 20px;
}

/* media  */

@media (max-width: 1200px) {
  .container {
    width: 100%;
  }

  .banner-img {
    padding-left: 0;
    text-align: center;
  }

  .icon-project {
    font-size: 2.5em;
  }

  .project-link+.project-link {
    margin-left: 15px;
  }

  .project-text h3 {
    margin: 0;
  }

  .skill-box {
    width: 48%;
  }

  .skill-img {
    width: 48%;
  }

  .client-item {
    max-width: 25%;
    margin: 0;
  }
}

@media (max-width: 1024px) {

  .logo {
    padding-left: 0%;
  }

  .nav {
    padding-right: 0;
  }

  .project .container {
    justify-content: center;
    flex-wrap: wrap;
  }

  .project-link {
    width: 20%;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .project-link:last-child {
    margin-right: 15px;
  }

  .icon-project {
    font-size: 3.125em;
  }

  .project-text {
    margin-left: 5px;
  }

  .project-text h3 {
    margin: 5px;
  }
}

@media (max-width: 890px) {
  .banner-text h1 {
    margin-bottom: 5px;
    line-height: 1.19em;
  }

  .banner-button {
    margin-top: 25px;
  }

  .skill-box h2 {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .nav-items {
    margin-left: 42px;
  }

  .banner .container {
    flex-direction: column;
    align-items: center;
  }

  .banner-img {
    width: auto;
  }

  .banner-text {
    padding-right: 0;
    width: auto;
  }

  .banner-text .description-text {
    display: inline-block;
    margin-top: 60px;
    text-align: center;
  }

  .banner-text h1 {
    margin-bottom: 50px;
  }

  .banner-button {
    margin-top: 60px;
  }

  .project-link {
    width: 25%;
  }

  .skill-box h2 {
    margin-bottom: 15px;
  }

  .skill-title {
    margin-bottom: 10px;
  }

  .icon-play-button {
    font-size: 4.69em;
  }

  .icon-view {
    font-size: 3.125em;
  }

  .client-item {
    margin: 0 5px;
  }

  .client-item:nth-child(4n+1) {
    margin-left: 5px;
  }

  .client-item:last-child,
  .client-item:nth-child(4n) {
    margin-right: 5px;
  }

  .feedback-form-name:nth-child(-n+2) {
    width: 48%;
  }

  /* burger-menu */

  .menu-btn {
    display: flex;
    align-items: center;
    position: relative;
    top: 0px;
    right: 0px;
    width: 50px;
    height: 30px;
    cursor: pointer;
    z-index: 1;
  }

  .menu-btn>span,
  .menu-btn>span::before,
  .menu-btn>span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #34547A;
    z-index: 1;
  }

  .menu-btn>span::before {
    content: '';
    top: -10px;
  }

  .menu-btn>span::after {
    content: '';
    top: 10px;
  }

  .nav-menu {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    text-align: center;
    background-color: #34547A;
    opacity: 0.98;
    text-align: right;
    z-index: 2;
  }

  .nav-items {
    display: block;
    text-align: left;
  }

  .nav-menu-link {
    display: block;
    padding: 12px 24px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
  }

  .nav-menu-link:hover {
    background-color: #092446;
    color: #fff;
  }

  .nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
  }

  #burger:checked~.menu-btn {
    position: fixed;
    top: 60px;
    right: 17px;
    z-index: 3;
  }

  #burger:checked~.menu-btn>span {
    transform: rotate(45deg);
    background-color: #fff;
  }

  #burger:checked~.menu-btn>span::before {
    top: 0;
    transform: rotate(0);
    background-color: #fff;
  }

  #burger:checked~.menu-btn>span::after {
    top: 0;
    transform: rotate(90deg);
    background-color: #fff;
  }

  #burger:checked~.nav-menu {
    visibility: visible;
    right: 0;
  }

  .menu-btn>span,
  .menu-btn>span::before,
  .menu-btn>span::after {
    transition-duration: .15s;
  }

  .nav-menu {
    transition-duration: .15s;
  }

  .nav-menu-link {
    transition-duration: .15s;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 22px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  .header {
    padding-top: 10px;
  }

  section[class] {
    padding: 20px 0;
  }

  section[class~='gal'] {
    padding: 0;
  }

  #burger:checked~.menu-btn {
    top: 30px;
  }

  .banner {
    align-items: flex-start;
    min-height: 100vh;
    height: 100%;
  }

  .banner .container {
    margin-top: 100px;
  }

  .banner-img-container {
    width: 75%;
  }

  .banner-text .description-text {
    margin-top: 20px;
  }

  .banner-text h1 {
    margin-bottom: 20px;
  }

  .banner-button {
    margin-top: 40px;
    font-size: 14px;
    padding: 20px 48px;
  }

  .project-link {
    width: 100%;
    margin: 15px 0;
  }

  .project-link+.project-link {
    margin-left: 0;
  }

  .project-link:last-child {
    margin-right: 0;
  }

  .project-link:nth-child(odd) {
    text-align: left;
  }

  .project-link:nth-child(even) {
    text-align: right;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
  }

  .project-text:nth-child(even) {
    margin-left: 0;
    margin-right: 5px;
  }

  .skill .container {
    flex-direction: column-reverse;
  }

  .skill-img {
    width: 100%;
  }

  .skill-box {
    width: 100%;
  }

  .icon-play-button {
    font-size: 2em;
  }

  .gallery-item {
    width: 50%;
    padding-top: 50%;
  }

  .gallery-block a:nth-child(3) {
    order: 2;
  }

  .gallery-block a:nth-child(4) {
    order: 1;
  }

  .gallery-block a:nth-child(5) {
    order: 4;
  }

  .gallery-block a:nth-child(6) {
    order: 3;
  }

  .gallery-block a:nth-child(7) {
    order: 5;
  }

  .gallery-block a:nth-child(8) {
    order: 6;
  }

  .client-item {
    width: 100%;
    max-width: 100%;
    padding-top: 25%;
  }

  .client-item+.client-item {
    margin-top: 35px;
  }

  .footer {
    padding: 0;
  }

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

  .my-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 35px;
    padding: 0;
  }

  .my-data h3 {
    margin: 10px;
  }

  .my-data p {
    margin: 0;
    vertical-align: bottom;
  }

  .icon-social {
    font-size: 1.5em;
  }
}