:root {
  /* --color1: #ff3618;
  --color2: #1888ff;
  --color3: #18ff8f;
  --color4: #ffaa18;
  --color5: #111827;
  --color6: #e5e7eb; */

  --color1: #563edf;
  --color1-rgb: 86, 62, 223;
  --color1-light: #7c6ce7;
  --color1-lighter: #9b8ff7;
  --color1-dark: #180f5b;
  --color2: #ff04b8;
  --color3: #18ff8f;
  --color4: #fdf153;
  --color5: #e5e7eb;

  --color-subtext: var(--color1-lighter);

  --fs-xfine: 0.75rem; /* 12px / 16px (base) */
  --fs-fine: 0.8125rem; /* 13px / 16px (base) */
  --fs-subtext: 0.875rem; /* 14px / 16px (base) */
  --fs-base: 1rem;
  --fs-button: 1.125rem; /* 18px / 16px (base) */
  --fs-h6: 1.5rem; /* 24px / 16px (base) */
  --fs-h5: 1.75rem; /* 28px / 16px (base) */
  --fs-h4: 2rem; /* 32px / 16px (base) */
  --fs-h3: 2.5rem; /* 40px / 16px (base) */
  --fs-h2: 3rem; /* 48px / 16px (base) */
  --fs-h1: 4rem; /* 64px / 16px (base) */
  --fs-big: 5rem; /* 80px / 16px (base) */

  --border-radius: 6px;
}

@font-face {
  font-family: VisionSpark;
  src: url("/assets/fonts/Nunito-Regular.ttf");
}
@font-face {
  font-family: VisionSpark;
  src: url("/assets/fonts/Nunito-Italic.ttf");
  font-style: italic;
}
@font-face {
  font-family: VisionSpark;
  src: url("/assets/fonts/Nunito-Bold.ttf");
  font-weight: bold;
}
@font-face {
  font-family: VisionSpark;
  src: url("/assets/fonts/Nunito-BoldItalic.ttf");
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: VisionSpark;
  src: url("/assets/fonts/Nunito-Light.ttf");
  font-weight: 100;
}
@font-face {
  font-family: VisionSpark;
  src: url("/assets/fonts/Nunito-LightItalic.ttf");
  font-weight: 100;
  font-style: italic;
}

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

html {
  background-color: var(--color1-dark);
}

body {
  font-size: 16px;
  font-family: VisionSpark, Arial, sans-serif;
  color: var(--color1-dark);
}

p {
  margin-bottom: 1em;
}

h1,
h2 {
  font-family: VisionSpark, Arial, sans-serif;
}

h3 {
  margin: 15px 0 10px;
}

h1 {
  font-size: var(--fs-h1);
  color: var(--color5);
  text-align: center;
  margin: 20px auto 20px;
  font-weight: normal;
}

.hero-intro h1 {
  text-shadow: 0 0 5px var(--color1-dark);
}
.hero-intro span {
  font-size: var(--fs-fine);
  color: var(--color2);
  vertical-align: 4px;
}
.hero-intro span:nth-of-type(2) {
  color: var(--color4);
}

a img {
  border: none;
}

a {
  text-decoration: none;
  color: var(--color2);
}

img {
  width: 100%;
  height: auto;
  display: block;
}

pre {
  -moz-tab-size: 2;
  -o-tab-size: 2;
  tab-size: 2;
  white-space: pre-wrap;
}

::-moz-selection {
  background-color: var(--color3);
  color: var(--color1);
}

::selection {
  background-color: var(--color3);
  color: var(--color1);
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  background-color: rgba(0, 0, 0, 0);
  z-index: 999;
  transition: all 0.4s ease-out;
}

.header.scrolled {
  height: 40px;
  background-color: rgba(0, 0, 0, 0.7);
}

#visionspark-logo {
  width: 252px;
  height: auto;
  position: fixed;
  top: 8px;
  left: 15px;
  filter: drop-shadow(1px 1px 5px rgba(0, 0, 0, 0.4));
  transition: all 0.4s ease-out;
}

#visionspark-logo.scrolled {
  width: 164px;
  top: 8px;
}

.container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 95%;
}

.footer {
  font-size: var(--fs-subtext);
  position: absolute;
  width: 100%;
  color: var(--color5);
  text-align: center;
  padding-top: 40px;
  padding-bottom: 15px;
}

.content {
  width: 90%;
  margin: 100px auto;
}

.section,
.fullsection {
  position: relative;
  width: 100%;
  padding: 40px 0 40px 0;
}

.fullsection {
  min-height: 100%;
}

.section-content {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
}

.section-content li {
  margin-left: 12px;
  margin-bottom: 10px;
}

.extended {
  max-width: 1100px;
}

.fullwidth {
  max-width: none;
}

.bg-image {
  background: url("/assets/img/bg24.jpg") no-repeat top center;
  background-size: cover;
}

.bg-vid {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
}

.hero-intro {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 600px;
  margin-left: -300px;
  margin-top: -150px;
  /*border: 1px solid var(--color5);*/
  padding: 20px 15px 20px;
}

.hero-intro p,
.project-intro p {
  font: 1.3em/1.5em VisionSpark, Arial, sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color5);
}

.hero-intro p {
  margin-top: -10px;
  margin-bottom: 30px;
}

.cta {
  color: var(--color5);
  padding: 10px 15px 10px;
  border: 1px solid var(--color5);
  transition: all 0.5s ease;
  font-size: var(--fs-button);
  border-radius: var(--border-radius);
}

.cta:hover {
  background-color: var(--color2);
  border-color: transparent;
}

.project-intro {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  margin-top: -150px;
  color: var(--color5);
  padding: 20px 15px 20px;
}

.project-intro h3 {
  display: inline-block;
  font-weight: normal;
}

.project-intro h1 {
  margin-top: 8px;
}

.bg-image {
  color: var(--color5);
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.darkcolor {
  background-color: var(--color2);
  color: var(--color5);
}

.vizred {
  background-color: var(--color2);
  color: var(--color5);
}

.white {
  background-color: var(--color5);
}

.white h1 {
  color: var(--color1);
}

.black {
  background-color: var(--color1-dark);
  color: var(--color5);
}

h2 {
  text-align: center;
  font-size: var(--fs-h2);
  margin-bottom: 24px;
}

.block {
  float: left;
  padding: 20px;
  width: 100%;
}

.b50,
.alt50 {
  width: 50%;
}

.b66,
.alt66 {
  width: 66.6666%;
}

.b33,
.alt33 {
  width: 33.3333%;
}

.b25,
.alt25 {
  width: 25%;
}

.b75,
.alt75 {
  width: 75%;
}

.clearfix:after {
  content: " ";
  display: block;
  clear: both;
}

.not-padded {
  padding: 0;
}
.homesubs-parent {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.homesubs {
  width: 25%;
  padding: 20px 40px 40px;
}

.homesubs img {
  width: 92px;
  margin: 0 auto;
}

.homesubs h3 {
  text-align: center;
  font-family: VisionSpark, Arial, sans-serif;
  font-size: var(--fs-h6);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
}

.homesubs li {
  list-style-type: none;
  margin-top: 20px;
  text-indent: -20px;
}

.homesubs li:before {
  content: " ";
  display: inline-block;
  background-image: url("/assets/img/bullet.png");
  background-size: 16px 16px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: middle;
}

.skewbox-parent-t {
  position: absolute;
  width: 100%;
  overflow: hidden;
  top: 0;
}

.skewbox-parent-b {
  position: absolute;
  width: 100%;
  overflow: hidden;
  bottom: 0;
}

.skewbox-splash {
  width: 0;
  height: 0;
  border-left: 100vw solid transparent;
  border-bottom: 5vw solid var(--color5);
}
.skewbox-work {
  width: 0;
  height: 0;
  border-right: 100vw solid transparent;
  border-top: 5vw solid var(--color1-dark);
}

.skewbox-process {
  width: 0;
  height: 0;
  border-top: 5vw solid var(--color5);
  border-right: 100vw solid transparent;
}

.skewbox-process-b {
  width: 0;
  height: 0;
  border-left: 100vw solid transparent;
  border-bottom: 5vw solid var(--color1-dark);
}

.skewbox-about {
  width: 0;
  height: 0;
  border-top: 5vw solid rgba(0, 0, 0, 0);
  border-right: 100vw solid var(--color5);
}

.skewbox-contact {
  width: 0;
  height: 0;
  border-left: 100vw solid var(--color5);
  border-bottom: 5vw solid transparent;
}

.process-item h3 {
  font-family: VisionSpark, Arial, sans-serif;
  font-size: var(--fs-h6);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.process-item h3::first-letter {
  float: left;
  font-size: 88px;
  padding: 0 10px 0 0;
  margin-top: 20px;
  margin-bottom: -16px;
  font-weight: bold;
  font-style: italic;
  color: var(--color3);
}

.process-item p {
  text-align: left;
}

.thumbnail {
  position: relative;
  width: 32%;
  height: 0;
  margin: 0.666%;
  padding-bottom: 27.44%;
  float: left;
  background-color: #cccccc;
  border: 1px solid #cccccc;
  overflow: hidden;
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  transition: background-size 0.4s;
}

.thumbnail:hover {
  background-size: 105%;
}

.thumbnail > a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.thumbswipe {
  position: absolute;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  top: 100%;
  left: 0;
  padding: 15px;
  transition: top 0.4s;
  -webkit-transition: top 0.4s;
  transition-timing-function: ease-in-out;
  user-select: none;
  -webkit-user-select: none;
}

.thumbswipe.active {
  top: 0;
}

.thumbswipe p {
  margin: 0 0 15px 0;
  padding-top: 25%;
  width: 100%;
  color: var(--color5);
  font-family: VisionSpark, Arial, sans-serif;
}

.project-more {
  display: block;
  width: 50%;
  text-align: center;
  padding: 10px;
  margin: 0 auto;
  border: 1px solid var(--color5);
  color: var(--color5);
  border-radius: var(--border-radius);
  transition: all 0.5s ease;
}
.project-more:hover {
  border-color: var(--color2);
  background-color: var(--color2);
}

.clientlogos h2 {
  font-size: var(--fs-h3);
  margin: 40px 0 10px;
  color: var(--color2);
}

.clientlogo {
  margin: 5px 2.5%;
  width: 15%;
  padding-bottom: 8.33333%;
  height: 0;
  float: left;
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  transform: translate3d(0, 0, 0); /* Safari fix or mix-blend won't work */
  mix-blend-mode: multiply;
  opacity: 0.6;
  transition: all 500ms ease;
}

.clientlogo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.bordered {
  border: 1px solid #cccccc;
}

.bio-pic {
  max-width: 250px;
  margin: 32px auto 0;
  border: 1px solid var(--color3);
}

.bio-name {
  font-size: var(--fs-h2);
  margin-bottom: 10px;
  color: var(--color3);
}

.skills {
  list-style: none;
  padding-top: 10px;
  padding-bottom: 100px;
}

.skills li {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.25);
  padding: 5px 10px 5px;
  border-radius: 15px;
  margin: 0 1px 3px 0;
}

input,
textarea,
button[type="submit"],
input[type="submit"] {
  width: 85%;
  padding: 5px;
  font-size: var(--fs-h6);
  font-family: VisionSpark, Arial, sans-serif;
  color: var(--color5);
  margin: 10px;
  border: none;
  border-radius: var(--border-radius);
  -webkit-appearance: none;
}

textarea {
  margin-bottom: 0;
  height: 240px;
  resize: none;
}

input,
textarea {
  background-color: var(--color1-light);
}

label {
  display: inline-block;
  width: 100%;
  text-align: right;
  padding: 10px;
  font-size: var(--fs-h6);
  color: var(--color1-light);
}

button[type="submit"],
input[type="submit"] {
  background-color: var(--color2);
  color: var(--color1);
  border: 0;
  height: 70px;
  cursor: pointer;
  font-size: var(--fs-h6);
  margin-top: 20px;
}

.projectslink {
  display: block;
  color: var(--color5);
  width: 200px;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
  border: 1px var(--color5) solid;
  transition: all 0.5s ease;
  border-radius: var(--border-radius);
}

.projectslink:hover {
  border-color: var(--color2);
  background-color: var(--color2);
}

button[type="submit"]:hover,
input[type="submit"]:hover {
  background-color: var(--color4);
}

.animation-element {
  opacity: 0;
  transition: all 700ms ease-out;
  transform: translate3d(0px, 200, 0px);
  backface-visibility: hidden;
}

.animation-element.in-view {
  opacity: 1;
  transform: translate3d(0px, 0px, 0px);
}

.color-swatch {
  height: 0;
  border-radius: 50%;
  color: var(--color5);
  float: left;
}
.color-swatch p {
  text-align: center;
}

.c25 {
  width: 24%;
  padding-top: 10%;
  padding-bottom: 14%;
  margin: 0.5%;
}

.c20 {
  width: 19%;
  padding-top: 8%;
  padding-bottom: 11%;
  margin: 0.5%;
}

.color-swatch p {
  text-shadow: 2px 2px 6px #130f30;
}

.scrolldiv {
  position: absolute;
  width: 24px;
  height: 40px;
  bottom: 50px;
  left: 50%;
  margin-left: -12px;
  transition: opacity 0.8s ease-out;
}

.scrolldiv.scrolled {
  opacity: 0;
}

#scrollmouse,
#scrollwheel {
  display: inline;
}

#scrollphone,
#scrollfinger {
  display: none;
}

#scrollwheel {
  position: relative;
  opacity: 0;
  animation: scrolldown 2.7s ease infinite;
}

#scrollfinger {
  animation: none;
}

@keyframes scrolldown {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  96% {
    opacity: 1;
    transform: translateY(28px);
  }
  98% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
}
@keyframes scrollup {
  0% {
    opacity: 0;
    transform: translateY(34px);
  }
  96% {
    opacity: 1;
    transform: translateY(8px);
  }
  98% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 0;
    transform: translateY(34px);
  }
}
.footer p,
.blog .footer p {
  text-align: center;
}

.social-footer {
  width: 40px;
  margin: 0 auto;
}

.social-footer img {
  height: 32px;
  width: 32px;
  float: left;
  border-radius: 50%;
  margin: 10px;
  filter: grayscale(1);
}

.social-footer img:hover {
  filter: grayscale(0);
}

.nav {
  position: fixed;
  right: -250px;
  height: 100%;
  width: 250px;
  background-color: var(--color1);
  transition: right 0.4s;
  -webkit-transition: right 0.4s;
  transition-timing-function: ease-in-out;
}

.nav.isactive {
  right: 0;
}

.nav ul {
  list-style: none;
  margin: 40px auto auto 20px;
}

.nav a {
  font: 2em/1.5em VisionSpark, Arial, sans-serif;
  color: var(--color5);
}

.nav a:hover {
  color: var(--color3);
}

.coverer {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}

.darken {
  background-color: rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
}

.ham-parent {
  position: fixed;
  top: 10px;
  right: 15px;
  width: 36px;
  height: 35px;
  transition: all 0.5s;
}

.ham-parent.scrolled {
  top: 3px;
}

.ham-parent button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: transparent;
  box-shadow: none;
  border: none;
}

.ham-parent span {
  display: block;
  position: absolute;
  top: 16px;
  left: 5px;
  height: 3px;
  background: var(--color2);
  width: 26px;
  transition: all 0.5s;
}

.ham-parent span::before,
.ham-parent span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color2);
  content: "";
}

.ham-parent span::before {
  top: -8px;
  transition: all 0.4s;
  transition-timing-function: ease-in-out;
}

.ham-parent span::after {
  bottom: -8px;
  transition: all 0.4s;
  transition-timing-function: ease-in-out;
}

.ham-parent.isactive span {
  background: none;
}

.ham-parent.isactive span::before {
  top: 0;
  transform: rotate(45deg);
  transition: all 0.4s;
  transition-timing-function: ease-in-out;
}

.ham-parent.isactive span::after {
  bottom: 0;
  transform: rotate(-45deg);
  transition: all 0.4s;
  transition-timing-function: ease-in-out;
}

.toplink {
  position: fixed;
  right: 10px;
  bottom: -40px;
  width: 40px;
  height: 40px;
  background: #333333 url("/assets/img/uparrow.png") 50% 32%/50% no-repeat;
  visibility: hidden;
  opacity: 0;
  border-radius: 4px;
  transition: all 1s;
}

.toplink.scrolled {
  cursor: pointer;
  bottom: -5px;
  opacity: 0.7;
  visibility: visible;
}

#prev-project,
#next-project {
  width: 40px;
  height: 40px;
  position: fixed;
  top: 50%;
  margin-top: -25px;
  background-color: rgba(var(--color1-rgb), 0.3);
  border-radius: var(--border-radius);
  transition: background-color 0.5s ease;
}

#prev-project {
  left: -2px;
}

#next-project {
  right: -2px;
}

#prev-project a,
#next-project a {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  background: transparent url("/assets/img/uparrow.png") center center/50% no-repeat;
}

#prev-project a {
  transform: rotate(-90deg);
}

#next-project a {
  transform: rotate(90deg);
}

#next-project-label,
#prev-project-label {
  position: fixed;
  top: 49.8%;
  right: 45px;
  margin-top: -16px;
  font-size: var(--fs-subtext);
  background-color: var(--color1);
  text-align: center;
  padding: 4px 8px;
  color: var(--color5);
  opacity: 0;
  border-radius: 4px;
  transition: opacity 0.4s;
}

#prev-project:hover,
#next-project:hover {
  background-color: var(--color2);
}

#prev-project-label {
  left: 45px;
  width: 120px;
}

#prev-project-label.active,
#next-project-label.active {
  opacity: 1;
}

@media all and (max-width: 950px) {
  h1,
  .hero-intro h1 {
  }
  .hero-intro {
    width: 480px;
    margin-left: -240px;
  }
  .hero-intro p {
  }
  .homesubs {
    width: 50%;
  }
  .homesubs:nth-of-type(3) {
    clear: left;
  }
  .homesubs li {
  }
  .thumbnail {
    width: 49%;
    padding-bottom: 42%;
    margin: 0.5%;
  }
  .b50,
  .b33,
  .b66,
  .b75,
  .b25 {
    width: 100%;
    float: none;
  }
  .restrict {
    max-width: 650px;
    margin: 0 auto;
  }
  p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }
  .project-more {
  }
  .clientlogo {
    width: 20%;
    padding-bottom: 11.1111%;
  }
  .social a {
    max-width: 400px;
    font-size: var(--fs-subtext);
  }
}
@media all and (max-width: 500px) {
  #visionspark-logo {
    width: 164px;
    height: 33px;
    top: 5px;
    filter: none;
  }
  .ham-parent {
    top: 3px;
  }
  .hero-intro {
    width: 100%;
    left: 0;
    margin-left: 0;
  }
  .homesubs {
    width: 100%;
    float: none;
  }
  .homesubs li {
    text-align: center;
    text-indent: -20px;
    padding-left: 0;
  }
  .nav {
    left: 100%;
    width: 100%;
    transition: left 0.4s;
    -webkit-transition: left 0.4s;
    transition-timing-function: ease-in-out;
  }
  .nav.isactive {
    left: 0;
  }
  .nav ul {
    margin: 10vh 0 0 0;
  }
  .nav li {
    text-align: center;
  }
  .thumbnail {
    width: 90%;
    padding-bottom: 75.6%;
    display: inline;
    margin: 10px 5% 10px;
  }
  .clientlogo {
    margin: 5px 2.5%;
    width: 28.3333%;
    padding-bottom: 15.74%;
    filter: grayscale(0%);
    opacity: 1;
  }
  .alt33,
  .alt66,
  .alt50,
  .alt75,
  .alt25 {
    width: 100%;
    float: none;
  }
  input,
  textarea {
    width: 90%;
    margin: 0 5% 0 5%;
  }
  label {
    width: 90%;
    text-align: left;
    margin: 10px 0 0 5%;
    padding-left: 0;
  }
  button[type="submit"],
  input[type="submit"] {
    width: 90%;
    margin: 0 5% 0 5%;
  }
  /* Contact Form 7 Plugin styles */
  div.wpcf7-validation-errors,
  div.wpcf7-mail-sent-ng {
    margin: 0 5% 0 5% !important;
  }
  div.wpcf7-response-output {
    padding: 0 !important;
  }
  span.wpcf7-not-valid-tip {
    margin-left: 20px;
  }
  /* END Contact Form 7 Plugin styles */
  .blogimg-right,
  .blogimg-left {
    float: none;
    width: 100%;
    margin: 0;
  }
  .blog aside {
    width: 100%;
  }
  .pullquote-left,
  .pullquote-right {
    float: none;
    margin: 10px 0 10px 0;
  }
  .clientlogos h2 {
    font-size: var(--fs-h1);
  }
  #scrollmouse,
  #scrollwheel {
    display: none;
  }
  #scrollphone,
  #scrollfinger {
    display: inline;
  }
  #scrollfinger {
    position: relative;
    opacity: 0;
    animation: scrollup 2.7s ease infinite;
  }
  #scrollwheel {
    animation: none;
  }
}
@media all and (max-height: 360px) {
  #scrollmouse,
  #scrollwheel,
  #scrollphone,
  #scrollfinger {
    display: none;
  }
}
