body {
  --main_bg_color: #000000;
  --red: #db2529;
  --darkGray: #2b2b2b;
  --mediumGray: #4e4e4e;

  --baseline: 12px;

  background-color: var(--main_bg_color);
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;

  overflow-x: hidden;

}

.content {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.flex {
  display: flex;
}

a {
  text-decoration: none;
  color: #fff;
}

ul {
  list-style-type: none;
}

address {
  margin: 0;
  padding: 0;
  font-style: normal;
}

p, #services ul {
  font-family: "dashiell-text", serif;
font-weight: 400;
font-style: normal;
color: #ffffff;

}

#main_nav, h2, h3, h4 {
  font-family: "acumin-pro-condensed", sans-serif;
  font-weight: 600;
  font-style: normal;
}

h4 {
  color: var(--red);
}

.text-align-center {
  text-align: center;
}

#main_nav {
  width: 100%;
  background-color: var(--darkGray);
  align-items: center;
  justify-content: flex-end;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#main_nav ul {
  text-align: right;
}

header, footer, #pitch, #services, #work, #clients, #contact {
  flex-direction: column;
}

#header_logo {
  align-self: center;
}

#header_text h2 {
  color: #ffffff;
}

#hero {
	position: relative;
	width: 100%;
  width: 100%;
  background-image: url(../img/hero_image.jpg);
  background-size: cover;
  background-position: center;
  background-color: #ffffff;
  align-items: center;
  color: #ffffff;
}

#pitch {
  flex-direction: column;
}

div.section_divider {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

.divider_rule {
  border-bottom: 1px #ffffff solid;
}

.section_divider img {
  width: 20%;
  max-width: 70px;
}

#services p {
  text-align: center;
}

.work-grid {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.work-grid a, .work-grid-thumb {
    display: inline-block;
}

.work-grid-thumb a {
  cursor: zoom-in;
  transition: 0.3s;
}

.work-grid-thumb a:hover {opacity: 0.7;}


.work-grid img {
  min-width: 100%;
  max-width: 100%;
}

dialog {
  width: 100%;
  position: relative;
}

.modal {
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* The Close Button */
.modal-close {
  position: absolute;
  top: 10%;
  right: 10%;
  color: #000;
  font-size: 25px;
  padding: 5px 10px;
  font-weight: bold;
  opacity: 0.8;
  transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

dialog video, dialog img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 960px;
  width: 90%;
}

.modalImage {
  display: none;
}

#logo-grid {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

p.contact_name span {
  font-family: "acumin-pro-condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
}

#contact address a {
  color: #ffffff;
  text-decoration: underline;
}

footer {
  background-color: var(--mediumGray);
}

#footer_adresses p {
  font-family: "acumin-pro-condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
}

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

  #main_nav {
    height: 2.5em;
  }

  #main_nav ul {
    padding-right: 2em;
    font-size: 0.83em;
    line-height: 0.5em;
  }

  #main_nav li {
    margin-top: -0.05em;
  }

  header {
    padding: 2em 0;
  }

  #header_logo {
    padding-bottom: 1em;
    max-width: 80%;
    margin: 0 auto;
  }

  #header_text {
    display: inline-block;
    width: 94%;
    margin: 0 auto;
    font-size: 0.78em;
    letter-spacing: 0.05em;
  }

  #hero {
    height: 16em;
    max-height: 400px;
  }

  #hero_text {
    display: inline-block;
    width: 90%;
    margin: 0 auto;
    font-size: 1.08em; 
  }

  #pitch {
    margin: 1.4em 0 0;
  }

  #pitch section {
    width: 90%;
    margin: 1em auto;
    flex-direction: column;
  }

  h4 {
    font-size: 1.88em;
    margin: 0em auto 0.5em;
    line-height: 1em;
    color: var(--red);
    width: 70%;
    text-align: center;
  }

  #pitch p, #services p {
    font-size: 1.08em;
    line-height: 1.4em;
    margin: 0;
    text-align: center;   
  }

  div.section_divider {
    width: 90%;
    margin: 1em auto 2em;
  }

  .divider_rule {
    height: 0.7em;
    width: 33%;
  }

  #services, #work {
    margin: 0 auto 2em;
    width: 90%;
  }

  #services ul {
    margin: 0;
    padding: 0;
    column-count: 2;
    column-width: 20%;
    font-size: 1.13em;
  }

  #services li {
    padding: 0.5em 0;
    text-align: center;
  }

  .work-grid-thumb {
    padding: 10px;
    flex:0 0 calc((100% - (20px * 6)) / 1);
    margin: 10px;
  }

  #logo-grid {
    width: 95%;
    margin: 0 auto 2em;
  } 

  #logo-grid img {
    width: 8em;
    height: 8em;
    margin: 0 auto;
  }

  #contact {
    margin: 2.5em auto 0em;
  }

  #contact_text {
    width: 90%;
    margin: 0em auto 1.5em;
    font-size: 1.08em;
    line-height: 1.3em;
  }

  p.contact_name {
    font-weight: bold;
    font-size: 1.08em;
    line-height: 1.3em;
    letter-spacing: -0.03em;
    padding-bottom: 0.5em;
  }

  p.contact_name span {
    font-size: 1.18em; 
    line-height: 1.4em;
    letter-spacing: 0.02em;
  }

  #contact address {
    width: 80%;
    margin: 0 auto;
  }

  #contact address a {
    font-size: 1.18em;
    line-height: 1.6em;
    color: #ffffff;
  }

  #contact address p {
    margin: 0;
  }

  #contact address a span {
    text-decoration: underline;
  }

  footer {
    height: 18em;
    padding: 1em 0;
    margin-top: 4em;
  }

  #footer_adresses p {
    margin: 0 auto 0.4em;
    font-size: 1.28em;
  }

  #footer_adresses {
    flex-direction: column;
    width: 90%;
    margin: 1em auto;
  }

  footer address {
    width: 90%;
    margin: 0 auto 1.5em;
    font-size: 0.98em;
    line-height: 1.4em;
    letter-spacing: 0.03em;
  }

  #copyright {
    width: 90%;
    font-size: 0.78em;
    letter-spacing: 0.05em;
    color: #bbbaba;
    margin: 0 auto;
  }

}


@media only screen and (min-width: 501px) {

  #main_nav {
    height: 3em;
  }

  #main_nav ul {
    padding-right: 2.5em;
    font-size: 0.83em;
    margin: 0;
  }

#main_nav li {
  margin-top: 0em;
  padding-bottom: 0.5em;
}

  #header_logo {
    padding: 2em 0 1.5em;
    max-width: 70%;
  }

  #header_text {
    display: inline-block;
    width: 80%;
    margin: 0 auto 2.5em;
    font-size: 1.18em;
  }

  #hero {
    height: 18em;
    max-height: 500px;
  }

  #hero_text {
    display: inline-block;
    width: 86%;
    margin: 0 auto;
    font-size: 1.68em; 
    line-height: 1.3em;
  }

  #pitch {
    margin: 2em 0;
  }

  #pitch section {
    width: 90%;
    margin: 1em auto 1.6em;
    text-align: center;
    flex-direction: column;
  }

  h4 {
    width: 70%;
    font-size: 3.08em;
    margin: 0em auto 0.5em;
    line-height: 1em;
  }

  #pitch p, #services p {
    font-size: 1.18em;
    line-height: 1.5em;
    margin: 0 auto;   
  }

  div.section_divider {
    width: 90%;
    margin: 1em auto 3em;
  }

  .divider_rule {
    height: 1em;
    width: 38%;
  }

  #services, #work {
    margin: 0 auto 2em;
    width: 90%;
  }

  #services ul {
    margin: 0;
    padding: 0;
    column-count: 2;
    column-width: 20%;
    font-size: 1.38em;
  }

  #services li {
    padding: 0.5em 0;
    text-align: center;
  }

  .work-grid-thumb {
    padding: 10px;
    flex:0 0 calc((100% - (20px * 6)) / 2);
    margin: 10px;
  }

  #logo-grid {
    width: 95%;
    margin: 0 auto 1.5em;
  }

  #logo-grid img {
    width: 8em;
    height: 8em;
    margin: 0 auto;
  }

  #contact {
    margin: 0 auto;
  }

  #contact_text {
    width: 90%;
    margin: 0em auto 1.5em;
    font-size: 1.18em;
    line-height: 1.4em;
  }

  p.contact_name {
    font-weight: bold;
    font-size: 1.18em;
    line-height: 1.4em;
    letter-spacing: -0.03em;
    padding-bottom: 0.5em;
  }

  p.contact_name span { 
    font-size: 1.38em; 
    line-height: 1.2em;
    letter-spacing: 0.02em;
  }

  #contact address {
    width: 80%;
    margin: 0 auto;
  }

  #contact address a {
    font-size: 1.28em;
    line-height: 1.7em;
    color: #ffffff;
  }

  #contact address p {
    margin: 0;
  }

  footer {
    height: 22em;
    padding: 1em 0;
    margin-top: 4em;
  }

  #footer_adresses p {
    margin: 0 auto 0.4em;
    font-size: 1.28em;
  }

  #footer_adresses {
    flex-direction: column;
    width: 90%;
    margin: 1em auto;
  }

  footer address {
    width: 90%;
    margin: 0 auto 1.6em;
    font-size: 1.18em;
    line-height: 1.5em;
    letter-spacing: 0.03em;
  }

  #copyright {
    width: 90%;
    font-size: 0.78em;
    letter-spacing: 0.05em;
    color: #bbbaba;
    margin: 0 auto;
  }

}


@media only screen and (min-width: 768px) {

  #main_nav {
    height: 3em;
  }

  #main_nav ul {
    padding-right: 2em;
    font-size: 1.08em;
  }

  #main_nav li {
    padding-bottom: 0.2em;
  }

  #header_logo {
    margin-top: 1.5em;
    padding-bottom: 1.7em;
    max-width: 560px;
  }

  #header_text {
    display: inline-block;
    width: 80%;
    margin: 0 auto 2.6em;
    font-size: 1.28em;
  }

  #hero {
    height: 30em;
    max-height: 600px;
  }

  #hero_text {
    display: inline-block;
    width: 85%;
    margin: 0 auto;
    font-size: 1.88em; 
    line-height: 1.4em;
  }

  #pitch {
    margin: 3em auto;
    width: 100%;
  }

  #pitch section {
    margin-top: 2em;
    margin-bottom: 3em;
    flex-direction: row;
    align-items: center;
  }

  #pitch section h4 {
    text-align: left;
    width: 38%;
  }

  #pitch section p {
    text-align: left;
    width: 62%;
    justify-content: space-between;
  }

  #pitch h4 {
    font-size: 2.48em;
    margin: 0 0 0.5em;
    line-height: 1.1em;
  }

  #pitch p, #services p {
    font-size: 1.18em;
    margin: 0 0 0 2em;   
  }

  .divider_rule {
    width: 40%;
  }

  #services, #work {
    margin: 0 auto 5em;
  }

  #services h4, #work h4 {
    font-size: 2.48em;
    margin: 0 auto 1.2em;
  }

  #services ul {
    font-size: 1.48em;
  }

  #services li {
    padding: 0.5em 0;
  }

  .work-grid-thumb {
    padding: 0px;
    flex:0 0 calc((100% - (20px * 6)) / 3);
    margin: 0px;
  }

  #logo-grid {
    width: 95%;
    margin: 0 auto 3em;
  }

  #logo-grid img {
    width: 11em;
    height: 11em;
    margin: 0 auto;
  }

#contact {
    margin: 2.5em auto 0em;
  }

  #contact_text {
    width: 75%;
    margin: 0em auto 1.5em;
    font-size: 1.18em;
    line-height: 1.5em;
  }

  p.contact_name {
    font-weight: bold;
    font-size: 1.28em;
    line-height: 1.2em;
    letter-spacing: -0.03em;
    padding-bottom: 0.5em;
  }

  p.contact_name span { 
    font-size: 1.38em; 
    line-height: 1.4em;
  }

  #contact address {
    width: 80%;
    margin: 0 auto;
  }

  #contact address a {
    font-size: 1.38em;
    line-height: 1.8em;
    color: #ffffff;
  }

  #contact address p {
    margin: 0;
  }

  footer {
    height: 15em;
    padding: 1em 0;
    margin-top: 4em;   
  }

  footer address {
    width: 48%;
  }

  #footer_adresses p {
    margin: 1.5em auto 0.3em;
    font-size: 1.38em;
  }

  #footer_adresses {
    width: 90%;
    margin: 0em auto 2.1em;
    flex-direction: row;
    justify-content: space-between;
  }

  footer address {
    width: 90%;
    margin: 0 auto 1.5em;
    font-size: 1.18em;
    line-height: 1.5em;
    letter-spacing: 0.03em;
  }

  #copyright {
    width: 90%;
    font-size: 0.78em;
    letter-spacing: 0.05em;
    color: #bbbaba;
    margin: 0 auto;
  }

}

@media only screen and (min-width: 1000px) {

  #main_nav {
    height: 3em;
  }

  #main_nav ul {
    padding-right: 1.8em;
    font-size: 1.28em;
  }

  #main_nav li {
    padding-bottom: 0.3em;
  }

  #header_logo {
    padding-bottom: 1.8em;
  }

  #header_text {
    display: inline-block;
    width: 55%;
    max-width: 700px;
    margin: 0 auto 2.5em;
    font-size: 1.18em;
  }

  #hero {
    height: 35em;
    max-height: 800px;
  }

  #hero_text {
    display: inline-block;
    width: 70%;
    max-width: 840px;
    margin: 0 auto;
    font-size: 2.28em; 
  }

  #pitch {
    margin: 1em 0 6em;
  }

  #pitch h4 {
    max-width: 250px;
  }

  #pitch section {
    width: 80%;
    margin: 3em auto 2em;
  }

  h4 {
    font-size: 2.68em;
    line-height: 0.9em;
    margin: 1em auto;
  }

  #pitch h4 {
    margin: 0 0 0.5em;
    line-height: 1em;
  }

  #pitch p, #services p {
    font-size: 1.28em;
    margin: 0;   
  }

  .divider_rule {
    width: 40%;
  }

  #services ul {
    margin: 0 auto 1em;
    font-size: 1.48em;
    column-count: 3;
    column-width: 32%;
    font-size: 1.48em;
  }

  #services li {
    padding: 0.5em 0;
  }

  .work-grid-thumb {
    padding: 10px;
    flex:0 0 calc((100% - (20px * 6)) / 3);
    margin: 0px;
  }

  #logo-grid {
    width: 85%;
    max-width: 870px;
    margin: 1em auto 3em;
  }

  #logo-grid img {
    width: 11em;
    height: 11em;
    margin: 0 auto;
  }

  #contact {
    margin-bottom: 3em;
  }

  #contact_text {
    width: 66%;
    margin: 0em auto 1em;
    font-size: 1.28em;
    line-height: 1.3em;
  }

  p.contact_name {
    font-weight: bold;
    font-size: 1.28em;
    line-height: 1.3em;
    letter-spacing: -0.03em;
    padding-bottom: 0.5em;
  }

  p.contact_name span {
    font-size: 1.38em; 
    line-height: 1.2em;
    letter-spacing: 0.01em;
  }

  #contact address {
    width: 80%;
    margin: 0 auto;
  }

  #contact address a {
    font-size: 1.38em;
    line-height: 1.6em;
    color: #ffffff;
  }

  footer {
    height: 15em;
    padding: 1em 0;
    margin-top: 5em;
  }

  #footer_adresses {
    flex-direction: row;
    width: 85%;
    max-width: 1000px;
    margin: 0 auto 1.5em;
  }

  footer address {
    display: inline-block;
    width: 50%;
  }

  footer p {
    margin: 0;
    font-size: 1.08em;
  }

  #copyright {
    font-size: 0.78em;
    color: #bbbaba;
  }

}