/* Core */

body, td {
  color: rgba(0, 0, 0, 0.5);
  background-color: #EEF0F2;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: 200;
}

/* Header - contains nav and hero (required to show slant) */

.header {
  background-color: #F3F5F7;
}

.slant {
  background-image: url(../images/slant.svg);
  background-size: 100% 100%;
  height: 100px;
}

/* Nav */

.nav {
  width: 920px;
  margin: 0px auto;
}

.nav .container {
  width: 100%;
  height: 75px;
  margin: 0px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
}

.nav .container .content {
  width: 100%;
  display: grid;
  grid-template-columns: 180px auto 340px;
}

.nav .container .content .items-icons {
  display: none;
}

.nav .container .content .items {
  text-align: right;
}

.nav .container .content .items .item {
  margin: 0px 10px;
  color: rgba(0, 0, 0, 0.3);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

.nav .container .content .item:hover {
  text-decoration: underline;
}

@media screen and (max-width: 920px) {
  .nav {
    width: 100%;
  }

  .nav .container .content img {
    margin-left: 20px;
  }

  .nav .container .items {
    margin-right: 20px;
  }
}

@media screen and (max-width:520px) {
  .nav .container .content {
    grid-template-columns: 180px 0px auto;
  }

  .nav .container .content .items {
    display: none;
  }

  .nav .container .content .items-icons {
    padding-right: 20px;
    opacity: 0.5;
    display: inline;
    text-align: right;
  }
}

/* Hero */

.hero {
  text-align: center;
  margin-top: 120px;
  margin-bottom: 100px;
}

.hero .strapline {
  color: #888888;
  margin-top: 20px;
  font-size: 25px;
  font-weight: 400;
}

@media screen and (max-width: 420px) {
  .hero img {
    width: 80%;
  }

  .hero .strapline {
    font-size: 18px;
  }
}

/* Previous work */

.previous-work {
  width: 960px;
  margin: 0px auto;
  display: flex;
  flex-direction: row;
  flex-flow: row wrap;
}

.previous-work .item {
  display: flex;
  margin: 20px 20px;
  width: 440px;
  line-height: 1.4;
}

.previous-work .item .logo img {
  width: 60px;
  height: 60px;
}

.previous-work .item .copy {
  margin-left: 20px;
}

.previous-work .item .copy a {
  color: inherit;
}

.previous-work .item .copy .company {
  font-size: 26px;
  font-weight: 600px;
  font-weight: 600;
}

.previous-work .item .copy .company a {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
}

.previous-work .item .copy .company a:hover {
  text-decoration: underline;
}

.previous-work .item .copy .position {
  color: rgba(0, 0, 0, 0.7);
  font-size: 18px;
  font-weight: 400;
}

@media screen and (max-width: 960px) {
  .previous-work {
    width: 480px;
  }
}

@media screen and (max-width: 480px) {
  .previous-work {
    width: 320px;
  }
}
