/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

.theme-light {
  --color-primary: #5573c7;
  --color-accent: #bdc4d8;
  --font-color: #555555;
  --bg-color: #ffffff;
  --about: rgba(250, 250, 250, 0.8);
  --skills: rgba(240, 240, 240, 0.9);
  --casestudies: rgba(230, 230, 230, 0.85);
  --work: rgba(230, 230, 230, 0.85);
  --clients: rgba(200, 200, 200, 0.85);
  --contact: rgba(85, 115, 199, 0.8);
  --tint4: rgba(190, 190, 190, 0.8);
  --glass: rgba(255, 255, 255, 0.3);
  --casebg: #e2e2e2;
  --altbg: #e9e9e9;
  --mediabg: #f9f9f9;
  --invert: invert(100%);
  --picture: url(../img/amit-light.png);
  --cs0: url(../img/casestudies/rezigo-w.png);
  --cs1: url(../img/casestudies/vgm-w.png);
  --cs2: url(../img/casestudies/capadata-w.png);
  --cs3: url(../img/casestudies/ipexpo-w.png);
  --cs4: url(../img/casestudies/cisco-w.png);
  --cs5: url(../img/casestudies/natgeo-w.png);
  --bright: brightness(70%);
}

.theme-dark {
  --color-primary: #beaa88;
  --color-accent: #8d7b5c;
  --font-color: #cdcdcd;
  --bg-color: #000000;
  --about: rgba(50, 50, 50, 0.8);
  --skills: rgba(60, 60, 60, 0.9);
  --casestudies: rgba(45, 45, 45, 0.9);
  --work: rgba(45, 45, 45, 0.9);
  --clients: rgba(25, 25, 25, 0.9);
  --contact: rgba(190, 170, 136, 0.8);
  --tint4: rgba(65, 65, 65, 0.8);
  --glass: rgba(50, 50, 50, 0.3);
  --casebg: #3f3f3f;
  --altbg: #333333;
  --mediabg: #111111;
  --invert: invert(0%);
  --picture: url(../img/amit-dark.png);
  --cs0: url(../img/casestudies/rezigo.png);
  --cs1: url(../img/casestudies/vgm.png);
  --cs2: url(../img/casestudies/capadata.png);
  --cs3: url(../img/casestudies/ipexpo.png);
  --cs4: url(../img/casestudies/cisco.png);
  --cs5: url(../img/casestudies/natgeo.png);
  --bright: brightness(100%);
}

html {
  color: var(font-color);
  font-size: 1em;
  line-height: 1.5;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  background-color: var(--bg-color);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  padding-top: 60px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

body {
  position: absolute;
  top: 60px;
  left: 60px;
  bottom: 60px;
  right: 50px;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  scroll-behavior: smooth;
  background: var(--bg-color) url(../img/bg.jpg) no-repeat center center fixed;
  background-size: cover;
  border-radius: 3px;
}

body {
  opacity: 0;
}
body.loaded {
  opacity: 1;
}

#fader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  pointer-events: none;
  background-color: var(--bg-color);
  animation-duration: 1000ms;
  animation-timing-function: ease-in-out;
}

#fader:before {
  content: "fade";
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#fader.fade-out {
  opacity: 0;
  animation-name: fade-out;
}

#fader.fade-in {
  opacity: 1;
  animation-name: fade-in;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
  background-color: var(--bg-color);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: var(--bg-color);
  margin: 0px 0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  width: 10px;
  -webkit-border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-bottomright: 3px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #bbbbbb;
}










/* width */
.lity-iframe-container iframe ::-webkit-scrollbar {
  width: 10px;
  background-color: var(--bg-color);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

/* Track */
.lity-iframe-container iframe ::-webkit-scrollbar-track {
  background-color: var(--bg-color);
  margin: 0px 0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

/* Handle */
.lity-iframe-container iframe ::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  width: 10px;
  -webkit-border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-bottomright: 3px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

/* Handle on hover */
.lity-iframe-container iframe ::-webkit-scrollbar-thumb:hover {
  background-color: #cdcdcd;
}








/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::selection {
  background: var(--color-accent);
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

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

xtype 

-------------------------------- */
.cd-headline.type .cd-words-wrapper {
  vertical-align: top;
  overflow: hidden;
}
.cd-headline.type .cd-words-wrapper::after {
  /* vertical bar */
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 90%;
  width: 2px;
  background-color: var(--font-color);
}
.cd-headline.type .cd-words-wrapper.waiting::after {
  -webkit-animation: cd-pulse 0.5s infinite;
  -moz-animation: cd-pulse 0.5s infinite;
  animation: cd-pulse 0.5s infinite;
}
.cd-headline.type .cd-words-wrapper.selected {
  background-color: var(--color-primary);
}
.cd-headline.type .cd-words-wrapper.selected::after {
  visibility: hidden;
}
.cd-headline.type .cd-words-wrapper.selected b {
  color: var(--bg-color);
}
.cd-headline.type b {
  visibility: hidden;
}
.cd-headline.type b.is-visible {
  visibility: visible;
}
.cd-headline.type i {
  position: absolute;
  visibility: hidden;
  font-style: normal;
}
.cd-headline.type i.in {
  position: relative;
  visibility: visible;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  float: right;
  width: 80px;
  height: 30px;
  margin: 0 0px 0 30px;
  border-radius: 3px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #444;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 3px;
}

.slider:before {
  position: absolute;
  content: "DARK";
  height: 26px;
  width: 50px;
  color: var(--font-color);
  font-weight: 400;
  padding: 0 5px;
  left: 0px;
  top: 0;
  bottom: 0;
  margin: 2px;
  line-height: 26px;
  font-size: 10px;
  letter-spacing: 2px;
  text-align: center;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: #111;
  border-radius: 2px;
}

input:checked + .slider {
  background-color: #ccc;
}

input:checked + .slider:before {
  content: "LIGHT";
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
}





/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.clear {
  clear: both;
}

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

p {
  font-size: 16px;
  line-height: 26px;
  color: var(--font-color);
  margin-bottom: 15px;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--font-color);
  font-weight: 700;
  line-height: 1.4;
}

h2 {
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 25px 0;
}









/* MENU */

.menu {
  position: fixed;
  top: 20px;
  height: 30px;
  line-height: 30px;
  width: calc(100% - 120px);
  text-transform: uppercase;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.logo {
  float: left;
  color: #ccc;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 5px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.logo a {
  color: #ccc;
}

.logo img {
  width: 40px;
  float: left;
  margin: -5px 15px 0 0;
}

.menuright {
  opacity: 1;
  float: right;
  display: block;
}

.menuright a {
  color: var(--font-color);
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 0 30px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.menuright a:hover {
  color: var(--color-primary)!important;
}

nav ul#mainmenu {
  list-style: none;
}
nav ul#mainmenu li {
  list-style: none;
  display: inline-block;
}

#mainmenu li.active a {
  color: var(--color-primary);
}



.mobilemenu {
  display: none;
  position: fixed;
  top:30px;
  right:60px;
  margin: 0 0 0 15px;
  z-index: 999;
}
.mobilemenu a {
  background-color: var(--color-primary);
  color: var(--bg-color);
  height: 50px;
  width: 50px;
  font-size: 22px;
  display: block;
  margin: 30px 0 0 0;
  border-radius: 3px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.mobilemenu a:hover {
  color: var(--color-primary);
  background-color: var(--skills);
}





.inner {
  width: calc(100% - 120px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 100px 50px 100px 50px;
  position: relative;
}

.container {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.sectionname {
  margin: 0;
  height: 180px;
  width: 20px;
  position: absolute;
  display: block;
  text-align: right;
  background-color: var(--color-primary);
  margin: 0px 0 0 0px;
  z-index: 4;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  border-bottom-right-radius: 3px;
}
.sectionname h2 {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  display: inline-block;
  position: absolute;
  text-align: right;
  left: 0px;
  bottom: 10px;
  width: 20px;
  height: auto;
  margin: 0px 0 0 1px;
  padding: 0;
  line-height: 20px;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bg-color);
}

a.button {
  display: inline-block;
  margin: 10px 0 0 0;
  background-color: var(--color-primary);
  padding: 0px 20px;
  height: 50px;
  line-height: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  color: var(--bg-color);
  transform: translateZ(0);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  border-radius: 3px;
}
a.button:hover {
  background-color: var(--font-color);
}

a.button i {
  margin:0 0 0 15px;
}

a.lefticon i {
  margin:0 10px 0 0 ;
}


.altbutton {
  background-color: var(--casebg)!important;
  color: var(--color-primary)!important;
}
.altbutton:hover {
  background-color: var(--bg-color)!important;
  color: var(--color-primary)!important;
}




/* ABOUT */

.about {
  width: 100%;
  display: block;
  background-color: var(--about);
  position: relative;
  overflow: hidden;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.profile {
  display: block;
  position: relative;
  text-align: center;
}

.picture {
  width: 100%;
  max-width: 2600px;
  height: 100%;
  display: block;
  overflow: hidden;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: var(--picture);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.aboutcontent {
  background-color: var(--glass);
  padding: 60px 60px 60px 60px;
  width: 50%;
  margin: 150px 0 150px 0;
  float: right;
  right: 0;
  border-left: 10px solid var(--color-primary);
  transform: translateZ(0);
  backdrop-filter: blur(20px);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  border-radius: 3px;
}

.profiletext {
  width: 100%;
  margin: 0px auto 0 auto;
  padding: 0 0 0 0px;
  text-align: left;
  position: relative;
  vertical-align: text-top;
  text-align: left;
}

.aboutcontent h1 {
  font-size: 30px;
  text-align: left;
  letter-spacing: 0px;
  font-weight: 400;
  margin: 0 0 30px 0;
}

.profile h4 {
  font-size: 15px;
  letter-spacing: 5px;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  width: auto;
  text-align: left;
  margin: 0 0 30px 0;
  height: 24px;
}

.profile h4 span {
  position: relative;
}
.profile h4 b {
  font-weight: 400;
}











/*SKILLS */

.skills {
  width: 100%;
  height: auto;
  min-height: 100px;
  display: block;
  background-color: var(--skills);
  z-index: 2;
  position: relative;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#skillslist {
  text-align: center;
}

#skillslist .mix {
  width: 8%;
  margin: 10px 1%;
  display: inline-block;
  position: relative!important;
}

#skillslist .skillsboxes {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

.skills-wrapper {
  overflow: hidden;
  position: relative !important;
  cursor: crosshair;
}

.skillsboxes img {
  max-width: 100%;
  position: relative;
  top: 0;
  opacity: 0.3;
  -webkit-filter: var(--invert);
  transform: translateZ(0);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.skillsboxes .label {
  position: relative;
  width: 60%;
  height: 12px;
  opacity: 0;
  margin: auto;
  color: var(--color-primary);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  text-align: center;
  font-size: 8px;
}

.skillsboxes:hover .label {
  bottom: 0px;
  height: 12px;
  width: 100%;
  opacity: 1;
}

.skillsboxes:hover img {
  top: 0;
  opacity: 0.6;
}

.skillsboxes img:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}











/* CASESTUDIES */

.casestudies {
  background-color: var(--casestudies);
  margin: 0;
  padding: 0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.cs0 {
  background-image: var(--cs0);
}
.cs1 {
  background-image: var(--cs1);
}
.cs2 {
  background-image: var(--cs2);
}
.cs3 {
  background-image: var(--cs3);
}
.cs4 {
  background-image: var(--cs4);
}
.cs5 {
  background-image: var(--cs5);
}

.casestudy {
  max-width: 1360px;
  height: auto;
  min-height: 400px;
  display: block;
  margin: 0px auto 30px auto;
  position: relative;
  background-color: var(--casebg);
  overflow: hidden;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.casestudy:last-of-type {
  margin: 0px auto 0px auto;
}

.casestudy .casewrap {
  display: block;
  width: calc(100% - 120px);
  height: 100%;
  padding: 60px;
  position: relative;
}

.casestudy .casepic {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  transform: translateZ(0);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  filter: grayscale(100%);
}

.casestudy .left {
  float: left;
}

.casestudy .right {
  float: right;
}

.casestudy .casetext {
  width: 45%;
  height: auto;
  display: block;
  padding: 40px 60px 0px 60px;
  background-color: var(--glass);
  backdrop-filter: blur(15px);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.casestudy .casetext h2 {
  letter-spacing: 0px;
  font-weight: 400;
  font-size: 30px;
}

.casestudy .casetext h2 a {
  color: var(--font-color);
  text-decoration: underline;
  text-decoration-color: transparent;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}


.casestudy .casetext img {
  width: 200px;
  height: auto;
  margin: 0;
}

.casestudy .number {
  background-color: var(--color-primary);
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 50px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--bg-color);
  z-index: 3;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-bottom-right-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-bottomright: 3px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
.casestudy .number span {
  display: block;
  margin: 5px 0px 0 0;
  letter-spacing: 2px;
  position: absolute;
  bottom: 10px;
  left: 2px;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.casestudy .casetext h2:hover a {
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
}

.casestudy:hover .casepic {
  filter: grayscale(10%);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.casestudy:hover {
  -webkit-box-shadow: 0px 0px 100px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 100px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 100px 5px rgba(0, 0, 0, 0.1);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}











/* CASESTUDIES PAGE */

video::-webkit-media-controls {
  display: none;
}

.casestudycontent {
  width: 100%;
  display: block;
  background-color: var(--about);
  position: relative;
  overflow: hidden;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.cswrap {
  display: block;
  position: relative;
  text-align: center;
}

.cspicture {
  width: 100%;
  max-width: 3800px;
  height: 900px;
  display: block;
  overflow: hidden;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.rezigo .cspicture {
  background-position: center left;
  background-image: var(--cs0);
}
.vgm .cspicture {
  background-position: center right;
  background-image: var(--cs1);
}
.capadata .cspicture {
  background-position: center left;
  background-image: var(--cs2);
}
.ipexpo .cspicture {
  background-position: center right;
  background-image: var(--cs3);
}
.cisco .cspicture {
  background-position: center left;
  background-image: var(--cs4);
}
.natgeo .cspicture {
  background-position: center right;
  background-image: var(--cs5);
}



.cslogo .logowrap {
  height: 100px;
  line-height: 100px;
}

.cslogo img {
  width: 100%;
  max-width: 200px;
  filter: var(--bright);
  display: inline-block;
  padding: 0;
  margin: 0;
}

.brandbox {
  background-color: var(--glass);
  margin: 50px -60px 0px -60px;
  padding: 0 60px;
  height: 100px;
  line-height: 100px;
  display: block;
  width: 100%;
  text-align: right;
  -webkit-border-bottom-right-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.brandbox .logowrap {
  height: 100px;
  line-height: 100px;
  float: left;
}

.brandbox img {
  width: 100%;
  max-width: 200px;
  filter: var(--bright);
  display: inline-block;
  padding: 0;
  margin: 0;
}

.brandbox h3 {
  width: calc(100% - 200px);
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  text-align: right;
  opacity: 0.5;
}


.cstext {
  width: 100%;
  margin: 0px auto 0 auto;
  padding: 0 0 0 0px;
  text-align: left;
  position: relative;
  vertical-align: text-top;
  text-align: left;
}

.overview {
  column-gap: 60px;
  column-count: 2;
  vertical-align: text-top;
}

.cscontainer {
  width: 100%;
  max-width: 800px;
  margin: auto;
  text-align: left;
}

.cswidecontainer {
  width: 100%;
  max-width: 1600px;
  margin: 50px auto 0 auto;
  text-align: left;
  min-height: 400px;
}

.cswidecontainer .left {
  position: relative;
  width: 49.5%;
  display: inline-block;
  float: left;
}
.cswidecontainer .right {
  position: relative;
  width: 49.5%;
  display: inline-block;
  float: right;
}


.cswidecontainer .centertext {
  position: relative;
  top:50%;
  transform: translate(0%, -50%);
  padding: 0 50px;
}


.cswidecontainer .row {
  display: flex;
}

.cswidecontainer .column {
  flex: 50%;
}



.device {
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: auto;
  padding: 10px;
  border-radius: 5px;
  -webkit-box-shadow: 0px 0px 50px -10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 50px -10px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 50px -10px rgba(0, 0, 0, 0.2);
  transform: scale(1);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.device img {
  width: 100%;
  border-radius: 3px;
}

.device video {
  border-radius: 3px;
}

.device:hover {
  -webkit-box-shadow: 0px 0px 80px -10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 80px -10px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 80px -10px rgba(0, 0, 0, 0.3);
  transform: scale(1.02);
}


.close {
  display: none;
  width: calc(100% - 20px);
  height: calc(100vh - 20px);
  position: fixed;
  top:280px;
  z-index: 9;
  background-color: var(--bg-color);
  opacity: 0.6;
}


.theme-light .device {
  background: rgb(230, 230, 230);
  background: linear-gradient(
    45deg,
    rgba(240, 240, 240, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.theme-dark .device {
  background: rgb(50, 50, 50);
  background: linear-gradient(
    45deg,
    rgba(50, 50, 50, 1) 0%,
    rgba(110, 110, 110, 1) 100%
  );
}


.csblock1 {
  background-color: var(--casebg);
  position: relative;
}

.csbackgroundblock {
  background-color: var(--altbg);
  position: relative;
}

.csblock2 {
  background-color: var(--contact);
  color: var(--bg-color);
  position: relative;
}

.csblock2 p,
.csblock2 h2 {
  color: var(--bg-color);
}

.csblock3 {
  background-color: var(--about);
  color: var(--bg-color);
  position: relative;
}

.csblock4 {
  background-color: var(--skills);
  color: var(--bg-color);
  position: relative;
}

.csblock5 {
  background-color: var(--casestudies);
  color: var(--bg-color);
  position: relative;
}







.cscontent {
  background-color: var(--glass);
  padding: 60px;
  width: 50%;
  margin: 0px 0 0 0;
  float: left;
  right: 0;
  border-left: 10px solid var(--color-primary);
  transform: translateZ(0);
  backdrop-filter: blur(20px);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  border-radius: 3px;
}


.rezigo .cscontent {
  float: right;
}

.capadata .cscontent {
  float: right;
}

.cisco .cscontent {
  float: right;
}

.cstextbox h1 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  margin: 20px 0 40px 0;
}


.stats {
  width: 100%;
  padding: 0px;
  display: block;
  margin: 10px auto;
  text-align: left;
}

.stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--font-color);
}

.stats ul li {
  margin: 0 10px 10px 0;
  width: calc(50% - 45px);
  height: 65px;
  float: left;
  font-size: 15px;
  background-color: var(--bg-color);
  opacity: 0.8;
  padding: 10px 15px 10px 15px;
  border-radius: 3px;
}

.stats ul li span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: var(--color-primary);
}


.parallaximage {
  width: 100%;
  height: 60vh;
  margin: -12vh 0;
  position: relative;
  z-index: 2;
  background-image: url(../img/keyboard.jpg);
  background-position: center center;
  background-size: cover;
  display: block;
  background-attachment: fixed;
}




.csmediablock {
  background-color: var(--mediabg);
  opacity: 0.9;
  padding: 0px 0 100px 0;
  display: block;
  position: relative;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

/* Gallery */

.gallery {
  display: block;
  position: relative;
  width: 100%;
  margin: -150px 0 50px 0;
}
.gallery-cell {
    height: auto;
}
.gallery-cell-inner {
    position: relative;
    height: auto;
    padding: 100px 0 0 0;
}
.gallery-cell img {
  width: 100%;
  filter: grayscale(100%);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.flickity-prev-next-button {
  top: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 0;
  border-radius: 3px;
  background: var(--color-primary);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.flickity-prev-next-button.next {
  right: 30px;
}
.flickity-prev-next-button.previous {
  left: 30px;
}
.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 25%;
  top: 25%;
  width: 50%;
  height: 50%;
}
.flickity-prev-next-button .arrow {
  fill: var(--bg-color);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.flickity-prev-next-button:hover {
  background: var(--bg-color);
}
.flickity-prev-next-button:hover .arrow {
  fill: var(--color-primary);
}

.flickity-page-dots .dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 8px;
  background: #333;
  border-radius: 3px;
  opacity: 0.25;
  cursor: pointer;
}

/* ----- SLIDE TRANSITION ----- */
.gallery-cell {
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0 25px;
  opacity: 0.2;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}
.gallery-cell.is-selected img {
  filter: grayscale(0%);
}
.gallery-cell.is-selected {
  opacity: 1;
}

.flickity-page-dots {
  bottom: -50px;
}

.flickity-page-dots .dot {
  background: var(--font-color);
}

.flickity-page-dots .dot.is-selected {
  background: var(--color-primary);
}

@media only screen and (max-width: 855px) {
/* 992px - MEDIUM */
    .gallery-cell {
        width: calc(100% - 60px);
    }
    .gallery-cell-inner {
        position: relative;
    }
}

.device .button {
  border-radius: 0;
  text-align: center;
}

.device .button i {
  margin:0px;
}

.expand {
  position: absolute;
  bottom:10px;
  right:10px;
  font-size: 12px!important;
  letter-spacing: 0;
  width: 20px!important;
  height: 150px;
  line-height: 30px!important;
  padding: 0 0 0 2px!important;
  cursor: pointer;
  -webkit-border-top-left-radius: 3px!important;
  -webkit-border-bottom-right-radius: 2px!important;
  -moz-border-radius-topleft: 3px!important;
  -moz-border-radius-bottomright: 2px!important;
  border-top-left-radius: 3px!important;
  border-bottom-right-radius: 2px!important;
}

.mediatextcontainer {
  text-align: left;
  width: calc(100% - 60px);
  max-width: 800px;
  padding: 0 30px;
  margin: 50px auto 0 auto;
}

.imagecaption {
  text-align: center;
  background-color: var(--altbg);
  display: inline-block;
  border-radius:50px;
  padding: 0 20px;
  margin: 20px 0 0 0;
  height: 20px;
  line-height: 20px;
  width: auto;
}

.imagecaption p {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--font-color);
  margin: 0;
  line-height: 20px;
}

.gallery-cell-middle {
  text-align: center;
}

.csvideo {
  width: auto;
  height: auto;
  margin: auto;
  max-width: 100%;
}



























/* WORK */

.work {
  width: 100%;
  display: block;
  background-color: var(--work);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#filters {
  margin: 0px 20px 15px 20px;
  padding: 0;
  list-style: none;
  text-align: center;
}

#filters li {
  text-align: center;
  display: inline-block;
}

#filters li span {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--font-color);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#filters li span.mixitup-control-active {
  color: var(--color-primary);
}

#filters li span:hover {
  color: var(--color-primary);
}

#filters li span.mixitup-control-active:hover {
  color: var(--color-primary);
}


#portfoliolist {
  text-align: center;
}

#portfoliolist .mix {
  width: 13%;
  margin: 10px 1%;
  display: inline-block;
  position: relative!important;
}

#portfoliolist .portfolio {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

.portfolio-wrapper {
  position: relative !important;
  transform: translateZ(0);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.portfolio img {
  max-width: 100%;
  position: relative;
  top: 0;
  opacity: 0.5;
  -webkit-filter: var(--invert);
  transform: translateZ(0);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.portfolio a {
  cursor: zoom-in!important;
}

.portfolio .label {
  position: relative;
  width: 10%;
  height: 5px;
  opacity: 0;
  margin: auto;
  background-color: var(--color-primary);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.portfolio:hover .label {
  bottom: 0px;
  height: 5px;
  width: 100%;
  opacity: 1;
}

.portfolio:hover img {
  top: 0;
  opacity: 0.9;
}
.portfolio:hover .portfolio-wrapper {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}








/* CLIENTS */

.clients {
  width: 100%;
  display: block;
  background-color: var(--clients);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  text-align: center;
}

.clients img {
  opacity: 0.8;
  width: 7%;
  margin: 10px 1%;
  display: inline-block;
  -webkit-filter: var(--invert);
}






/* PROCESS */

.process {
  width: 100%;
  height: auto;
  display: block;
  background-color: #ffffff;
  opacity: 0.8;
  min-height: 300px;
  color: #171717;
}











/* CONTACT */

.contact {
  width: 100%;
  height: auto;
  display: block;
  color: var(--bg-color);
  background-color: var(--contact);
  min-height: 500px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.contact .sectionname {
  background-color: var(--casebg);
}
.contact .sectionname h2 {
  color: var(--color-primary);
}

.contact p {
  color: var(--bg-color);
}

.contact a {
  color: var(--bg-color);
}

.contact h2 {
  color: var(--casebg);
}


.contact form input, .contact form textarea {
  background-color: var(--casebg);
  border:0px;
  width:calc(100% - 30px);
  min-height: 50px;
  line-height: 50px;
  padding: 0 15px;
  outline: none;
  color: var(--font-color);
  border-radius: 3px;
}

.contact form textarea {
  line-height: 25px;
  padding: 15px;
}

.contact form input[type="submit"] {
  display: inline-block;
  margin: 10px 0 0 0;
  background-color: var(--casebg);
  padding: 0px 20px;
  height: 50px;
  line-height: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  color: var(--color-primary);
  transform: translateZ(0);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  border-radius: 3px;
  cursor: pointer;
  width: 150px;
}
.contact form input[type="submit"]:hover {
  background-color: var(--bg-color);
}

.contact form input[type="submit"] i {
  margin:0 0 0 15px;
}










/* SOCIAL */

.social {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 30px;
  margin: 0 10px 60px 0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.social .icon {
  margin: 5px 0 0 0;
}
.social .icon a {
  color: var(--font-color);
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.social .icon a:hover {
  color: var(--color-primary);
}











/* FOOTER */

.footer {
  position: fixed;
  bottom: 20px;
  height: 30px;
  line-height: 30px;
  width: calc(100% - 120px);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.footer p {
  color: var(--font-color);
  text-decoration: none;
  text-transform: uppercase;
  height: 30px;
  line-height: 30px;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 400;
  margin: 0;
  float: left;
}

.footer a {
  color: var(--color-primary);
  text-decoration: none;
  text-transform: uppercase;
  height: 30px;
  line-height: 30px;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  float: right;
}











/*                                                                                                              
88888888ba                                                                            88                           
88      "8b                                                                           ""                           
88      ,8P                                                                                                        
88aaaaaa8P'   ,adPPYba,  ,adPPYba,  8b,dPPYba,    ,adPPYba,   8b,dPPYba,   ,adPPYba,  88  8b       d8   ,adPPYba,  
88""""88'    a8P_____88  I8[    ""  88P'    "8a  a8"     "8a  88P'   `"8a  I8[    ""  88  `8b     d8'  a8P_____88  
88    `8b    8PP"""""""   `"Y8ba,   88       d8  8b       d8  88       88   `"Y8ba,   88   `8b   d8'   8PP"""""""  
88     `8b   "8b,   ,aa  aa    ]8I  88b,   ,a8"  "8a,   ,a8"  88       88  aa    ]8I  88    `8b,d8'    "8b,   ,aa  
88      `8b   `"Ybbd8"'  `"YbbdP"'  88`YbbdP"'    `"YbbdP"'   88       88  `"YbbdP"'  88      "8"       `"Ybbd8"'  
                                    88                                                                             
                                    88                                                                             
*/



@media only screen and (max-width: 1600px) {
  /* 1600px - TABLET */


.stats ul li {
      margin: 0 0px 10px 0;
      width: calc(100% - 25px);
      height: auto;
      float: left;
      font-size: 15px;
      background-color: var(--bg-color);
      opacity: 0.8;
      padding: 10px 15px 10px 15px;
}


.cspicture {
    width: 100%;
    height: 300px;
    display: block;
    overflow: hidden;
    margin: 0;
    position: absolute;
    top: 0%;
    left: 0%;
    transform: none;
}


.cscontent {
    background-color: var(--glass);
    padding: 60px;
    width: calc(100% - 130px);
    margin: 220px 0 0 0;
    float: none;
    right: 0;
}


}





@media only screen and (max-width: 1020px) {
  /* 1020px - TABLET */

  /* width */
  ::-webkit-scrollbar {
    width: 5px;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    width: 5px;
  }

  .logo {
    font-size: 15px;
    letter-spacing: 2px;
  }

  .mobilemenu {
    display: block;
  }

  .mobilemenu .closemobmenu {
    display: none;
  }

  .mobilemenu.active .openmobmenu {
    display: none;
  }

  .mobilemenu.active .closemobmenu {
    display: block;
  }

  .menu {
    top: 0;
    height: 30px;
    line-height: 30px;
    width: calc(100% - 60px);
    z-index: 5;
  }

  .menuright {
    display: none;
    background-color: var(--glass);
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transform: translateZ(0);
    backdrop-filter: blur(20px);
  }

  .menuright a {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0 60px;
    margin: 0;
  }
  .menuright a:hover {
    background-color: var(--altbg);
  }

  /* The switch - the box around the slider */
  .switch {
    width: 80px;
    height: 20px;
    margin: 5px 0 0 0;
  }

  .slider:before {
    height: 16px;
    padding: 0 5px;
    left: 0px;
    bottom: 2px;
    top: 0;
    bottom: 0;
    margin: 2px;
    line-height: 16px;
    font-size: 10px;
  }

  .social {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 15px;
    margin: 0 5px 30px 0;
  }

  .footer {
    bottom: 5px;
    height: 20px;
    line-height: 20px;
    width: calc(100% - 60px);
    text-align: center;
  }

  body {
    position: absolute;
    top: 30px;
    left: 30px;
    bottom: 30px;
    right: 25px;
  }

  /* ABOUT */

  .picture {
    top: 0%;
    left: 0%;
    width: 100%;
    position: relative;
    background-position: top left 30%;
    height: 400px;
    transform: translate(0%, 0%);
  }

  .aboutcontent {
    padding: 25px;
    width: calc(100% - 60px);
    margin: -200px 0px 0px 0px;
    float: none;
    position: relative;
    backdrop-filter: blur(20px);
  }

  .aboutcontent h1 {
    font-size: 25px;
    text-align: left;
    letter-spacing: 0px;
    font-weight: 400;
    margin: 0 0 25px 0;
  }

  /* SKILLS */

  #filters {
    margin: 30px auto 30px auto !important;
    padding: 0;
    list-style: none;
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: auto;
  }


  /* CASE STUDIES */

  .casestudy .casewrap {
    display: block;
    width: calc(100% - 60px);
    height: 100%;
    padding: 0px;
    position: relative;
  }

  .casestudy .casepic {
    width: 100%;
    height: 300px;
    display: block;
    position: relative;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
  }

  .casestudy .casetext {
    width: 100%;
    height: auto;
    display: block;
    float: none !important;
    margin: 0px 0 0 0;
    padding: 20px 30px 0px 30px;
    background-color: var(--altbg);
    backdrop-filter: none;
  }
  
  .brandbox h3 {
    display: none;
  }

  .casestudy .casetext h2 {
    font-size: 25px;
  }

  .casestudy .number {
    top: -300px;
  }

  .cs0 {
    background-position: top left !important;
  }
  .cs1 {
    background-position: top right !important;
  }
  .cs2 {
    background-position: top left !important;
  }
  .cs3 {
    background-position: top right !important;
  }
  .cs4 {
    background-position: top left !important;
  }
  .cs5 {
    background-position: top right !important;
  }


  .cstextbox h1 {
      font-size: 25px;
  }

  .cscontent {
      padding: 30px;
      width: calc(100% - 70px);
  }




  .footer {
    bottom: 5px;
    height: 20px;
    line-height: 20px;
    width: calc(100% - 60px);
  }
  
  .footer p {
    height: 20px;
    line-height: 20px;
  }
  
  .footer a {
    height: 20px;
    line-height: 20px;
  }

  .cswidecontainer .row {
    display: block;
  }

  .cswidecontainer .centertext {
    position: relative;
    top: 0;
    transform: none;
    padding: 20px 0px;
  }


  .clients img {
    width: 16%;
    margin: 10px 1%;
  }





}









@media only screen and (max-width: 600px) {
  /* 600px - MOBILE */

  .inner {
    width: calc(100% - 60px);
    padding: 50px 30px 50px 30px;
  }

  .gallery-cell-inner {
    padding: 150px 0 0 0;
}

  .casestudy .casepic {
    height: 220px;
  }

  .casestudy .number {
    top: -220px;
  }

  #skillslist .mix {
    width: 22%;
    margin: 10px 3%;
  }

  #portfoliolist .mix {
    width: 30%;
    margin: 10px 1%;
  }

  .aboutcontent h1 {
    font-size: 20px;
  }

  .casestudy .casetext h2 {
    font-size: 20px;
  }

  .cstextbox h1 {
    font-size: 20px;
  } 

  a.button {
    padding: 0px 15px;
    letter-spacing: 1px;
    font-size: 12px;
  }

  .brandbox {
    margin: 0px -60px 0px -60px;
  }


}











/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
