html {
  box-sizing: border-box;
}

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


body {
  font: 1em/1.6 Lora, Georgia, serif;
  color: #11112f;
  margin: 0;
  padding: 0;
}

p {
  font-size: 1.1em;
}

a {
  color: #31b4b0;
  font-weight: bold;
}

a:hover {
  color: #11112f;
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.main-header {
  padding: 0 20px;
}

.site-logo {
  text-align: center;
  font-size: 20px;
  margin: 20px 0 0;
  text-transform: lowercase;
}

.site-logo a {
  text-decoration: none;
  color: #11112f;
}

.site-logo a:hover {
  color: #31b4b0;
}

.site-description {
  font-size: 28px;
  font-style: italic;
  font-weight: normal;
  margin: 20px 20px 20px 0;
}

.site-description em {
  font-weight: bold;
}

/* Content */
.main-content {}

.section-title {
  font-size: 22px;
  font-style: italic;
  text-align: center;
}

.services {
  list-style: none;
  padding: 0;
}

.services-item {
  background-color: #11112f;
  margin: 0;
  padding: 20px;
  border: 1px solid #fff;
}

.services-item-title {
  color: #fff;
  font-size: 24px;
  font-family: Hind, Helvetiva, sans-serif;
  position: relative;
  padding-top: 80px;
  text-align: center;
}

.services-item-title:before {
  position: absolute;
  content: '';
  top: 0;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  background: url(images/sprite.svg) no-repeat 0 0;
}

.services-item-description {
  color: #787895;
}

.services-item-consulting .services-item-title:before {
  background-position: 0 0;
}

.services-item-education .services-item-title:before {
  background-position: 0 -60px;
}

.services-item-development .services-item-title:before {
  background-position: 0 -120px;
}

.services-item-integrations .services-item-title:before {
  background-position: 0 -180px;
}

.services-item-contact .services-item-title:before {
  background-position: 0 -240px;
}

.services-item-contact {
  background-color: #fff;
  text-align: center;
}

.services-item-contact a {
  color: #11112f;
  text-decoration: none;
  display: inline-block;
}

.services-item-contact a:hover {
  color: #31b4b0;
}

.services-quote {
  font-size: 28px;
  text-align: center;
  display: block;
  position: relative;
  padding: 30px 20px;
  margin: 40px auto;
}

.services-quote:before,
.services-quote:after {
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -50px;
  width: 100px;
  height: 5px;
  background-color: #31b4b0;
}

.services-quote:before {
  top: 0;
}

.services-quote:after {
  bottom: 0;
}

.about-us {
  padding: 20px;
  margin: 0 auto;
}

.about-us-avatar {
  border-radius: 50%;
  margin: auto;
  display: block;
}

.about-us-description {

}

.product {}

.product-url {
  background-color: #ffbc00;
  color: #995e19;
  font-family: Hind, Helvetica, sans-serif;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
  padding: 10px 15px;
  margin: 0 20px;
  display: block;
  text-align: center;
}

.product-url:hover {
  background-color: #e6aa00;
  color: #995e19;
}

/* Footer */
.main-footer {
  text-align: center;
  margin: 20px 0 0;
  padding: 10px 0;
  background-color: #111828;
  color: #fff;
}

/* Helpers */
.hidden {
  display: none;
}

@media only screen and (min-width: 30em) {
    .site-logo {
      text-align: left;
    }
    .product-url {
      display: table;
      margin: auto;
    }
}

@media only screen and (min-width: 45em) {
  .wrapper {
    position: relative;
  }
  .site-logo {
    position: relative;
    top: 10px;
    margin-top: 0;
  }
  .site-description,
  .services-quote {
    font-size: 32px;
  }
  .about-us,
  .services-quote {
    width: 70%;
  }
  .about-us {
    margin: auto;
  }
  .section-title {
    text-align: left;
  }
  .product {
    position: absolute;
    top: 0;
    right: 0;
  }

  .services {
    display: flex;
  }

  @supports (display: grid) {
    .services {
      display: grid;
      grid-template-columns: repeat(9, 1fr);
      grid-template-rows: auto;
      grid-template-areas:
        "consulting consulting consulting education education development development development development"
        "consulting consulting consulting education education development development development development"
        "consulting consulting consulting education education contact contact contact contact"
        "integrations integrations integrations integrations integrations contact contact contact contact"
        "integrations integrations integrations integrations integrations contact contact contact contact";
    }
    .services-item {
      align-self: stretch;
    }
    .services-item-consulting {
      grid-area: consulting;
    }
    .services-item-education {
      grid-area: education;
    }
    .services-item-development {
      grid-area: development;
    }
    .services-item-integrations {
      grid-area: integrations;
    }
    .services-item-contact {
      grid-area: contact;
      align-self: center;
    }
  }
}

@media only screen and (min-width: 60em) {
  .site-description {
    max-width: 70%;
  }
  .about-us-description {
    margin: inherit;
  }
}
