@font-face {
  font-family: 'Raleway-Regular';
  src: url('../fonts/Raleway-Regular.eot?#iefix') format('embedded-opentype'),
  url('../fonts/Raleway-Regular.woff') format('woff'),
  url('../fonts/Raleway-Regular.ttf')  format('truetype'),
  url('../fonts/Raleway-Regular.svg#Raleway-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}
html, body {
  font-size: 15px;
  font-family: 'Raleway-Regular', Helvetica, sans-serif;
  color: #605E5E;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
}
:after, :before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
h1,h2,h3,h4,h5,h6 {
  font-weight: normal;
}
.title {
  font-size: 34px;
  color: #fff;
}
.title-small {
  font-size: 22px;
}
.title-green {
  color: #0DB26B;
}
ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
a {
  color: #2F2E2E;
  text-decoration: none;
  transition: color 0.4s ease 0s;
}
a:hover {
  color: #9155A7;
}
.active {
  color: #9155A7;
}
img {
  width: 100%;
  height: auto;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: block;
}
.clearfix:after {
  clear: both;
}
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  max-width: 980px;
}
.display-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.open-menu {
  display: none;
}
header {
  background: #f2f2f2;
}
.display-flex--header {
  height: 114px;
  position: relative;
}
.logo {
  flex-shrink: 0;
  padding-right: 20px;
}
.logo-title {
  font-size: 32px;
}
.logo-link {
  color: #9155A7;
}
.icon {
  background: url("../image/sprite-foot.png")no-repeat;
  display: inline-block;
}
.icon--logo {
  background-position: -41px 0;
  width: 16px;
  height: 19px;
  position: relative;
  top: -3px;
}

.nav-list__element {
  display: inline-block;
  padding: 10px 35px;
}
.nav-list__link {
  text-transform: uppercase;
  font-size: 14px;
}
.main {
  background: url("../image/main.png") no-repeat;
  width: 100%;
  height: 672px;
  position: relative;
}
.main:after {
  content: '';
  position: absolute;
  background: rgba(48, 28, 56, 0.7);
  width: 100%;
  height: 100%;
  top: 0;
}
.main-text {
  letter-spacing: 0.1em;
  font-size: 75px;
  color: #FFFFFF;
  font-weight: bold;
  position: relative;
  z-index: 1;
  padding-top: 175px;
}
.contact-link {
  background: #61396f;
  height: 136px;
}
.display-flex--contact-link {
  height: 100%;
  justify-content: center;
}
.contact-link_text {
  color: #fff;
}
.contact-link_text:hover {
  color: #fff;
}
.services {
  padding: 75px 0;
  text-align: center;
}
.display-flex--services {
  margin-top: 60px;
  align-items: flex-start;
}
.services-block {
  width: 30%;
  padding: 0 10px;
}
.sprite {
  background: url("../image/sprite.png")no-repeat;
  display: inline-block;
  width: 78px;
  height: 76px;
  margin-bottom: 20px;
}
.sprite--design {
  width: 77px;
}
.sprite--development {
  background-position: -80px 0;
}
.sprite--analytics {
  background-position: -162px 0;
}
.text-services {
  margin: 15px 0 35px 0;
}
.services-link {
  color: #9155A7;
}
.services-link:hover {
  color: #301C38;
}
.work {
  background: #f2f2f2;
  text-align: center;
  padding: 100px 0 150px 0;
}
.work-text {
  margin: 15px 0 0 0;
}
footer {
  background: #6dcca3;
}
.display-flex--footer {
  height: 97px;
}
.copyright {
  color: #ffffff;
  margin-top: 10px;
  flex-shrink: 0;
}
.footer-text:first-child {
  margin-bottom: 10px;
}
.footer-text, .footer-text > a {
  color: #ffffff;
}
.footer-text > a {
  text-decoration: underline;
}
.footer-block {
  width: 57%;
}
.icon-map {
  background-position: -23px 0;
  width: 17px;
  height: 22px;
  position: relative;
  top: 3px;
  margin-right: 10px;
}
.icon--massage {
  width: 22px;
  height: 16px;
  position: relative;
  top: 3px;
  margin-right: 5px;
}
.about {
  background: url("../image/fixed.png") no-repeat fixed;
  position: relative;
}
.about:after {
  content: '';
  position: absolute;
  background: rgba(97, 57, 111, 0.6);
  width: 100%;
  height: 100%;
  top: 0;
}
.display-flex--about {
  height: 135px;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}
.display-flex--about-team {
  align-items: flex-start;
  padding: 65px 0;
}
.about-team__image {
  max-width: 412px;
  width: 45%;
}
.about-block {
  width: 55%;
  padding-left: 60px;
}
.about-title {
  font-size: 23px;
  color: #9155A7;
  margin: 20px 0 10px 0;
}
.title--about {
  margin: 60px 0 170px 0;
  text-align: center;
}
.departments {
  padding: 60px 0;
}
.display-flex--departments {
  margin-top: 40px;
  align-items: self-start;
  margin-bottom: 90px;
}
.departments-block {
  width: 30%;
  padding-right: 15px;
}
.departments-block > img {
  margin-bottom: 20px;
}
.departments-text {
  margin-top: 10px;
  color: #9155A7;
}
.title--contact {
  margin: 65px 0 45px 0;
}
.display-flex--form {
  align-items: flex-start;
  max-width: 425px;
  height: 130px;
}
form {
  text-align: right;
  max-width: 425px;
  margin-bottom: 260px;
}
.fb-label {
  font-size: 0;
  position: absolute;
}
.fb-input, .fb-textarea {
  height: 38px;
  padding: 3px 3px 3px 12px;
  font-size: 15px;
  color: #2F2E2E;
  border: 1px solid rgba(47, 46, 46, 0.55);
  width: 100%;
  font-family: 'Raleway-Regular',Helvetica,sans-serif;
  margin-bottom: 5px;
}
.fb-input:hover, .fb-textarea:hover,
.fb-input:focus, .fb-textarea:focus {
  border: 3px solid rgba(47, 46, 46, 0.55);
}
.form-block {
  width: 50%;
}
.form-group.form-block {
  padding-left: 5px;
  height: 100%;
}
.fb-textarea {
  height: calc(100% - 5px);
}
.fb-submit {
  background-color: rgba(145, 85, 167, 1);
  cursor: pointer;
  transition: background-color 0.4s ease 0s;
  border: none;
  color: #fff;
  font-size: 15px;
  padding: 8px 0;
  font-family: 'Raleway-Regular',Helvetica,sans-serif;
  width: calc(50% - 5px);
}
.fb-submit:hover {
  background-color: rgba(193, 113, 222, 1);
}
.privacy {
  display: block;
  outline: none;
  color: #FFFFFF;
}
.privacy:hover {
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .nav-list {
    text-align: right;
  }
  .main-text {
    font-size: 50px;
    text-align: center;
  }
  .nav-list__element {
    padding: 5px 35px;
  }
  .about-block {
    padding-left: 25px;
  }
  .display-flex--departments {
    flex-wrap: wrap;
  }
  .departments-block {
    width: 50%;
    margin-bottom: 35px;
  }
}
@media (max-width: 480px) {
  .nav {
    display: none;
  }
  button.open-menu {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  button.open-menu .line {
    display: block;
    height: 4px;
    background: #000;
    margin-bottom: 7px;
    width: 45px;
    border-radius: 1px;
  }
  .open .open-menu span {
    opacity: 0;
    position: relative;
  }
  .open #open-menu span:first-child, .open #open-menu span:last-child {
    -webkit-transform: rotate(-45deg);
    top: 12px;
    opacity: 1;
  }
  .open #open-menu span:last-child {
    -webkit-transform: rotate(45deg);
    top: -10px;
  }
  body.open .nav {
    display: block;
    position: absolute;
    width: 150px;
    z-index: 99;
    padding: 25px 20px;
    background: #fff;
    bottom: -145px;
    right: 0;
    box-shadow: 0 0 5px rgba(0,0,0,0.56);
    border-radius: 3px;
    text-align: left;
  }
  .nav-list__element {
    padding: 5px 15px;
    display: block;
  }
  .display-flex--services, .display-flex--footer, .display-flex--about-team, .display-flex--form {
    flex-wrap: wrap;
  }
  .services-block {
    width: 100%;
    margin-bottom: 45px;
    padding: 0;
  }
  .text-services {
    margin: 15px 0;
  }
  .display-flex--footer {
    height: auto;
    padding: 10px 0;
  }
  .footer-block {
    width: 100%;
    margin: 20px 0 0 0;
  }
  .copyright {

  }
  .privacy {

  }
  .main-text {
    font-size: 40px;
  }
  .about-team__image, .about-block, .departments-block, .form-block {
    width: 100%;
  }
  .about-block {
    padding: 0;
    margin-top: 25px;
  }
  .form-group.form-block {
    padding: 0;
  }
  .display-flex--form {
    height: auto;
  }
  .fb-submit {
    min-width: 200px;
  }
}