body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

.main-content {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 80px;
}

.body-text p,
ul,
.case-study-title,
.case-study-subtitle,
.case-study-caption {
  font-family: Raleway, Arial, Helvetica, Sans-Serif;
  color: #142551;
}

ul {
  padding-left: 24px;
  list-style-type: none;
}

.case-study-caption {
  text-align: left;
}

.body-text p {
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 24px;
}

.case-study-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 16px;
  margin-top: 48px;
}

.case-study-subtitle {
  font-weight: 600;
  font-style: italic;
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 12px;
  margin-top: 36px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  font: inherit;
  font-size: inherit;
  color: inherit;
  text-decoration: inherit;
}

p a {
  text-decoration: underline;
  color: inherit;
}

p a:hover {
}

.img-sm,
.img-xs {
  display: none;
}

/*Featured link*/

.featured-link {
  display: inline-block;
  position: relative;
}

.featured-link-text,
.menu-link {
  display: inline-block;
  position: relative;
  font-family: Raleway, Arial, Helvetica, Sans-Serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  margin: 0;
}

.featured-link-icon {
  display: inline-block;
  width: 20px;
  margin-bottom: 4px;
}

.featured-link:hover,
.menu-link:hover {
  text-decoration: none;
}

.featured-link:after,
.menu-link:after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 1px;
  right: 0;
  transition: width 0.2s ease;
  -webkit-transition: width 0.2s ease;
}

.featured-link:hover:after,
.menu-link:hover:after {
  width: 100%;
  left: 0;
}

/*Featured link dark*/

.featured-link-dark,
.featured-link-dark:hover {
  color: #142551;
}

.featured-link-dark:hover:after {
  background: #142551;
}

/*Featured link white*/

.featured-link-white,
.featured-link-white:hover {
  color: #ffffff !important;
}

.featured-link-white:hover:after {
  background: #ffffff !important;
}

/* Banners */

.home-hero,
.work-hero,
.case-study-hero {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 !important;
}

.home-hero,
.error-hero {
  background-color: #ffffff;
  background-image: url("../images/topography.svg");
}

.home-hero {
  min-height: 520px;
  max-height: 580px;
}

.error-hero {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-study-hero,
.work-hero,
.portfolio {
  background-color: #f1f2f5;
}

/* Top border */

.page-border .top-border {
  position: absolute;
  width: 100%;
  padding: 4px;
  background: #f85c53;
  z-index: 9999;
}

/* Header */

.header {
  display: flex;
  flex-direction: row;
  height: 72px;
  justify-content: center;
  align-items: center;
}

.header-item {
  display: inline-block;
}

.logo, .social-icons {
  width: 25%;
}

.menu {
  width: 50%;
  text-align: center;
  padding-left: 12px;
  padding-right: 12px;
}

.logo {
  padding-right: 12px;
}

.social-icons {
  text-align: right;
  padding-left: 12px;
}

.logo-graphic {
  height: 48px;
  text-align: left;
}

.logo,
.menu li,
.social-icons li {
  display: inline-block;
}

.menu-link {
  text-align: center;
  margin: 12px;
  color: #142551;
}

.menu-link:hover {
  color: #142551;
}

.menu-link:after {
  margin-top: 0;
}

.menu-link:hover:after {
  background: #f85c53;
}

.social-icons .fa {
  font-size: 16px;
  padding: 0 8px;
  color: #142551;
  opacity: 0.7;
}

.social-icons a:hover .fa {
  opacity: 1;
}

/* Short Bio */

.home-hero-content,
.error-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: Raleway, Arial, Helvetica, Sans-Serif;
  color: #142551;
  margin: auto 0;
}

.home-hero-text {
  width: 70%;
  margin: 0 auto;
}

#hello,
#error-404 {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

#about-me {
  font-size: 48px;
  line-height: 56px;
  font-weight: 400;
  margin-bottom: 36px;
}

#uh-oh {
  font-size: 80px;
  line-height: 88px;
  font-weight: 400;
  margin-bottom: 48px;
  white-space: nowrap;
}

#current-work {
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
}

#error-copy {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

/* Portfolio */

.portfolio {
  display: flex;
  flex-direction: column;
}

.project-banner {
  width: 100%;
  padding: 0 !important;
}

.project-banner-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.portfolio-banner-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

.portfolio-banner-item-left {
  padding-right: 12px;
}

.portfolio-banner-item-right {
  padding-left: 12px;
}

.portfolio-banner-item-right.portfolio-banner-text {
  padding-left: 12%;
  padding-right: 4%;
}

.portfolio-banner-item-left.portfolio-banner-text {
  padding-left: 4%;
  padding-right: 12%;
}

.portfolio-banner-img {
  align-items: center;
  margin: 0 auto;
}

.portfolio-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.portfolio-banner-text {
  align-items: flex-start;
  font-family: Raleway, Arial, Helvetica, Sans-Serif;
  color: #142551;
}

.client-name {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.project-title {
  font-size: 36px;
  line-height: 44px;
  font-weight: 400;
  margin: 6px 0 24px 0;
}

/*Blog*/

.blog {
  width: 100%;
  padding: 0 !important;
  background-color: #142551;
}

.blog-content {
  display: flex;
  flex-direction: row;
  min-height: 500px;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10%;
  padding-bottom: 10%;
}

.blog-item {
  width: 33.33%;
  font-family: Raleway, Arial, Helvetica, Sans-Serif;
  color: #ffffff;
}

.article-one {
  padding-right: 12px;
}

.article-two {
  padding-left: 12px;
  padding-right: 12px;
}

.article-three {
  padding-left: 12px;
}

.blog-type-date {
  white-space: nowrap;
}

.blog-type,
.blog-vertical,
.blog-date {
  display: inline-block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.blog-vertical {
  padding: 0 10px;
}

.blog-title {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  margin: 6px 0 20px 0;
}

.blog-description {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  margin-bottom: 24px;
}

/* Footer */

.footer {
  width: 100%;
  padding: 0 !important;
  background-color: #ffffff;
}

.footer-content {
  display: flex;
  flex-direction: row;
  min-height: 100px;
  justify-content: center;
  align-items: flex-start;
}

.footer-item {
  width: 33.33%;
  font-family: Raleway, Arial, Helvetica, Sans-Serif;
  font-size: 14px;
  line-height: 16px;
  color: #142551;
  margin: 30px 0;
}

.footer-item-one {
  padding-right: 12px;
}

.footer-item-two {
  text-align: center;
  padding-top: 6px;
  padding-left: 12px;
  padding-right: 12px;
}

.footer-item-three {
  text-align: right;
  padding-left: 12px;
}

#copyright {
  font-size: 12px;
  line-height: 15px;
  opacity: 0.8;
}

.footer .contact-icon {
  display: inline-block;
  padding: 0 6px 0 0;
}

/* About */

.about {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 0 !important;
}

.about-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin: 100px auto;
}

.about-img {
  width: 33.33%;
  padding: 0 12px 0 0;
}

.about-img img {
  width: 50%;
  border-radius: 50%;
  margin: 0 auto;
}

.about-text {
  width: 66.66%;
  padding: 0 10% 0 12px;
}

/*Case studies*/

.case-studies {
  margin-bottom: 80px;
}

.case-study-hero-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.case-study-title,
.case-study-subtitle,
.case-study-caption,
.case-study-text p {
  padding: 0 12%;
}

.case-study-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  font-family: Raleway, Arial, Helvetica, Sans-Serif;
  color: #142551;
  padding-right: 12px;
  width: 50%;
  margin-top: 80px;
}

.case-study-hero-img {
  width: 50%;
  margin: 0 auto;
  padding-left: 12px;
}

.case-study-project-title {
  font-size: 40px;
  line-height: 48px;
  font-weight: 400;
  margin: 6px 0 36px 0;
}

.case-study-specs {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 100%;
  text-align: center;
  font-family: Raleway, Arial, Helvetica, Sans-Serif;
  font-size: 16px;
  line-height: 24px;
  color: #142551;
  padding-bottom: 12%;
}

.case-study-specs-66 {
  width: 66.66%;
}

.case-study-specs-item {
  display: inline-block;
  padding: 0 16px;
}

.case-study-specs-col {
    flex-direction: column;
    text-align: left;
}

.case-study-specs-item-col {
    padding: 0;
}

.case-study-specs-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.case-study-specs-description {
  margin-bottom: 16px;
}

.case-study-text {
  width: 80%;
  margin: 80px auto;
}

.case-study-image-narrow {
  margin: 0 auto;
  padding: 0 12%;
}

.case-study-caption p {
  font-size: 12px;
  line-height: 16px;
  margin: 16px 8% 24px 8%;
}

.thank-you {
  font-family: Kalam, Raleway, Arial, Helvetica, Sans-Serif;
  font-size: 42px;
  text-align: center;
  padding-bottom: 6%;
}

.thank-you a,
.thank-you a:hover {
  color: #142551;
}

@media screen and (max-width: 1140px) {

  ul {
  padding-left: 0px;
  list-style-type: initial;
}

.project-title {
  font-size: 32px;
  line-height: 40px;
}

.case-study-project-title {
  font-size: 32px;
  line-height: 40px;
}

.portfolio-banner-item-right.portfolio-banner-text {
  padding-left: 6%;
}

.portfolio-banner-item-left.portfolio-banner-text {
  padding-right: 6%;
}

.case-study-specs {
  flex-direction: column;
  text-align: left;
}

.case-study-specs-item {
  padding: 0;
}

.case-study-title,
.case-study-subtitle,
.case-study-caption,
.case-study-text p {
  padding: 0%;
}

.case-study-image-narrow {
  padding: 0;
  }
}

@media screen and (max-width: 920px) {
  .main-content {
    padding-left: 60px;
    padding-right: 60px;
  }

  .blog-content {
    padding-top: 10%;
    padding-bottom: 10%;
  }

  .case-study-text {
    width: 100%;
  }

  #about-me {
    font-size: 42px;
    line-height: 48px;
    margin-bottom: 32px;
  }

  .project-title {
    font-size: 28px;
    line-height: 36px;
    margin: 6px 0 20px 0;
  }

  .case-study-project-title {
    font-size: 28px;
    line-height: 36px;
  }

  .thank-you {
  font-size: 36px;
  }
}

@media screen and (max-width: 840px) {
  .blog-content {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 20%;
    padding-right: 20%;
  }

  .blog-item {
    width: 100%;
  }

  .article-one,
  .article-two,
  .article-three {
    padding-left: 0;
    padding-right: 0;
  }

  .article-one,
  .article-two {
    margin-bottom: 60px;
  }

  .case-study-hero {
    min-height: 500px;
  }

  .case-study-hero-content {
    flex-direction: column;
  }

  .case-study-hero-text {
    align-items: stretch;
    padding-right: 0;
    width: 80%;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
  }

  .case-study-hero-img {
    width: 100%;
    padding-left: 0px;
  }

  .case-study-project-title {
    font-size: 40px;
    line-height: 48px;
  }

  .case-study-specs {
    text-align: center;
    padding-bottom: 0;
  }

  .case-study-spect-66 {
    width: 100%;
  }

  .case-study-hero-text
  .client-name,
  .case-study-project-title {
    text-align: center;
  }

  .about-content {
    flex-direction: column;
    margin: 80px auto;
  }

  .about-img {
    width: 50%;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
  }

  .about-text {
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 740px) {
  .home-hero-text {
    width: 100%;
  }

  .project-banner-content {
    flex-direction: column;
    padding-left: 80px;
    padding-right: 80px;
  }

  .portfolio-banner-item {
    width: 100%;
  }

  .portfolio-banner-img {
    order: 1;
  }

  .portfolio-banner-text {
    order: 2;
    margin-top: 12px;
    margin-bottom: 60px;
  }

  .case-study-project-title {
    font-size: 32px;
    line-height: 40px;
  }

  .portfolio-banner-item-left {
    padding-right: 0;
  }

  .portfolio-banner-item-right {
    padding-left: 0;
  }

  .portfolio-banner-item-right.portfolio-banner-text {
    padding-left: 0;
    padding-right: 0;
  }

  .portfolio-banner-item-left.portfolio-banner-text {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-item {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .footer-item-one,
  .footer-item-two,
  .footer-item-three {
    text-align: center;
  }

  .footer-item-one {
    padding-right: 0px;
    padding-top: 30px;
  }

  .footer-item-two {
    padding: 12px 0;
  }

  .footer-item-three {
    padding-left: 0px;
    padding-bottom: 30px;
  }
}

@media screen and (max-width: 600px) {
  .main-content {
    padding-left: 30px;
    padding-right: 30px;
  }

  .project-banner-content {
    padding-left: 60px;
    padding-right: 60px;
  }

  .blog-content {
    padding-top: 10%;
    padding-bottom: 10%;
  }

  .menu-link {
  font-size: 14px;
  }

  .blog-content {
    padding-left: 30px;
    padding-right: 30px;
  }

  .portfolio-banner-text {
    margin-top: 8px;
    margin-bottom: 80px;
  }

  .case-study-hero-text {
    width: 100%;
  }

  .case-study-hero-img,
  .portfolio-img {
    padding-left: 20px;
    padding-right: 20px;
  }

  .social-icons {
    display: none;
  }

  .logo, {
    width: 25%;
  }

  .menu {
    width: 75%;
    text-align: right;
  }
}

  @media screen and (max-width: 420px) {
    .main-content {
    padding-left: 20px;
    padding-right: 20px;
    }

  .blog-content {
    padding-top: 10%;
    padding-bottom: 10%;
  }

  .case-study-hero-img,
  .portfolio-img {
    padding-left: 0px;
    padding-right: 0px;
  }

  #hello {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 16px;
  }
  
  #about-me {
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 24px;
  }
  
  #current-work {
    font-size: 16px;
    line-height: 20px;
  }

  .client-name {
    font-size: 16px;
    line-height: 20px;
  }
  
  .project-title {
    font-size: 24px;
    line-height: 32px;
  }

  .case-study-project-title {
    font-size: 24px;
    line-height: 32px;
    margin: 0 0 24px 0;
  }
}
