html {
  position: relative;
  min-height: 100%;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  font-family: "Open Sans", "Poppins", sans-serif;
  background-color: #fafafa;
  color: #555;
  min-height: 100%;
}

@font-face {
  font-family: "Maison Neue Mono";
  src: url("/fonts/Maison Neue Mono.otf") format("otf");
}

h1 {
  font-size: 3em;
  font-weight: 700;
  margin: 0;
}

h2 {
  font-size: 2em;
  margin: 0;
}

h3 {
  margin: 0;
}

h6 {
  color: #777;
  letter-spacing: 2px;
  margin: 0;
  padding: 0;
}

li {
  margin: 1em 0;
}

video {
  display: block;
  margin: 0 auto;
  padding-top: 2em;
  padding-bottom: 2em;
}

iframe {
  padding-bottom: 2em;
}

.bold {
  font-weight: bold;
}

.large-text {
  margin: 13em 10em;
  color: #555;
  /* margin: 3em 10em; */
}

.quote {
  color: #999;
  text-align: right;
}

.caption {
  font-size: 0.7em;
  color: #737373;
  text-align: center;
  margin-top: -2.25em;
}

.list-header {
  font-size: 1em;
  font-weight: 700;
}

.highlight {
  text-decoration: underline;
  color: #ecc04b;
}

.highlight-green {
  text-decoration: underline;
  color: #37ab2f;
}

.AQWP-highlight {
  text-decoration: underline;
  color: #23409a;
}

.citymapper-text {
  color: #37ab2f;
  font-style: italic;
}

.page {
  /* margin-left: 6em; */
  /* margin-right: 6em; */
  /* this */
  /* margin: 3em 10em;  */
  width: 60%;
  margin: auto;
  display: block;
  /* align: center; */
  /* margin: 3em auto;
  padding: 2em; */
}

.index-spacing {
  margin-top: 3em;
}

.project-page {
  /* margin-left: 25em;
  margin-right: 25em; */
  margin-top: 6em;
  margin-bottom: 3em;
}

.project-content {
  width: 55%;
  display: block;
  margin: 0 auto;
}

.get-rid-of-the-space {
  margin-top: -2em;
}

.page img {
  max-width: 100%;
}

.spacer {
  height: 1.5em;
}

.project-container {
  display: flex;
  flex-direction: row;
  column-gap: 1em;
}

.project-container a {
  color: #000;
  text-decoration: none;
}

.project-card {
  width: 100%;
  /* padding-right: 1em; */
  margin-right: 0;
  padding-bottom: 1em;
}

.project-card-single {
  max-width: 50%;
}

.project-card img {
  max-width: 100%;
}

.home-intro {
  width: 60%;
}

.section-header {
  font-size: 0.75em;
  font-weight: bold;
}

.project-title {
  font-size: 1em;
  margin: 0.5em 0.5em;
  padding-top: 0;
  display: inline-block;
  font-weight: 500;
}

.project-category {
  display: inline-block;
  float: right;
  color: #999;
  font-size: 0.75em;
  font-weight: normal;
  margin: 0.75em 0.5em;
  padding-top: 0;
}

.banner-img {
  width: 100%;
}

.banner-img img {
  max-width: 100%;
  border-radius: 0.5em;
}

.intro-container {
  display: flex;
  flex-direction: row;
}

.intro-image {
  width: 60%;
}

.intro-image img {
  max-width: 100%;
}

.project-intro {
  width: 60%;
  margin: 3em 3em;
  font-weight: 600;
}

.project-intro p {
  font-size: 2em;
}

.three-grid-container {
  display: flex;
  flex-direction: row;
}

.three-grid-content {
  width: 33.3%;
  margin: 0.5em;
}

.scope {
  font-size: 1em;
}

.description {
  font-size: 0.75em;
}

.project-video {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.red {
  background-color: red;
}

.blue {
  background-color: blue;
}

.green {
  background-color: green;
}

.image-box {
  position: relative;
  margin: auto;
  overflow: hidden;
  /* width: 540px; */
  max-width: 100%;
  border-radius: 1em;
}

.image-box img {
  max-width: 100%;
  transition: all 0.3s;
  display: block;
  /* width: 100%; */
  height: auto;
  transform: scale(1);
}

.image-box:hover img {
  transform: scale(1.1);
  -webkit-transition: transform 0.5s ease-in-out;
  -moz-transition: transform 0.5s ease-in-out;
  -ms-transition: transform 0.5s ease-in-out;
  -o-transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
}

.clay-gif {
  /* filter: drop-shadow(10px 10px 4px #eeeeee); */
  border-radius: 0px 35px 35px 35px;
}

.vid-type-box {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.text-flex {
  max-width: 100%;
}

.CM-mockups {
  max-width: 50%;
  text-align: right;
  /* flex-direction: column; */
}

.CM-mockups-flex {
  display: flex;
  flex-direction: column;
}

.flex-stack {
  display: flex;
  flex-direction: column;
  padding: 1em;
}

.about-intro {
  width: 80%;
  margin: 0 auto;
  height: 100%;
}

.about-page {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.about-text-flex {
  width: 50%;
  padding-right: 1em;
  padding-top: 1em;
}

.my-image {
  max-width: 35%;
  padding-left: 1em;
  padding-top: 1em;
}

.gallery-page {
  width: 70%;
  display: block;
  margin: 0 auto;
  display: flex;
}

.gallery-column {
  width: 50%;
  margin: 0.25em;
  display: flex;
  flex-direction: column;
}

.gallery-column img {
  max-width: 100%;
  padding: 0em;
  display: block;
}

.img-container {
  position: relative;
  text-align: center;
  color: white;
  /* color of caption */
  margin-bottom: 0.5em;
}

.img-container:hover .img-caption {
  opacity: 1;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -ms-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}

.zoom-box {
  overflow: hidden;
}

.img-container:hover img {
  transform: scale(1.2);
  transition: transform 1s;
  /* -webkit-transition: transform 0.5s ease-in-out;
  -moz-transition: transform 0.5s ease-in-out;
  -ms-transition: transform 0.5s ease-in-out;
  -o-transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out; */
}

.img-caption {
  opacity: 0;
  position: absolute;
  bottom: 0em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  width: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.img-caption {
  font-size: 0.75em;
  font-weight: bold;
}

.wp-definition {
  margin: 3em;
}

.def-single {
  border-left: 1px solid black;
  padding-left: 1.5em;
  padding-top: 1px;
  padding-bottom: 1px;
  margin-top: 1em;
  margin-bottom: 1em;
}

/* image modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  /* Hidden by default */
  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 */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

/*  */
/*  */
/* NAV BAR AND FOOTER */
/* Add a black background color to the top navigation */
.topnav {
  background-color: #fff;
  overflow: hidden;
  padding-left: 10em;
  padding-right: 10em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

/* Style the links inside the navigation bar */
.topnav img {
  float: right;
  display: block;
  color: #aaa;
  text-align: center;
  padding: 0px 16px;
  text-decoration: none;
  font-size: 0.75em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.nav-bar-links {
  float: right;
  display: block;
  color: #aaa;
  text-align: center;
  padding: 20px 16px;
  text-decoration: none;
  font-size: 0.75em;
  background-color: white;
}

.topnav .logo {
  float: left;
  display: block;
  padding-left: 0;
  padding-right: 0;
}

/* Change the color of links on hover */
.topnav a:hover {
  color: #444;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #4caf50;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

.nav-elements {
  float: right;
}

.logo img {
  height: 4em;
}

.flex-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
}

.gd-section {
  display: flex;
  flex-wrap: nowrap; 
}

.gd-horiz {
  flex-direction: row;
}

.gd-vert {
  flex-direction: column;
}

.gd-text p {
  margin-right: 2em;
}

.gd-text, .gd-horiz {
  width: 100%;
  padding-right: 2em;
}

.gd-img .gd-horiz {
  width: 90%;
  margin-right: 2em;
}

.gd-text .gd-vert {
  width: 70%;
}

.gd-img .gd-vert {
  max-width: 100%;
}

.footer {
  background-color: #eee;
  height: 4em;
  width: 100%;
  margin: 0 auto;
  margin-top: auto;
  /* text-align: center; */
  /* font-family: "Athiti", san-serif; */
  font-size: 0.75em;
  /* padding: 1em; */
  padding-top: 3em;
  padding-bottom: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  /* position: fixed;
  bottom: 0;
  left: 0; */
}

.footer div {
  margin: 0.15em;
}

.footer-item {
  display: inline-flex;
  margin: 0.15em;
}

.social-icon {
  margin-bottom: 15px;
  box-sizing: border-box;
  -moz-border-radius: 138px;
  -webkit-border-radius: 138px;
  border-radius: 138px;
  border: 5px solid;
  text-align: center;
  width: 40px;
  height: 40px;
  display: inline-block;
  line-height: 1px;
  padding-top: 11px;
  transition: all 0.5s;
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.1);
  text-decoration: none;
}

.linkedin {
  font-size: 1.75em;
  padding-top: 4px;
  padding-left: 1px;
  background-color: #0976b4;
  color: #ffffff;
  border-color: #0976b4;
  text-decoration: none;
}

.email {
  font-size: 1.75em;
  padding-top: 4px;
  padding-left: 1px;
  background-color: #797979;
  color: #ffffff;
  border-color: #797979;
  text-decoration: none;
}

/* BACK TO TOP BUTTON */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 0.75em;
  border: none;
  outline: none;
  background-color: #ddd;
  color: black;
  cursor: pointer;
  padding: 12px;
  border-radius: 4px;
  display: block;
  font-family: "Open Sans", Arial, sans-serif;
}

#myBtn:hover {
  background-color: #eee;
}

.top-button {
  display: block;
}

* {
  box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
  max-width: 40%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
