@font-face {
  font-family: "GillSansStd";
  src: url("../fonts/GillSansStd.eot?#iefix") format("embedded-opentype"), url("../fonts/GillSansStd.otf") format("opentype"), url("../fonts/GillSansStd.woff") format("woff"), url("../fonts/GillSansStd.ttf") format("truetype"), url("../fonts/GillSansStd.svg#GillSansStd") format("svg");
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  font-family: GillSansStd, sans-serif;
  font-weight: normal;
  letter-spacing: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0 5vw;
  overflow-x: hidden;
}

h1, h2, h3 {
  text-transform: uppercase;
}

.background-image {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 100%;
  height: 100%;
}

.logo {
  background-image: url(../images/logo.svg);
}

.d-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.d-flex > * {
  flex: 1;
  flex-grow: 1;
}
.d-flex.flex-column {
  flex-direction: column;
}

header {
  padding: 3rem;
}
header #logo {
  height: 10rem;
  width: 10rem;
}
header #nav-menu {
  display: block;
}
header #header-nav h3 {
  text-align: center;
  padding: 1rem;
  cursor: pointer;
}
header #header-nav h3:after {
  display: block;
  content: "";
  border-bottom: solid 3px #0078ba;
  margin-top: 1rem;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}
header #header-nav h3:hover:after {
  transform: scaleX(1);
}

.gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 120, 186, 0.5), rgba(0, 82, 135, 0.5));
}

footer {
  color: white;
  background: linear-gradient(to right, #0078ba, #005287);
  padding: 2rem;
  flex-direction: row;
  align-items: flex-start !important;
}
footer ul {
  list-style-type: none;
}
footer ul a {
  color: white;
  text-decoration: none;
}
footer ul li {
  padding: 0.5rem 0;
  font-size: 0.7rem;
}
footer > div {
  padding: 1rem;
}
footer h3 {
  font-size: 1rem;
  border-bottom: 2px solid white;
  width: fit-content;
  width: min-content;
}

#hero {
  position: relative;
  color: white;
  background-size: auto 100%;
  height: 100vh;
  background-position-x: 0%;
  flex-direction: column;
  overflow: hidden;
}
#hero video {
  width: 100%;
  position: absolute;
  filter: blur(10px);
  transform: scale(1.2) translateY(-50%);
  margin: -5%;
  top: 50%;
}
#hero div {
  padding: 2rem;
  text-align: center;
  padding: 0;
  width: 100%;
  transform: translateX(-200%);
}
#hero div h1 {
  font-size: 3rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.content-container {
  padding: 5rem 3rem;
  text-align: center;
  margin: 3rem 0;
}
.content-container h1 {
  margin-bottom: 2rem;
}
.content-container .flex-column {
  padding: 1.5rem;
  transition: all 0.2s ease-out;
}
.content-container .flex-column h2 {
  padding: 2rem 0;
}

#design-icon {
  background-image: url("../images/design.svg");
  min-height: 8rem;
}

#develop-icon {
  background-image: url("../images/develop.svg");
  min-height: 8rem;
}

#publish-icon {
  background-image: url("../images/publish.svg");
  min-height: 8rem;
}

#graph-icon {
  margin-top: 2rem;
  width: 20vw;
}

#seo-section {
  background: linear-gradient(to right, #0078ba, #005287);
  padding: 3rem;
  color: white;
  text-align: center;
  margin-bottom: 2rem !important;
  flex-direction: column;
}
#seo-section #heading-container {
  margin-bottom: 2rem;
}
#seo-section div:nth-child(2) {
  transform: translateY(200%);
}

#device-icons {
  margin-top: 2rem;
  height: 30vh;
  width: 30%;
  margin: 4rem auto;
  background-image: url(../images/devices.svg);
}

.hide {
  display: none;
}

.fullscreen {
  width: 100vw;
  left: 0;
  position: absolute;
}

.red {
  color: red;
}

#contact-form {
  flex-direction: column;
  margin-top: 2rem;
}
#contact-form label {
  text-align: left;
  width: 30%;
  margin-top: 1rem;
}
#contact-form p.error {
  width: 30%;
  text-align: left;
  margin-top: 0.2rem;
  font-size: 0.8rem;
}
#contact-form input {
  padding: 0.5rem;
  margin: 0.5rem 0;
  width: 30%;
  border: 2px solid slategrey;
}
#contact-form input.error {
  animation: shake 1s both;
  -webkit-animation: shake 1s both;
  -mos-animation: shake 1s both;
  -o-animation: shake 1s both;
}
#contact-form input[type=submit] {
  cursor: pointer;
  color: white;
  background-color: #0078ba;
  transition: background 0.2s ease-out;
  border: none;
  padding: 1rem 0;
}
#contact-form input[type=submit]:hover {
  background-color: #005287;
}

.box-shadow {
  box-shadow: black 0 10px 20px;
}

#AAL {
  background-image: url("../images/portfolio/AAL.png");
}

.carousel {
  width: 50%;
  margin: 0 auto;
  margin-top: 2rem;
}

.flickity-viewport {
  height: 50vh;
}

#portfolio {
  box-shadow: black 0 10px 20px;
}

.carousel-cell {
  width: 66%;
  height: 40%;
  top: 30%;
}

#copyright {
  background-color: #005287;
  color: white;
  text-decoration: none;
  text-align: center;
}

#form-success-msg {
  color: green;
  margin: 1rem 0;
}

@media only screen and (max-width: 800px) {
  .d-flex {
    flex-direction: column;
    flex-wrap: wrap;
  }

  #hero div h1 {
    font-size: 2rem;
  }

  #graph-icon {
    width: 40vw;
  }

  .carousel {
    width: 80%;
  }
  .carousel .carousel-cell {
    width: 100%;
  }

  #device-icons {
    width: 50%;
    margin: 2rem auto;
  }

  #contact-form input, #contact-form label {
    width: 80%;
  }

  footer {
    align-content: center;
  }

  #portfolio-link {
    display: none;
  }
}
@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
@-webkit-keyframes shake {
  10%, 90% {
    -webkit-transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    -webkit-transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    -webkit-transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    -webkit-transform: translate3d(4px, 0, 0);
  }
}
@-moz-keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
@-ms-keyframes shake {
  10%, 90% {
    -ms-transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    -ms-transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    -ms-transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    -ms-transform: translate3d(4px, 0, 0);
  }
}
@-o-keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

/*# sourceMappingURL=styles.css.map */
