body {
  font-size: 1rem;
  max-width: 100%;
  overflow-x: hidden;
}

/* http://paletton.com/#uid=32a0u0kp6qGfm-gkptfs1lJw0gU */

.block {
  color: #ffffff;
  background-color: #accc2c;
  position: relative;
}

.block-inner {
  position: relative;
  width: 1140px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-inner {
  min-height: 679px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 155px 10px 10px 10px;
}

.hero::after {
  content: "";
  opacity: 0.5;
  background: url("M-angle.svg");
  background-repeat: no-repeat;
  background-clip: content-box;
  width: 400px;
  height: 400px;
  position: absolute;
  top: 0;
  right: 0;
}

.hero-title {
  font-family: "Titillium Web", sans-serif;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -4px;
  margin: 62px 331px 50px 0;
}

.logo {
  width: 238px;
}

.about-block {
  background: black;
}

.about-inner {
  min-height: 604px;
  margin: 0 auto;
  box-sizing: border-box;
}

.about-h2 {
  margin: 100px 0 0;
  color: #d54d6f;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  text-align: center;
}

.about-h3 {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.8;
  margin: 26px 0 0;
}

.about::after {
  content: "";
  opacity: 0.5;
  background: url("M-white-up.svg");
  background-repeat: no-repeat;
  width: 400px;
  height: 400px;
  position: absolute;
  right: -41px;
  background-clip: content-box;
  bottom: -160px;
}

.service-block {
  background: #592890;
}

.service-inner {
  min-height: 679px;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 1;
}

.service::after {
  content: "";
  opacity: 0.5;
  background: url("M-up.svg");
  background-repeat: no-repeat;
  transform: rotate(90deg);
  width: 400px;
  height: 400px;
  position: absolute;
  top: -35px;
  left: -157px;
  background-clip: content-box;
}

.service-h2 {
  margin: 100px 0 0;
  font-family: "Titillium Web", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0px;
}

.service-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service-item {
  width: 40%;
  min-width: 300px;
  margin-right: 10%;
}

.service-item h3 {
  font-size: 1.875rem;
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
}
.service-item p {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.6;
}

.contact-block {
  background: black;
}

.contact-inner {
  min-height: 604px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}

.contact-h2 {
  margin: 100px 0 0;
  font-size: 3rem;
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
}

.contact-h3 {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  text-align: left;
  text-transform: uppercase;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.8;
  margin: 26px 0 0;
}

.logo-bottom {
  width: 415px;
  margin-top: 88px;
}

.legal {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  text-align: center;
  padding: 4px;
}

a {
  color: white;
}
a:hover {
  color: #accc2c; 
}

@media (min-width: 1200px) {
  .block-inner {
    width: 1140px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .block-inner {
    width: 940px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .block-inner {
    width: 720px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .block-inner {
    width: 540px;
  }
}

@media (max-width: 575px) {
  .block-inner {
    width: 340px;
  }
  .hero-title {
    font-size: 3.75rem;
  }
  .logo {
    width: 200px;
  }
  .contact-inner {
    display: block;
  }
  .logo-bottom {
    width: 200px;
    margin-top: 30px;
  }
}
