* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --white: #fffefc;
  --gray: #e2e5e8;
  --darkgray: #5b6770;
  --black: #16191c;
  --light-blue: #cbd6e3;
  --dark-blue: #3d5572;
  --yellow: #fff6da;
  --logo-blue: #7d99ba;
  --logo-grey: #5b6770;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  background-color: var(--white);
  color: var(--black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  color: var(--black);
}

h1 {
  font-size: 2rem;
  color: var(--logo-grey);
}


.header__title {
  color: rgba(250, 250, 250, 0.8);
  font-size: 48px;
  letter-spacing: 2rem;
  text-shadow: rgba(0, 0, 0, 0.3) 3px 3px;
}

p {
  font-weight: 300;
  letter-spacing: 1.4px;
  font-size: 1rem;
  line-height: 1.6rem;
  margin-bottom: 2rem;
}

.header__nav {
  display: block;
  max-height: 200px;
  margin: 0 auto;
  border-bottom: solid 4px var(--logo-blue);
}

.header__logo {
  padding-top: 12px;
  margin: 0 auto 1rem auto;
  text-align: center;
}

.header__logo img {
  width: 75%;
  max-width: 300px;
  max-height: 120px;
}

.nav__nav-list {
  display: -webkit-box;
  display: flex;
  margin-bottom: 5px;
  -webkit-box-pack: justify;
          justify-content: space-evenly;
  -webkit-box-align: center;
          align-items: center;

}

nav ul {
  list-style: none;
}

nav ul li {
  font-size: 14px;
  letter-spacing: 2px;
  margin: 0;
  font-weight: 300;
  /* margin-left: 2rem; */
  text-transform: uppercase;
}

.container {
  width: 80%;
  margin: 0 auto;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column nowrap;
}

.nav__nav-item a:link,
.nav__nav-item a:visited {
  text-decoration: none;
  color: var(--black);
}

.nav__nav-item a:active,
.nav__nav-item a:hover {
  color: var(--darkgray);
}

a.selected {
  font-weight: 400;
  border-bottom: 1px solid var(--logo-blue);
  padding-bottom: 6px;
}

.header__img {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  height: 90vh;
  max-height: 90vh;
  width: 100%;
  background-image: url('../imgs/landing-page.jpg');
  background-position: center;
  background-attachment: scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 1.5s;
}

.left {
  padding: 0;
}

.main__title {
  margin: 1rem 0 2rem 0;
}

.main__p {
  font-size: 1.2rem;
  letter-spacing: 2px;
  line-height: 2.4rem;
  margin: 6rem auto 4rem auto;
}

.main__split {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-flow: row wrap;
  -webkit-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
          align-items: flex-start;
  margin-top: 2.6rem;
}


.main__vert-imgs {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column nowrap;
  min-width: 100%;
  -webkit-box-flex: 1;
          flex: 1 100%;
}


.vert__fig {
  padding-bottom: 3rem;
  display: block;
}

.main__fig-img {
  width: 100%;
}

.contact__fig {
  width: 100%;
  /* margin: 6rem auto; */
}

.contact__fig-img {
  width: 100%;
}

.btn-wrap {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.btn-about {
  color: var(--darkgray);
  border-radius: 5px;
  border: solid 2px var(--gray);
  cursor: pointer;
  padding: 1.4rem;
  font-size: 18px;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-about:hover {
  background-color: var(--gray);
}

.divider {
  border-top: 2px solid var(--gray);
  width: 50%;
  margin: 8rem auto;

}

.work {
  margin: 0 auto;
}

.work h2, .contact h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 4rem;
}

.work-img-container {
  display: inline-block;
  position: relative;
}

.work-img {
  display: block;
}

.work-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  text-align: center;
  color: white;
  font-size: 28px;
  font-weight: 700;
  text-shadow: rgba(100, 100, 100, 0.6) 1px 2px;
}

.work-overlay.dark {
  color: var(--black);
}

.work__image-block {
  margin: auto;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column nowrap;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
}

.work__section {
  margin-top: 2rem;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-flow: row wrap;

}

/* .furniture {
  color: yellow;
} */

/*************work project pages ****************/
.work__section-title {
  margin-bottom: 1rem;
  margin-top: 2rem;

}

.work__section-subtitle {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.environments {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column;
}

.environments > .work__project-wrap {
  width: 100%;
  margin-bottom: 2rem;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column nowrap;
}

.environments .work__project-content-wrap {
  text-align: left;
}

.work__project-wrap {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column nowrap;
  margin-bottom: 8rem;
}

.work__project-fig img {
  width: 100%;
  max-width: 650px;
}

.work__project-content-wrap p {
  margin-bottom: .4rem;
}

.work__project-content-wrap ul {
  font-size: 1rem;
  margin-left: 1.4rem;
  font-weight: 300;
  letter-spacing: 1.4px;
  line-height: 1.3rem;
}


.work__project-content-wrap li {
margin-bottom: .2rem;
}

.work__project-title {
  font-size: 1.1rem;
  line-height: 2rem;
  margin-bottom: .5rem;
}

.work__project-detail {
  font-size: 0.9rem;
  line-height: 1.3rem;
  color: var(--black);
}

/************end work projects pages *****************/

.image-block {
  width: 60%;
  border: solid 2px var(--gray);
  border-left: none;
  border-right: none;
  margin: 8rem auto;
  padding: 4rem;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-flow: row nowrap;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.fig-two-col {
  width: calc(100% - 4rem);
}

.fig-three-col {
  width: calc(100% - 1rem);
  position: relative;
  margin-bottom: 4rem;
}

.fig-three-col:last-child {
  margin-bottom: 0;
}

.fig-two-col, .fig-three-col img {
  width: 100%;
}

figcaption {
  font-size: 16px;
  color: var(--logo-grey);
}

.two-col {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
          flex-flow: column-reverse nowrap;
  -webkit-box-align: center;
          align-items: center;
}

.services__list {
  width: 50%;
  margin: 0 auto;
  line-height: 3rem;
  list-style: none;
  text-align: center;
}

.contact {
  margin-bottom: 8rem;
}

.icons__list {
  margin: 0 auto 3rem auto;
  font-size: 1.2rem;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column nowrap;
}
.icon {
  color: var(--logo-blue);
  /* padding-right: 1rem; */
  margin-bottom: 1.6rem;
}

.icon i {
  margin-right: 1rem;
}

.icon a:visited,
.icon a:link {
  text-decoration: none;
  color: var(--logo-blue);
}

.icon a:active,
.icon a:hover {
  color: var(--logo-grey);
}


/***************footer section **********************/
footer {
  background-color: var(--gray);
  font-size: 1rem;
}

.footer__container {
  width: 80%;
  margin: 0 auto;
}

.footer__contact {
  list-style: none;
  width: 100%;
  padding: 1rem 0 ;
  display:-webkit-box;
  display:flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column nowrap;
  color: var(--darkgray);
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
}

.footer__contact li {
  color: var(--darkgray);
  margin-bottom: 1.4rem;
}

.footer__contact a {
  text-decoration: none;
  color: var(--darkgray);
}

.footer__contact a:hover, .footer__contact a:active {
  color: var(--black);
}

/* .footer__content {
  font-size: 16px;
} */

.footer__sub-content {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
}

.footer__sub-content p {
  font-size: 14px;

}


@media (min-width: 768px) { 

.header__nav {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-flow: row nowrap;
  -webkit-box-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
          justify-content: space-between;
  max-height: 120px;
  padding: 0 2rem;
}

.header__logo {
  max-width: 300px;
  max-height: 120px;
  text-align: left;
  margin: 0;
}

.header__logo img {
  width: 100%;
}

nav ul li {
  font-size: 16px;
  letter-spacing: 3px;
  margin-right: 2rem;
}

nav ul li:last-child {
  margin-right: 0;
}

.left {
  padding-right: 4rem;
}

.main__split {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-flow: row nowrap;
}


.main__vert-imgs {
  min-width: 33%;
  -webkit-box-flex: 1;
          flex: 1 33%;
  margin-left: auto;

}

.fig-three-col {
  width: 80%;
}

.contact__fig {
  width: 80%;
}

  .work__project-wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
            flex-flow: row-reverse nowrap;
    -webkit-box-pack: center;
            justify-content: center;
  }

  .work__project-fig-wrap {
    margin-left: auto;
  } 
  
  .work__project-content-wrap {
    -webkit-box-flex: 1;
            flex: 1 calc(50% - 2rem);
    margin-right: 2rem;
    text-align: right;
    align-self: center;
  }

  .work__project-content-wrap ul {
    direction: rtl;
    margin-right: 1rem;
  }

  .work__project-title {
    font-size: 1.4rem;
    line-height: 2rem;
  }
  
  .work__project-detail {
    font-size: .8rem;
    line-height: 1.4rem;
  }

  .environments {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row wrap;
    -webkit-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
            align-items: flex-start;
  }
  
  .environments > .work__project-wrap {
    -webkit-box-flex: 0;
            flex: 0 calc(50% - 1rem);
    margin-bottom: 2rem;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-flow: column nowrap;
  }
  
  .environments .work__project-content-wrap {
    margin: 0;
    text-align: left;
    align-self: flex-start;
  }

  footer {
    font-size: 1.4rem;
  }
  .footer__contact {
  padding: 1.5rem 0 2.5rem 0 ;
  display:-webkit-box;
  display:flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-flow: row nowrap;
  -webkit-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
          align-items: center;
  font-size: 1rem;
}

.footer__contact li {
  margin-bottom: 0;
  margin-right: 1rem;

}

.footer__contact li:last-child {
  margin-right: 0;
}

}


@media (min-width: 992px) {
  .header__img {
    background-attachment: fixed;
    }
    
  .main__p {
    font-size: 1.6rem;
    letter-spacing: 2px;
    line-height: 2.4em;
    margin: 8rem auto 3rem auto;
    width: 75%;
  }

  .btn-wrap {
    width: 60%;
  }

  .divider {
    width: 50%;
    margin: 6rem auto;
  
  }
  .services__list {
    width: 75%;
    line-height: 2.6rem;

  }

  .contact {
    margin-bottom: 6rem;
  }

  .fig-three-col {
    width: 70%;
  }
  
  .contact__fig {
    width: 70%;
  }

  .contact__fig {
    width: 80%;
    margin: 3rem auto;
  }

  .icons__list {
    font-size: 1.6rem;
  }

  .icon {
    margin-bottom: 2rem;
  }
}



@media (min-width: 1200px) {

  .header__img {
    background: contain;
      
  }

  .main__p {
    font-size: 1.7rem;
    letter-spacing: 2px;
    line-height: 2.4em;
    margin: 8rem auto 3rem auto;
    width: 65%;
  }

  .work__image-block {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row nowrap;
    -webkit-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
            align-items: flex-start;
  }

  .btn-wrap {
    margin: 4rem auto 0;
  }

.fig-three-col {
  width: calc(33% - 1rem);
} 
.two-col {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
          flex-flow: row-reverse nowrap;
  -webkit-box-align: center;
          align-items: center;
}

.contact__fig {
  width: calc(50% - 1rem);
  margin-left: auto;
}

.icons__list {
  margin-bottom: 0;
}

.icon {
  margin-bottom: 3rem;
}

  .work__section {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
            flex-flow: row wrap;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: justify;
            justify-content: space-between;
  }

  .work__project-wrap {
    -webkit-box-flex: 0;
            flex: 0 calc(50% - 2rem);
  }

  .work__project-content-wrap {
    -webkit-box-flex: 1;
            flex: 1 35%;
  }

  .work__project-fig-wrap {
    -webkit-box-flex: 1;
            flex: 1 65%;
    margin-left: auto;
  }

  /* .work__project-wrap:nth-child(odd) {
    margin-right: 3rem;
  } */

}