* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --white: #FFFFFF;
    --brown: #342F2D;
    --orange: #FF9B00;
    --light-grey: #f7f7f7;
    --dark-grey: #4f4f4f;
    --shadow: #6868b8;
}

html, body {
    overflow-x: hidden;
    color: var(--dark-grey);
    scroll-behavior: smooth;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    margin: 0 auto 25px auto;
  }

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* Fonts */
@font-face {
    font-family: "Roboto Black";
    src: url(/fonts/Roboto-Black.ttf);
}

@font-face {
    font-family: "Roboto Bold";
    src: url(/fonts/Roboto-Bold.ttf);
}

/* 
NAV
*/
header {
    position: relative;
    /* z-index: 100; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin: 0 20px 0 20px; */
    min-height: 150px;
    max-height: 100%;
    width: 100%;
    top: 0px;
}

.nav-logo img {
    max-width: 220px;
    height: auto;
}

#menuDesktop {
  display: none;
}

/* mobile nav */
#menuToggle
{
  display: block;
  position: absolute;
  top: 50px;
  right: 0px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: var(--brown);
  font-family: "Roboto Bold", Arial, Helvetica, sans-serif;

  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: var(--orange);
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; 
  z-index: 2; 
  
  -webkit-touch-callout: none;
}

#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: var(--brown);
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: var(--brown);
}

#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background: var(--light-grey);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  
  transform-origin: 0% 0%;
  transform: translate(100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

#menuToggle input:checked ~ ul
{
  transform: translate(-50%, 0);
}

/* 
TYPOGRAPHY
*/

h1 {
    font-family: "Roboto Black", Arial, Helvetica, sans-serif;
    font-size: 2.25em;
    line-height: 1.2em;
    margin-bottom: 16px;
    color: var(--brown);
}

h2 {
    font-family: "Roboto Bold", Arial, Helvetica, sans-serif;
    font-size: 2.2em;
    line-height: 1.2em;
    margin-bottom: 16px;
    color: var(--brown);
}

h3 {
    font-family: "Roboto Bold", Arial, Helvetica, sans-serif;
    font-size: 1.6em;
    line-height: 1.5em;
    margin-bottom: 16px;
    color: var(--brown);
}

p, li, q {
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    line-height: 1.6em;
    margin-bottom: .5em;
}


/* 
BUTTON STYLING
*/
button {
    padding: 15px 35px;
    border: solid 3px var(--orange);
    margin-top: 30px;

    font-family: "Roboto Bold", Arial, Helvetica, sans-serif;
    font-size: 1.2em;
    cursor: pointer;
    background-color: #ff990000;
    color: var(--brown);
    transition: transform .3s, box-shadow .5s, background-color .3s;
}

button:hover {
    background-color: var(--orange);
    color: var(--white);
}

button:focus {
    outline: none;
}


/* GENERAL */
.container{
  max-width: 90%;
  margin: 0 auto;
}

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

.center {
    text-align: center;
    margin: 0 auto;
}

.sec-bot {
    margin-bottom: 120px;
}

.mar-bot {
    margin-bottom: 50px;
}

.bar-brown {
    background-color: var(--brown);
    text-align: center;
    padding: 100px 0px;
}

.bar-brown h3, .bar-brown h2, .bar-brown p {
    color: var(--white);
}

#services div ul {
    text-align: left;
}

main ul {
  padding-left: 20px;
}

main li {
  padding-left: 1em;
}

main li::marker {
  color: var(--orange);
  content: '–';
  content: url(/images/li.svg);
}

#featured {
  background-color: var(--light-grey);
  padding: 120px 0;
}

.project {
  margin-bottom: 50px;
}

#contact {
  margin-top: 120px;
}

.contact-card {
  padding: 30px;
  margin: 0 auto 20px auto;
  background-color: var(--light-grey);
  max-width: 350px;
}
.contact-card a {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 1.2em;
  line-height: 1.6em;
  margin-bottom: .5em;
  color: var(--brown);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--brown);
  color: var(--white);
  padding: 50px 0;
  margin: 0 auto;
  text-align: center;
}

footer img {
  max-width: 200px;
  height: auto;
}

/* TESTIMONIALS */
blockquote q {
  display: inline-block;
  color: var(--white);
}

blockquote .source {
   margin-top: 25px;
   color: var(--white);
   font-weight: 700;
}

.cont-test {
	position: relative;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}

.quoteLoop {
	height: auto;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

.quote {
	margin: 10px 30px;
	height: inherit;
	top: 0px;
	display: none;
	text-align: center;
}


/* TABLET PORTRAIT - up */
@media (min-width: 600px) {
  img {
    display: block;
    margin-left: auto;
    margin-right: auto;  
  }

  .cap1 {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;  
  }

  .cap2 {
    max-width: 700px;
  }
}

/* TABLET LANDSCAPE  - up */
@media (min-width: 900px) {
  #menuToggle {
    display: none;
  }

  #menuDesktop {
    display: block;
  }

  #menuDesktop a {
    padding: 0 10px 10px 10px;
    margin-left: 15px;
    transition: border-bottom .3s;
    border-bottom: solid 3px rgba(255, 255, 255, 0);
  }

  #menuDesktop a:hover{
      border-bottom: 3px solid var(--orange);
  }

  #menuDesktop a {
    font-family: "Roboto Bold", Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: var(--brown);
  }

  .flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .flex-txt {
    max-width: 50%;
  }

  .flex-img {
    max-width: 40%;
  }

  .reverse {
    flex-direction: row-reverse;
  }

  .cont-flex {
    display: flex;
    justify-content: center;
  }

  .contact-card {
    min-width: 350px;
    margin: 0%;
  }

  .contact-card:first-of-type {
    margin-right: 20px;
  }
}

/* DESKTOP - up */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    padding: 0 20px;
  }

  .flex-txt {
    max-width: 45%;
  }

  .flex-img {
    max-width: 45%;
  }

  .bar-brown .container {
    padding: 0 150px;
  }
}