/* --------------------------------

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


    *{
      margin: 0;
      padding: 0;
    }

	  body {
      min-height: 100vh;
  	  font-family: "Figtree", sans-serif;
		  font-optical-sizing: auto;
		  font-weight: <weight>;
		  font-style: normal;

      /* font-family: "DM Serif Display", serif;
      font-weight: 400;
      font-style: normal; */
      }

    .cd-header {
      z-index: 2;
      backdrop-filter: blur(10px);
    }

	  h2 {
		 font-size: 30pt;
     line-height: 50px;
     margin-bottom: 1em;
     font-weight:600;
	  }

    h3 {
     font-size: 20px;
     margin-top: 1em;
     margin-bottom: 1em;
     font-weight:600;
	  }

    p {
     margin-bottom: 2em;
     color: #77807e;
     line-height: 1.35em;
     font-weight: 400;
    }

	  .flex-container {
 		  display: flex;
		  flex-direction: row;
		  flex-wrap: wrap;
		  justify-content: center;
		  width: 90%;
		  margin: auto;
	  }

    .flex-container-project-info {
		  justify-content: left !important;
	  }


    .flex-container-justify{
      justify-content: space-between;
      margin-bottom: 2em;
    }

	  .color-1 {
		  color: #4c9a87;
	  }

	  .color-2 {
		  color: #fd4812;
	  }

    .serif-italic {
      font-family: "DM Serif Display", serif;
      font-weight: 400;
      font-style: italic;
      font-size: 1.11em;
    }

/* nav bar styles */
nav {
  background-color: #fff;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  text-transform: uppercase;
}

nav ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav li{
  height: 50px;
}

nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: #000;
}

nav a:hover{
  background-color: #f0f0f0;
}

nav li:first-child {
  margin-right: auto;
}

nav li:first-child a:hover {
  background-color: #fff;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}

.menu-button{
  display: none;
}

.logo {
  width: 100px;
  margin: 75px 0 0 0;
}

/* end nav bar styles */

/* button styles */
    .button {
      background-color: #4c9a87;
      border: none;
      color: white;
      padding: 16px 32px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 14px;
      margin: 4px 2px;
      transition-duration: 0.4s;
      cursor: pointer;
      border-radius: 40px;
      font-family: "Figtree", sans-serif;
		  font-weight: 500;
    }

    .button:hover {
      background-color: black;
    }


    .button1 {
      background-color: white;
      color: black;
      border: 3px solid #4c9a87;
    }

    .button1:hover {
      background-color: #4c9a87;
      color: white;
    }

    .button2 {
      background-color: #000;
      color: black;
      border: 3px solid #000;
      padding: 14px 32px;
    }

    .button2:hover {
      background-color: #0072b1;
      color: white;
      border: 3px solid #0072b1;
    }

    .button3 {
      background-color: #0f1512;
      color: #fff;
      border: 3px solid #fff;
    }

    .button3:hover {
      background-color: #fff;
      color: #000;
    }

    .button4 {
      background-color: #fff;
      color: black;
      border: 3px solid #fff;
    }

    .button4:hover {
      background-color: #4c9a87;
      color: white;
      border: 3px solid #4c9a87;
    }
/* end button styles */

	  .intro {
		  width: 100%;
		  margin: 8em auto 4em;
	  }

	  .intro-description {
		  width: 45%;
		  margin: auto;
      padding-bottom: 2em;
		  vertical-align: middle;
		  z-index: 1;
      animation: fadeInLeft 1s ease-in-out;
	  }

    .intro-description p {
      font-size: 20px;
      line-height: 1.35em;
      font-weight: 400;
    }

	  .intro-image {
		  width: 45%;
		  margin: auto 0;
		  background-image: url("../images/waves-bg.jpg");
		  background-repeat: no-repeat;
		  background-size: cover;
		  background-position: center;
      background-attachment: fixed;
      animation: fadeIn 1s ease-in-out;
	  }

    .services {
      width: 100%;
      margin: 7em 0 2em 0;
      animation: fadeIn 1s ease-in-out;
    }

    .services h2 {
      margin: 0 0 1em 0;
      text-align: center;
      font-size: 32px;
    }

    .service-item {
      width: 20%;
      min-width: 240px;
      margin: 1em 1em 3em 1em;
      text-align: center;
    }

    .service-image {
      width: 90% !important;
    }


    .service-item p {
      font-size: 15px;
    }

    .project-info {
      width: 100%;
      margin: 4em 0 1em 0;
      animation: fadeIn 1s ease-in-out;
    }

    .project-info h2 {
      margin: 0 0 1em 0;
      text-align: left;
      font-size: 32px;
    }

    .project-info h4 {
      font-size: 16px;
      font-weight:400;
      padding-right: 2em;
    }

    .project-section {
      width: 25%;
      min-width: 240px;
      margin: 0 0 1em 0;
      text-align: left;
    }

    .project-section h2 {
      padding-right: 2em;
      font-size: 34px;
      padding-top: .5em;
    }

    .project-section p {
      border-left: 1px solid #77807e;
      padding-left: 1em;
      padding-right: 2em;
    }

    .project-icon {
      width: 30px;
      margin-right:.5em;
    }

    .bio {
		  width: 100%;
		  margin: 2em auto;
      background-image: url("../images/black-bg.jpg");
      background-repeat: no-repeat;
		  background-size: cover;
		  background-position: center;
      background-position: top;
	  }

	  .bio-description {
		  width: 45%;
		  margin: auto;
      padding-top: 12em;
      padding-right: 1em;
      padding-bottom: 8em;
		  vertical-align: middle;
      animation: fadeInLeft 1s ease-in-out;
      color: #fff;
	  }

    .bio-description p {
		  font-size: 16px;
      color: #fff;
      line-height: 1.35em;
	  }
    .bio-description a {
		  font-weight: 600;
      color: #fff;
	  }

    .bio-image {
		  width: 45%;
		  margin: auto 0;
		  background-image: url("../images/bio-bg.jpg");
		  background-repeat: no-repeat;
		  background-size: cover;
		  background-position: center;
      background-attachment: fixed;
      animation: fadeIn 1s ease-in-out;
	  }

    .portfolio {
      margin-bottom:7em;
    }

    .portfolio h2 {
      width: 90%;
      margin: 4em auto .5em;
      padding-bottom: 1em;
      text-align: center;
      font-size: 32px;
    }

	  .grid-item {
		  height: 260px;
		  width: 20%;
		  min-width:260px;
		  margin: 1em 1em 1em 1em;
		  border-radius: 1em;
		  position: relative;
		  overflow: hidden;
      top: 0;
		  background-position: center;
      background-size: cover;
		  -webkit-transition: all .5s;
		  -moz-transition: all .5s;
		  -o-transition: all .5s;
		  transition: all .5s;
	  }

    .hide-caption {
      display: none;
    }

    .grid-item:hover .hide-caption {
      display: block;
      animation: fadeIn .35s ease-in-out;
    }
		  .grid-item:hover {
			  transform: scale(1.04);
		  }

	  .grid-item-wide {
		  width: 40%;
      display: inline-block;
	  }

        .project-case-tule {
          background-image: url("../images/case-studies/tule/tule-thumb.jpg");
        }

        .project-case-tule .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(26, 115, 134, .9) 100%);
        }

        .project-case-ez-texting {
          background-image: url("../images/case-studies/ez-texting/ez-texting-thumb.jpg");
        }

        .project-case-ez-texting .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(228, 69, 0, .9) 100%);
        }

        .project-case-friedmans {
          background-image: url("../images/case-studies/friedmans/friedmans-thumb.jpg");
        }

        .project-case-friedmans .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(42, 42, 42, .7) 100%);
        }

        .project-case-blvd-home {
          background-image: url("../images/case-studies/blvd-home/blvd-home-thumb.jpg");
        }

        .project-case-blvd-home .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(149, 140, 123, .9) 100%);
        }

        .project-case-howards {
          background-image: url("../images/case-studies/howards/howards-thumb.jpg");
        }

        .project-case-howards .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(208, 137, 0, .9) 100%);
        }

        .project-case-sss {
          background-image: url("../images/case-studies/sss/sss-thumb.jpg");
        }

        .project-case-sss .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(206, 164, 107, .7) 100%);
        }

        .project-case-sesame-street {
          background-image: url("../images/case-studies/sesame-street/sesame-street-thumb.jpg");
        }

        .project-case-sesame-street .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(120, 153, 5, .7) 100%);
        }

        .project-case-her-project {
          background-image: url("../images/case-studies/her-project/her-project-thumb.jpg");
        }

        .project-case-her-project .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(223, 83, 136, .7) 100%);
        }

        .project-case-mainline {
          background-image: url("../images/case-studies/mainline/mainline-thumb.jpg");
        }

        .project-case-mainline .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(132, 102, 73, .7) 100%);
        }

        .project-case-nbc {
          background-image: url("../images/case-studies/nbc/nbc-thumb.jpg");
        }

        .project-case-nbc .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(73, 80, 62, .7) 100%);
        }

        .project-case-e4 {
          background-image: url("../images/case-studies/e4/e4-thumb.jpg");
        }

        .project-case-e4 .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(60, 100, 32, .7) 100%);
        }

        .project-case-npj {
          background-image: url("../images/case-studies/npj/npj-thumb.jpg");
        }

        .project-case-npj .project-caption {
          background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(147, 137, 129, .7) 100%);
        }


    .project-caption {
		    position: absolute;
		  	top: 0px;
		  	left: 0px;
		    width: 100%;
		  	padding: 0px 20px 100px 20px;
		  	color: #fff;
		    background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, .65) 100%);
	  }

    .project-caption h3 {
		  	margin-bottom:.5em;
	  }

    .project-caption p {
		  	color: #fff;
        font-weight: 400;
        font-size:14px;
        margin-bottom: .5em;
	  }

    .project-arrow {
      font-size: 16px;
    }

    /* Project page css styles */
    .project-case-section {
      width: 100%;
      margin: auto;
    }

    .project-banner {
      width: 100%;
      min-height: 460px;
      margin: -2em auto 4em;
      background-repeat: no-repeat;
		  background-size: cover;
		  background-position: center;
    }

      .project-banner-tule {
        background-image: url("../images/case-studies/tule/tule-banner.jpg");
      }

      .project-banner-ez-texting {
        background-image: url("../images/case-studies/ez-texting/ez-texting-banner.jpg");
      }

      .project-banner-friedmans {
        background-image: url("../images/case-studies/friedmans/friedmans-banner.jpg");
      }

      .project-banner-blvd-home {
        background-image: url("../images/case-studies/blvd-home/blvd-home-banner.jpg");
      }

      .project-banner-howards {
        background-image: url("../images/case-studies/howards/howards-banner.jpg");
      }

      .project-banner-mainline {
        background-image: url("../images/case-studies/mainline/mainline-banner.jpg");
      }

      .project-banner-e4 {
        background-image: url("../images/case-studies/e4/e4-banner.jpg");
      }

      .project-banner-sss {
        background-image: url("../images/case-studies/sss/sss-banner.jpg");
      }

      .project-banner-sesame-street {
        background-image: url("../images/case-studies/sesame-street/sesame-street-banner.jpg");
      }

      .project-banner-nbc {
        background-image: url("../images/case-studies/nbc/nbc-banner.jpg");
      }

      .project-banner-her-project {
        background-image: url("../images/case-studies/her-project/her-project-banner.jpg");
      }

      .project-banner-npj {
        background-image: url("../images/case-studies/npj/npj-banner.jpg");
      }

    .project-description {
      max-width: 30%;
      padding: 0 1.5em 0 0;
    }

    .project-description h2 {
      padding-bottom:10px;
      border-bottom: 2px solid #ebebeb;
    }

    .project-description p, ul{
      font-weight: 500;
      line-height: 26px;
      color: #77807e;
      margin-bottom: 2em;
    }

    .project-image {
      max-width: 70%;
      margin: auto;
    }

    .image-example{
      max-width: 800px;
      border-radius: 20px;
    }

    .image-example-anim {
      display:block;
      max-width: 520px;
      margin: 0 auto 2em;
      border: 4px solid #ebebeb;
    }

    .image-example-sesame-street, .image-example-her-project {
      box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
      border: none;
    }

    .image-example-her-project-social {
      max-width: 720px;
      background-color: #fff;
      box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
      border: none;
    }

    .image-example-npj {
      max-width: 480px;
      box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
      border: none;
    }

    /* End Project page css styles */

    .gallery {
      /* background-color: #fafafa; */
    }

    .gamma-container {
      margin:auto;
      margin-bottom: 6em;
      padding-left:2em;
      padding-right:2em;
      max-width: 1120px;
      align: center;
    }

    .gamma-container h2 {
      margin:0 auto 2em;
      text-align: center;
      font-size:32px;
    }

    .gamma-gallery li img {
      border-radius: 1em;
    }

    .gamma-description {
      border-radius: 20px;
    }

    .gamma-single-view {
      background-color: rgba(0,0,0,.5);
    }

    .brands {
		  width: 100%;
		  margin: 4em auto;
      padding-top:8em;
      padding-bottom: 7em;
      background-image: url("../images/black-bg.jpg");
      background-repeat: no-repeat;
		  background-size: cover;
		  background-position: center;
      background-position: top;
	  }

    .brands h2 {
      width: 90%;
      margin: auto;
      padding-bottom: 1em;
      text-align: center;
      font-size: 32px;
      color: #fff;
    }

    .brand-list {
      margin: auto;
    }

    .brand-logo {
      margin: auto;
      padding: 1.5em 2em;
    }

    .contact {

      background-image: url("../images/ocean-bg.jpg");
      background-repeat: no-repeat;
		  background-size: cover;
      background-position: top;
    }

    .contact-description {
      max-width: 400px;
      margin: auto;
      padding: 2em 1.5em 1.5em 1.5em;
      text-align: center;
    }

    .contact h2 {
      font-size: 32px;
      padding-bottom: .5em;
    }

    .contact a {
      color: black;
      font-weight: 600;
    }

    .contact-label {
      padding-bottom:2em;
    }

    .contact-field-box {
      min-height: 40px;
      border: 0 solid #fff;
      border-radius: 20px;
      margin-top: 5px;
      margin-bottom: 20px;
      background-color: #e4edec;
    }

    .linkedin-link {
      padding-bottom: 10px;
      border-bottom: none;
    }

    .linkedin-link:hover{
      border-bottom: 2px solid #000;
    }

  /* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */
  /* border: 1px solid #ccc; */ /* Gray border */
  border-radius: 20px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #4c9a87;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #000;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

 /* Media Queries */

      @media (max-width: 1240px) {
       .service-item {
        width: 40%;
        }

      }
      @media (max-width: 1160px) {

        .image-example{
          max-width: 500px;
        }

        .project-section {
         width: 50%;
         }

	    }
      @media (max-width: 880px) {

        .bio-description {
          width: 100%;
          padding-bottom: 2em;
         }

        .bio-image {
          width: 80%;
          margin-bottom:2em;
         }

        .contact {
          background-size: contain;
          background-position: bottom;
        }

        .project-description {
          max-width: 100%;
        }

        .project-image {
          max-width: 100%;
        }

        .image-example{
          max-width: 600px;
        }

	    }
      @media (max-width: 720px) {
			   .intro-description {
		 		 width: 100%;
	  		 }
	 		   .intro-image {
			     width: 100%;
		  	 }
         .bio-image {
			     width: 100%;
		  	 }
         .hideOnMobile {
           display: none;
         }
         .menu-button{
           display: block;
         }
         .image-example{
           max-width: 400px;
         }

         .project-section {
          width: 90%;
          }

	    }

		  @media (max-width: 380px) {
         h2 {
           font-size: 32px;
         }
         .intro-description p {
           font-size: 18px;
         }
         .bio-description p {
           font-size: 18px;
         }
			   .flex-container {
				 flex-direction: column;
			   }
         .intro {
           margin: 6em auto 4em;
         }
			   .grid-item {
				 width: 90%;
			   }
			   .grid-item-wide {
				 width: 90%;
			   }
         .sidebar {
           width: 70%;
         }
         .logo {
           width: 70px;
           margin: 40px 0 0 -20px;
         }
         .image-example{
           max-width: 300px;
         }

         .image-example-anim {
          max-width: 300px;
         }
	    }
/* end media queries */

 /** animations **/
       @keyframes fadeIn {
          from {
          opacity: 0;
          }
          to {
          opacity: 1;
          }
       }

       @keyframes fadeInRight {
          from {
          opacity: 0;
          transform: translateX(300px);
          }
          to {
          opacity: 1;
          }
       }

       @keyframes fadeInLeft {
          from {
          opacity: 0;
          transform: translateX(-300px);
          }
          to {
          opacity: 1;
          }
       }
