@charset "utf-8";

@viewport {
  width: device-width;
  zoom: 1;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}



/* --------------------------------------------------- GLOBALS ------------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
}

html {
	max-width: 100%;
    overflow-x: hidden;
    max-width: 100%;
    height: 100%;
}


body {
	background-color: #eff1f7;
	color: #333;
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
	font-size: 16px;
	min-width: 320px;
	height: 100%;
}


input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


img {
	width: 100%;
}


button {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 700;
    padding: 0;
    border-width: 0;
    border-style: none;
    border-image: none;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s ease-in-out;
}

/* -------------------------------------------------------------- COLORS ----------------------------------------------------------------------------------------- */

/*--- 

red rgb(255, 7, 7);
grey #333;

--- */


/* -------------------------------------------------------------- FONTS ----------------------------------------------------------------------------------------- */

/*---  

	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;

---*/


 /* -------------------------------------------------------------- STRUCTURE ----------------------------------------------------------------------------------------- */


#pageWrap {
  z-index: 0;
  position: relative;
  overflow: hidden;
  height: 100%;
    background-color: #333;
}


.singleCol {
	width: 60%;
	min-height: 80vh;
	position: relative;
	margin: 0 auto;
    padding-top: 20px;

}

/* --------------------------------------------------------------- LINKS -------------------------------------------------------------------------------------------- */


a:link {
  color: #333;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  text-decoration: none;
  -webkit-transition: 0.5s;
     -moz-transition: 0.5s;
     -o-transition: 0.5s;
     -ms-transition: 0.5s;
     transition: 0.5s;
}

a:visited { 
  color: #333;
  text-decoration: none;
  
}

a:focus { 
  color:  #333;
  text-decoration: none;

}
   
a:active { 
	color:  #333;
  text-decoration: none;
}


a:hover {
  color:  rgb(255, 7, 7);
}


a {
   outline: 0;
}

/* ----------------------------------------     +++++    +++++    +++++++    +++++      ++++++     ------------------------------------------------- */
/* ----------------------------------------     ++++++   +++++  ++++   ++++   ++++++   ++++++     ------------------------------------------------- */
/* ----------------------------------------     ++++++++++++++  +++++++++++    ++++++  +++++     ------------------------------------------------- */
/* ----------------------------------------     +++++  +++++++  ++++   ++++     +++++++++++     ------------------------------------------------- */
/* ----------------------------------------     +++++    +++++  ++++   ++++      +++++++++    ------------------------------------------------- */

nav {
    position: fixed;
    right: 10px;
    top: 10px;
    width: 80%;
    z-index: 8;
    animation-name: rightIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 1s;
    animation-fill-mode:forwards;
}

@keyframes rightIn {
    0% {
        right: -350px;
    }
    100% {
        right: -20px;
    }
}

#emailButton {
    color: #333;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    text-decoration: none;
    -webkit-transition: 0.5s;
       -moz-transition: 0.5s;
       -o-transition: 0.5s;
       -ms-transition: 0.5s;
       transition: 0.5s;
       cursor: pointer;
}

#emailButton:hover {
    color:  rgb(255, 7, 7);
}


.emailCopied-message {
    position: absolute;
    right: -100%;
    width: 300px;
    top: 50px;
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: .25rem;
    -webkit-transition: 0.5s;
       -moz-transition: 0.5s;
       -o-transition: 0.5s;
       -ms-transition: 0.5s;
       transition: 0.5s;
}

.emailCopied-message p {
    padding-right: 50px;
    width: 260px;
    font-size: .8rem;
    line-height: 1rem;
}

.emailCopied-success {
    right: 0;
}


.headerNav {
	position: absolute;
	right: 0;
	text-align: left;
    border-bottom: 2px solid #333;
    width: 300px;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s ease-in-out;
}

.remove-nav-borderBottom {
    border-bottom: 1px solid transparent;
}

.headerNav li {
	text-align: right;
	padding-right: 10px;
    padding-bottom: 10px;
	font-size: .9em;
	letter-spacing: 0.04rem;
	display: inline-block;
}

@media screen and ( max-width: 400px) {
    .headerNav {
        width: 250px;
    }
}

@media screen and ( max-width: 300px) {
    .headerNav {
        width: 225px;
    }
}


/* ----------------------------------------     +++++    +++++  +++++++++++  ++++++++++++   ++++++++++     ------------------------------------------------- */
/* ----------------------------------------     +++++    +++++  ++++++       +++     ++++   ++++  ++++     ------------------------------------------------- */
/* ----------------------------------------     ++++++++++++++  +++++++++++  +++   +++      ++++  ++++     ------------------------------------------------- */
/* ----------------------------------------     +++++    +++++  ++++++       +++     +++    ++++  ++++     ------------------------------------------------- */
/* ----------------------------------------     +++++    +++++  +++++++++++  +++     +++++  ++++++++++     ------------------------------------------------- */


.hero {
	height: 60vh;
	width: 100vw;
	margin: 0 0;
	position: fixed;
	z-index: 7;
	overflow: hidden;
    background-color: #ffffffe3;
    -webkit-transition: 0.5s;
     -moz-transition: 0.5s;
     -o-transition: 0.5s;
     -ms-transition: 0.5s;
     transition: 0.5s;
}

.portOpen {
    height: 80px;
    background-color: #fffefe;
}


.videoContainer {
    position: fixed;
    height: 60vh;
    width: 100vw;
    overflow: hidden;
    z-index: 3;
    background-color: #333;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s ease-in-out;
}

.noVid {
    opacity: 0;
}



.videoContainer > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
		filter: brightness(250%);
		filter: contrast(250%);
		-webkit-filter: grayscale(100%);
		-moz-filter: grayscale(100%);
		-ms-filter: grayscale(100%);
		-o-filter: grayscale(100%);
		filter: grayscale(100%);
		

}


  /* 1. No object-fit support: */
  @media (min-aspect-ratio: 16/9) {
    .videoContainer > video { height: 300%; top: -100%; }
  }
  @media (max-aspect-ratio: 16/9) {
    .videoContainer > video { width: 300%; left: -100%; }
  }
  /* 2. If supporting object-fit, overriding (1): */
  @supports (object-fit: cover) {
    .videoContainer > video {
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: cover;
    }
  }

	

.navLogo {
	width: 250px;
    position: absolute;
    left: -20px;
    top: 35px;
    padding-top: 20px;
    padding-left: 50px;
    margin-left: -20px;
    padding-right: 0px;
    border-top: 2px solid #333;
    animation-name: leftIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 1s;
    animation-fill-mode:forwards;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    -ms-transition: 0.4s;
    transition: 0.4s ease-in-out;
}


@keyframes leftIn {
    0% {
        left: -350px;
    }
    100% {
        left: 5px;
    }
}


.hide-logo-borderTop {
    border-top: 1px solid transparent;
    width: 50px;
    top: -85px;
    left: 20px;
    margin-left: 10px;
    padding-top: 0;
    padding-left: 0;
}


.navLogo svg {
	width: 100%;
	stroke: #333;
	fill: #333;
}


@media screen and ( max-width: 1119px) {
    .navLogo {
        width: 150px;
        position: absolute;
        left: -20px;
        top: -40px;
        padding-top: 5px;
        padding-left: 50px;
        margin-left: -20px;
        padding-right: 0px;
        border-top: 0px solid transparent;
    }

    .hide-logo-borderTop {
        width: 50px;
        top: -90px;
        left: 20px;
        padding-left: 0;
        margin-left: 10px;
    }
}

@media screen and ( max-width: 700px) {
    .navLogo {
        width: 75px;
        position: absolute;
        left: 50px;
        top: -70px;
        padding-top: 5px;
        padding-left: 0;
        margin-left: 5px;
    }

    .hide-logo-borderTop {
        width: 45px;
        top: -90px;
        left: 20px;
        padding-left: 0;
    }

}

@media screen and ( max-width: 374px) {
    .navLogo {
        width: 45px;
        top: -90px;
        left: 20px;
    }

    .hide-logo-borderTop {
        width: 45px;
        top: -90px;
        left: 20px;
        padding-left: 0;
    }

}




.heroText {
	position: absolute;
    left: 45%;
    bottom: 31%;
	z-index: 6;
    width: 320px;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s ease-in-out;
}

.tr3 {
    font-size: 1.5rem;
    position: absolute;
    left: -245px;
    bottom: 95px;
}

.heroText h1 {
	font-size: 2.3rem;
	text-align: left;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
	color: #333;
	letter-spacing: 0.04rem;
	padding: 32px 0;
}

.heroText::before {
    content: "{";
    font-size: 15rem;
    color:  rgb(255, 7, 7);
    position: absolute;
    left: -65px;
    bottom: 5px;
}

.heroText::after {
    content: "}";
    font-size: 15rem;
    color:  rgb(255, 7, 7);
    position: absolute;
    right: -30px;
    bottom: 5px;
}


@media screen and ( max-width: 1119px) {
    .heroText {
        position: absolute;
        left: 40%;
        bottom: 31%;
        width: 320px;
    }
}

@media screen and ( max-width: 750px)
and (orientation: portrait) {
    .heroText {
        left: 30%;
        bottom: 31%;
        width: 200px;
    }

    .heroText h1 {
        font-size: 1.3rem;
        letter-spacing: 0.04rem;
        padding: 32px 0;
    }

    .heroText::before {
        content: "{";
        font-size: 7rem;
        color:  rgb(255, 7, 7);
        position: absolute;
        left: -35px;
        bottom: 25px;
    }

    .heroText::after {
        content: "}";
        font-size: 7rem;
        color:  rgb(255, 7, 7);
        position: absolute;
        right: 5px;
        bottom: 25px;
    }

    .tr3 {
        font-size: 1.2rem;
        font-weight: 700;
        position: absolute;
        left: 5px;
        bottom: 130px;
    }

}

@media screen and ( max-width: 900px)
and (orientation: landscape) {
    .heroText {
        left: 40%;
        bottom: 17%;
        width: 200px;
    }

    .heroText h1 {
        font-size: 1.3rem;
        letter-spacing: 0.04rem;
        padding: 32px 0;
    }

    .heroText::before {
        content: "{";
        font-size: 7rem;
        color:  rgb(255, 7, 7);
        position: absolute;
        left: -35px;
        bottom: 25px;
    }

    .heroText::after {
        content: "}";
        font-size: 7rem;
        color:  rgb(255, 7, 7);
        position: absolute;
        right: 5px;
        bottom: 25px;
    }

    .tr3 {
        font-size: 1.2rem;
        font-weight: 700;
        position: absolute;
        left: 5px;
        bottom: 130px;
    }

}

@media screen and ( max-width: 420px) {
    .heroText {
        left: 32%;
        bottom: 35%;
        width: 200px;
    }
}


@media screen and ( max-width: 376px) {
    .heroText {
        left: 27%;
        bottom: 30%;
        width: 200px;
    }
}

@media screen and ( max-width: 300px) {
    .heroText {
        left: 20%;
        bottom: 30%;
    }
}


@media screen and ( max-width: 700px)
and (orientation: landscape) {
    .heroText {
        left: 50%;
        bottom: 13%;
        width: 200px;
    }

    .tr3 {
        font-size: 1.1rem;
        font-weight: 700;
        position: absolute;
        left: -175px;
        bottom: 65px;
    }
}

.fadeHerotext {
    opacity: 0;
}

.sideBar {
    position: fixed;
    right: 25px;
    bottom: 45%;
    display: flex;
    flex-direction: column;
   align-content: space-between;
   -webkit-transition: 0.4s;
   -moz-transition: 0.4s;
   -o-transition: 0.4s;
   -ms-transition: 0.4s;
   transition: 0.4s ease-in-out;
   animation-name: sideIn;
   animation-iteration-count: 1;
   animation-timing-function: ease-in-out;
   animation-duration: 1s;
   animation-fill-mode:forwards;
}

@keyframes sideIn {
   0% {
       right: -100%;
   }
   100% {
       right: 25px;
   }
}


.sideBar_red .sideLink {
    color:rgb(255, 7, 7);
}

.sideBar_red .copyRight {
    color:rgb(255, 7, 7);
}

.sideBar_red .resume {
    background-color:rgb(255, 7, 7);
    color: #333;
}

.sideBar_red a.sideLink:hover {
    color: #fff;
}

.sideBar_red a.resume:hover {
    background-color: #fff;
    color: #333;
}

.sideBar i {
    font-size: 1.8rem;
    margin-top: 5px;
}

.copyRight {
    margin-bottom: 10px;
}

.copyRight p:first-child {
    font-size: .6rem;
    padding-bottom: 2.5px;
    border-bottom: 1px solid #333;
}

.sideBar_red .copyRight p:first-child {
    border-bottom: 1px solid rgb(255, 7, 7);
}

.copyRight p:first-child:first-letter  {
    color:rgb(255, 7, 7);
    font-size: .7rem;
}

.copyRight > p {
    font-size: .7rem;
    padding-top: 2.5px;
}


@media screen and ( max-width: 900px) {
    .sideBar {
        display: none;
    }
}



.backtoTop {
    width: 25px;
    text-align: center;
    opacity: 0;
    position: relative;
    color:rgb(255, 7, 7);
    cursor: pointer;
    color:rgb(255, 7, 7);
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    -ms-transition: 0.4s;
    transition: 0.4s ease-in-out;
}

.backtoTop i,
.backtoTop p {
    color:rgb(255, 7, 7);
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s ease-in-out;
}

.backtoTop p {
    margin-top: -5px;
}

.backtoTop:hover > * {
    color: #fff;
}


span.tooltip {
   background-color: rgb(255, 7, 7);
}



.sideBar_red .backtoTop {
    opacity: 1;
}

.sideBar_red .backtoTop-hidden {
    opacity: 0;
}

a.resume  {
    background-color: #333;
    color: #fff;
    padding: 7px 5px;
    font-size: .7rem;
    display: block;
    width: 25px;
    border-radius: .25rem;
}

a.resume:hover {
    background-color: rgb(255, 7, 7);
}

.section-title {
    width: 100%;
    position: absolute;
    border-bottom: 2px solid #333;
    bottom: 20px;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
    animation-name: spielIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 1.2s;
    animation-fill-mode:forwards;
}

@keyframes spielIn {
    0% {
        right: -100%;
    }
    100% {
        right: -34px;
    }
}

.section-title h2 {
    color: #333;
    font-size: 1.58rem;
    font-weight: 700;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.section-title_centered {
    width: 65%;
}

.section-title_about {
    width: 76.3%;
}

@media screen and ( max-width: 400px) {

    @keyframes spielIn {
        0% {
            right: -100%;
        }
        100% {
            right: -15px;
        }
    }

    .section-title_centered {
        width: 82.5%;
    }

    .section-title h2 {
        font-size: .8rem;
        max-width: 300px;
        padding-right: 20px;
    }
}

@media screen and ( max-width: 600px)
and (orientation: landscape) {
    
    .section-title h2 {
        font-size: .8rem;
        padding-right: 20px;
    }
}


/* ----------------------------------------     ++++++++++++++  +++++++++++   ++++++++++++  ++++    ++++  ++++++++++     ------------------------------------------------- */
/* ----------------------------------------     +++++    +++++  ++++    ++++  ++++    ++++  ++++    ++++  ++++++++++     ------------------------------------------------- */
/* ----------------------------------------     ++++++++++++++  +++++++++++   ++++    ++++  ++++    ++++     ++++        ------------------------------------------------- */
/* ----------------------------------------     +++++    +++++  ++++    ++++  ++++    ++++  ++++++++++++     ++++        ------------------------------------------------- */
/* ----------------------------------------     +++++    +++++  +++++++++++   ++++++++++++  ++++++++++++     ++++        ------------------------------------------------- */



.about-section { 
	position: fixed;
	z-index: 4;
    top: 60vh;
	overflow: hidden;
    -webkit-transition: 0.5s;
     -moz-transition: 0.5s;
     -o-transition: 0.5s;
     -ms-transition: 0.5s;
     transition: 0.5s;
}

@media screen and ( max-width: 900px) {
    .about-section { 
        top: 80px;
    }
}

.about-mobile {
    overflow: scroll;
    height: 100vh;
}

.about-section-content {
    bottom: 0;
	height: 0;
    width: 100vw;
	background-color: #333;
    text-decoration: none;
    -webkit-transition: 0.5s;
     -moz-transition: 0.5s;
     -o-transition: 0.5s;
     -ms-transition: 0.5s;
     transition: 0.5s;
}

.about-section_open {
    height: 40vh;
}

@media screen and ( max-width: 900px) {
    .about-section_open {
        height: 100vh;
    }
}


.aboutText {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	position: relative;
    width: 80%;
    margin: 0 auto;
    padding-top: 20px;
    -webkit-transition: 0.5s;
     -moz-transition: 0.5s;
     -o-transition: 0.5s;
     -ms-transition: 0.5s;
     transition: 0.5s;
    transform: translateY(-100%);
}

.about-section_open .aboutText {
    transform: translateY(0);
}

@media screen and ( max-width: 900px) {
    .aboutText {
        display: block;
        width: 100%;
        margin: 0 0;
        background-color: #333;
        padding-bottom: 50px;
    }
}

.about-summary {
	width: 61%;
	color: #eff1f7;
}

.about-summary p {
	letter-spacing: 0.07rem;
	line-height: 1.3rem;
	font-size: 0.85rem;
	border-left: 1px solid rgb(255, 7, 7);
	padding-left: 10px;
	display: inline-block;
}

.about-summary p:first-of-type {
	margin-right: 40px;
}

@media screen and ( max-width: 900px) {
    .about-summary {
        width: 90%;
        margin: 0 auto;
    }

    .about-summary p {
        border-left: none;
        border-bottom: 1px solid rgb(255, 7, 7);
        padding-left: 0;
        padding-bottom: 10px;
       
    }
}


.about-cards {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	margin: 25px 0;
}

.card {
	width: 300px;
    margin: 0 10px;
	position: relative;
	overflow: hidden;
	border-radius: .25rem;
}

.card h3 {
	text-transform: uppercase;
	color:  #eff1f7;
	font-size: 1.5rem;
	padding-bottom: 10px;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
    border-bottom: 1px solid #eff1f7;
}

.card > i {
	color:  rgb(255, 7, 7);
    font-size: 2rem;
    padding-bottom: 5px;
}



.card p {	
	position: relative;
	z-index: 4;
	color:  #eff1f7;
    padding-top: 10px;
    font-size: .9rem;
    line-height: 1.3rem;
}


@media screen and ( max-width: 900px) {
    .about-cards {
        display: block;
        margin: 25px 0;
        padding-bottom: 25px;;
    }
    
    .card {
        width: 300px;
        margin: 10px auto;
        padding-bottom: 20px;
    }
}


@media screen and ( max-width: 300px) {

    .card {
        width: 220px;
        margin: 10px auto;
        padding-right: 20px;
    }
}


/* ----------------------------------------  +++++        +++++   ++++++++++    ++++++++++++    +++++   ++++  ------------------------------------------------ */
/* ----------------------------------------   +++++  ++  +++++    ++++  ++++    +++     ++++    +++++ ++++    ------------------------------------------------- */
/* ----------------------------------------    ++++++++++++++     ++++  ++++    +++   +++       +++++++       ------------------------------------------------- */
/* ----------------------------------------     ++++++++++++      ++++  ++++    +++     +++     +++++ ++++    ------------------------------------------------- */
/* ----------------------------------------      ++++  ++++       ++++++++++    +++     +++++   +++++   ++++  ------------------------------------------------- */


.workSection {
	position: fixed;
    bottom: 0;
	z-index: 3;
    height: 40vh;
    width: 100vw;
    overflow-y: hidden;
    -webkit-transition: 0.5s;
     -moz-transition: 0.5s;
     -o-transition: 0.5s;
     -ms-transition: 0.5s;
     transition: 0.5s;
     background-color: #333;
}

.portfolio-section-open {
   height: 100vh;
   padding-top: 80px;
   overflow-x: hidden;
   overflow-y: scroll;
}


#portfolio-list {
    position: relative;
}


.portfolioProject {
	height: 40vh;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
    background-color:#333; 
}


@media screen and ( max-width: 1100px) {
    .portfolioProject {
        height: 40vh;
    }

}


.project-summary  {
	padding: 50px 70px 50px 50px;
	color: #eff1f7;
	position: absolute;
	width: 30vw;
    height: 40vh;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	z-index: 5;
    background-color: #333;
}

.project-summary  h4 {
	font-size: 2.5rem;
	font-weight: 700;
    line-height: 2.8rem;
	padding-bottom: 25px;
	letter-spacing: 0.08rem;
	border-left: 2px solid rgb(255, 7, 7);
	padding-left: 5px;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
}


.project-summary  p {
	font-size: .9rem;
	font-weight: 300;
	letter-spacing: 0.04rem;
	padding-left: 8px;
	margin-top: -12px;
	margin-bottom: 15px;
}




a.projectLink {
	display: inline-block;
	text-align: right;
	font-size: .9rem;
	font-weight: 500;
	letter-spacing: 0.04rem;
	width: 110px;
	padding: 10px 15px;
	margin-bottom: 10px;
    margin-right: 5px;
	background-color: rgb(255, 7, 7);
    color: #fff;
	border-radius: .25rem;
	-webkit-transition: 0.5s;
     -moz-transition: 0.5s;
     -o-transition: 0.5s;
     -ms-transition: 0.5s;
     transition: 0.5s;
	 align-self: flex-end;
}

p.projectOpener {
    text-align: center;
    width: 110px;
    border: 1px solid #fff;
    padding: 10px 5px;
    margin-top: 5px;
    margin-right: 5px;
    background-color: transparent;
    border-radius: .25rem;
    color: #fff;
    font-size: 0.7rem;
    line-height: 1.1rem;
    letter-spacing: 0.05rem;
    align-self: flex-end;
    -webkit-transition: 0.5s;
     -moz-transition: 0.5s;
     -o-transition: 0.5s;
     -ms-transition: 0.5s;
     transition: 0.5s;
    cursor: pointer;
}

@media screen and ( max-width: 1625px) {
    .project-summary  h4 {
        font-size: 2rem;
        line-height: 2.3rem;
    }

    .project-summary  {
        padding: 40px 70px 50px 30px;
    }
}

@media screen and ( max-width: 1376px) {
    .project-summary  h4 {
        font-size: 1.5rem;
        line-height: 1.8rem;
    }

    .project-summary  {
        padding: 30px 70px 50px 20px;
    }

}


@media screen and ( max-width: 1100px) {
    .project-summary  h4 {
        font-size: 1.3rem;
        line-height: 1.5rem;
    }

    .project-summary  {
        padding: 30px 70px 50px 20px;
        width: 40vw;
        height: 40vh;
    }

}


@media screen and ( max-width: 1025px) {
 

    .project-summary  {
        padding: 30px 70px 50px 20px;
        width: 100vw;
        height: 40vh;
        background-color: rgba(51, 51, 51, 0.7);
    }

    .project-summary  h4 {
        font-size: 2rem;
        line-height: 2.3rem;
    }

}

@media screen and ( max-width: 900px) {
 

    .project-summary  {
        padding: 30px 70px 50px 20px;
        width: 100vw;
        height: 40vh;
        background-color: rgba(51, 51, 51, 0.8);
    }

}


@media screen and ( max-width: 900px)
and (orientation: landscape) {
    a.projectLink {
        margin-top: -70px;
    }

    .project-summary  h4 {
        font-size: 1.3rem;
        line-height: 1.6rem;
    }
    
    .project-summary  p {
        margin-bottom: 0;
    }
}

@media screen and ( max-width: 376px)
and ( orientation: portrait) {
    .project-summary  {
        padding: 30px 55px 50px 20px;
    }

    .project-summary  h4 {
        font-size: 1.2rem;
        line-height: 1.5rem;
    }

    p.projectType {
        width: 125px;
    }

    a.projectLink {
        margin-top: -50px;
    }

    .last {
        margin-top: -75px;
    }
    
}

@media screen and ( max-width: 300px)
and ( orientation: portrait) {
    .project-summary  {
        padding: 30px 50px 20px 20px;
    }

    .project-summary  h4 {
        font-size: 1.2rem;
        line-height: 1.5rem;
    }

    p.projectType {
        width: 195px;
    }

    a.projectLink {
        margin-top: -15px;
    }

    .last {
        margin-top: -75px;
    }
    
}

@media screen and ( max-width: 600px) 
and ( orientation: landscape) {
    .project-summary  {
        padding: 20px 55px 50px 20px;
    }

    .project-summary  h4 {
        font-size: 1.2rem;
        line-height: 1.5rem;
    }

    p.projectType {
        width: 350px;
    }

    a.projectLink {
        margin-top: -55px;
    }
    
    p#last {
        margin-top: -10px;
    }
}


.projectOpener:hover {
    background-color: rgba(255, 255, 255, 0.349);
}

a.projectLink:hover {
	background-color: #eff1f7;
    color: #333;
}

.portRight {
    right: 0;
}

.portLeft {
    left: 0;
}


.projModal {
    position: fixed;
    display: flex;
    flex-direction: row;
    background-color: #333;    
    z-index: 1;
    width: 0;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    -webkit-transition: 0.8s ease-in-out;;
    -moz-transition: 0.8s ease-in-out;;
    -o-transition: 0.8s ease-in-out;;
    -ms-transition: 0.8s ease-in-out;;
    transition: 0.8s ease-in-out;
}

.isActive {
    z-index: 88;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
}

.banner {
    width: 30%;
    background-color: #333;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding-right: 100px;
    padding-top: 100px;
    height: 100%;
    flex-grow: 2;
}




@media screen and ( max-width: 1023px) 
and ( orientation: landscape) {
    .banner {
        display: none;
       }
}


@media screen and ( max-width: 900px) 
and ( orientation: portrait) {
    .banner {
        display: none;
       }
}


.projTitle {
    margin-left: 25px;
    margin-top: 2px;
    margin-bottom: 20px;
}

.projTitle p {
    font-size: .8rem;
	font-weight: 400;
	padding-bottom: 20px;
    line-height: 1rem;
	letter-spacing: 0.06rem;
	border-left: 1px solid rgb(255, 7, 7);
	padding-left: 5px;
}


.projSummary p:last-child {
    padding-bottom: 0;
}

.projectDetails {
    margin-left: 25px;
    margin-top: 15px;
}

.probCard,
.solutionCard,
.toolsCard {
    margin-bottom: 10px;
}

.probCard h4,
.solutionCard h4,
.toolsCard h4 {
    font-size: 1rem;
	font-weight: 700;
	padding-bottom: 25px;
	letter-spacing: 0.06rem;
	border-left: 1px solid rgb(255, 7, 7);
	padding-left: 5px;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.probCard p,
.solutionCard p,
.toolsCard p {
    font-size: .8rem;
	font-weight: 400;
	padding-bottom: 25px;
	letter-spacing: 0.06rem;
	padding-left: 6px;
    margin-top: -13px;
    line-height: 1rem;
}

.closeBtn {
    text-align: center;
    margin-right: 5px;
    width: 110px;
    cursor: pointer;
    border: 1px solid #fff;
    padding: 10px 5px;
    border-radius: .25rem;
    line-height: 1.1rem;
    letter-spacing: 0.09rem;
    align-self: flex-end;
    -webkit-transition: 0.5s;
     -moz-transition: 0.5s;
     -o-transition: 0.5s;
     -ms-transition: 0.5s;
     transition: 0.5s;
}

.closeBtn:hover {
    background-color: rgba(255, 255, 255, 0.349);
}


@media screen and ( max-width: 1100px) 
and ( orientation: landscape) {
    .banner {
        width: 38%;
        padding-right: 55px;
    }


}

@media screen and ( max-height: 900px) 
and ( orientation: landscape) {
    .projTitle p {
        font-size: .65rem;
        font-weight: 400;
        padding-bottom: 5px;
        line-height: 1rem;
        letter-spacing: 0.06rem;
        padding-left: 5px;
    }

    .probCard h4,
    .solutionCard h4,
    .toolsCard h4 {
        font-size: .8rem;
        font-weight: 700;
        padding-bottom: 10px;
        letter-spacing: 0.06rem;
        padding-left: 5px;
    }

    .probCard p,
    .solutionCard p,
    .toolsCard p {
        font-size: .65rem;
        font-weight: 400;
        padding-bottom: 10px;
        letter-spacing: 0.06rem;
        padding-left: 6px;
        margin-top: -9px;
        line-height: 1rem;
    }

    .about-summary {
        width: 95%;
    }

    .about-cards {
        margin: 15px 0;
    }

    .card > i {
        font-size: 1.65rem;
    }

    .card h3 {
        font-size: 1.2rem;
        padding-bottom: 5px;
    }

    .card p {
        padding-top: 5px;
        font-size: .8rem;
        line-height: 1.1rem;
        letter-spacing: 0.06rem;
    }

}



@media screen and ( max-width: 900px) 
and ( orientation: portrait) {
    .projModal {
        display: block;
        overflow-y: scroll;
    }

}


/* ------------------------------------------------------------- CAROUSEL ------------------------------------------------- */

.projectCarousel {
    width: 70%;
}

@media screen and ( max-width: 1025px) 
and ( orientation: landscape) {
    
    .projectCarousel {
        width: 100%;
    }

}

@media screen and ( max-width: 900px) 
and ( orientation: portrait) {
    
    .projectCarousel {
        width: 100%;
    }
}

.slider {
	position: relative;
	overflow: hidden;
	height: 100vh;
	width: 100%;
}

.slide {
	position: absolute;
	top: 50px;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
    background-color: rgb(255, 7, 7);
}
.slide.current {
	opacity: 1;
	z-index: 3;
}



/* -------------------------- LEHPD ------------------------------------ */


#valken {
    position: relative;
}

#valken::before {
    background-image: url('images/valken_thumbnail_LRG.jpg'); 
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    content: '';
    height: 100%;
    width: 100%;
    will-change: transform;
    z-index: 1;
    background-position: calc(0vw - 1%) 0;
  }

@media screen and ( max-width: 1100px) {
    #valken::before {
        background-image: url('images/valken_thumbnail_SML.jpg');
    }
}

@media screen and ( max-width: 1025px) {
    #valken {
        background-size: 200%;
    }
}


#valken .slide:first-child {
	background-image: url('images/valken_slide1LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;

}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#valken .slide:first-child {
		background-image: url('images/valken_slide1SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#valken .slide:nth-child(2) {
	background-image: url('images/valken_slide1LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#valken .slide:nth-child(2) {
		background-image: url('images/valken_slide1SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}


#valken .slide:nth-child(3) {
	background-image: url('images/valken_slide1LRG.jpg');
    background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#valken .slide:nth-child(3) {
		background-image: url('images/valken_slide1SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}


#valken .slide:nth-child(4) {
	background-image: url('images/valken_slide1LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#valken .slide:nth-child(4) {
		background-image: url('images/valken_slide1SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}


#valken .slide:nth-child(5) {
	background-image: url('images/valken_slide1LRG.jpg');
    background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

    #valken .slide:nth-child(5) {
		background-image: url('images/valken_slide1SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

/*----------------------------- GALLERY PAGE ---------------------------- */

body {
    background-color: #333;
    height: 100vh;
}

.gallery_main {
    max-width: 80vw;
    margin: 0 auto;
    min-height: 100vh;
    font-family: sans-serif;
}

.gallery_main h1 {
    width: 100%;
    border-bottom: 2px solid rgb(255, 255, 255);
    padding-bottom: 10px;
    margin: 25px 0;
    font-size: 2rem;
    color: white;
}

.gallery_main p {
    color: white;
    padding-bottom: 25px;
}

.gallery_grid {
    position: absolute;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    width: 80vw;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
    column-gap: 10px;
    row-gap: 10px;
    padding-bottom: 50px;
}

.gallery_grid_item {
    text-align: center;
    width: 300px;
    height: 300px;
    position: relative;
    border-radius: .25rem;
    cursor: pointer;
}

.gallery_grid_item img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: .25rem;
}

.gallery_item_title {
    padding-top: 50%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-transform: uppercase;
    border-radius: .25rem;
    letter-spacing: .02rem;
    opacity: 0;
    border-bottom: 2px solid rgb(255, 7, 7);
}

.gallery_grid_item:hover .gallery_item_title {
    opacity: 1;
    transition: .5s ease-in-out;
}

/* lightbox */

.lightbox {
    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 100%;
    overflow: auto;
    top: 0;
    left: 0;
}

.lightbox-content {
    position: relative;
    width: 85%;
    height: 90%;
    margin: 2.5% auto;
    z-index: 98;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 98;
    object-fit: contain;
}

.fa {
    cursor: pointer;
    position: absolute;
    top: 50%;
    z-index: 99;
    opacity: 35%;
    transition: .5s ease-in-out;
} 

.fa:hover {
    opacity: 1;
}

.fa-angle-left {
    content: url('images/galleryImg/web_arrow_prev.png');
    display: inline-block;
    left: 1%;

}

.fa-angle-right {
    content: url('images/galleryImg/web_arrow_next.png');
    display: inline-block;
    right: 1%;
}   

.lightbox-close {
    content: url('images/galleryImg/close_button.png');
    display: inline-block;
    position: fixed;
    right: 5%;
    top: 5%;
    cursor: pointer;
    z-index: 99;
    opacity: 35%;
    transition: .5s ease-in-out;
}

.lightbox-close:hover {
    opacity: 1;
}



/* -------------------------- MONROE ------------------------------------ */

#monroe {
	position: relative;
}

#monroe::before {
    background-image: url('images/monroe_thumbnailLRG.jpg'); 
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    content: '';
    height: 100%;
    width: 100%;
    will-change: transform;
    z-index: 1;
    background-position: calc(100% - 0vw) 0;
  }

@media screen and ( max-width: 1100px) {
    #monroe {
        background-image: url('images/monroe_thumbnailSML.jpg');
        background-size: 80%;
    }
}

@media screen and ( max-width: 1025px) {
    #monroe {
        background-size: 200%;
    }
}

#monroe .slide:first-child {
	background-image: url('images/monroe_slide1LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;

}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) { 

	#monroe .slide:first-child {
		background-image: url('images/monroe_slide1SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}


#monroe .slide:nth-child(2) {
	background-image: url('images/monroe_slide2LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#monroe .slide:nth-child(2) {
		background-image: url('images/monroe_slide2SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}


#monroe .slide:nth-child(3) {
	background-image: url('images/monroe_slide3LRG.jpg');
    background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#monroe .slide:nth-child(3) {
		background-image: url('images/monroe_slide3SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}


#monroe .slide:nth-child(4) {
	background-image: url('images/monroe_slide4LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#monroe .slide:nth-child(4) {
		background-image: url('images/monroe_slide4SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}



/* -------------------------- LEHT ------------------------------------ */

#leht {
    position: relative;
}

#leht::before {
    background-image: url('images/leht_thumbnailLRG.jpg'); 
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    content: '';
    height: 100%;
    width: 100%;
    will-change: transform;
    z-index: 1;
    background-position: calc(0vw - 1%) 0;
  }

@media screen and ( max-width: 1100px) {
    #leht::before { 
        background-image: url('images/leht_thumbnailSML.jpg');
        background-size: 80%;
    }
}

@media screen and ( max-width: 1025px) {
    #leht {
        background-size: 200%;
    }
}

#leht .slide:first-child {
	background-image: url('images/leht_slide1LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 75px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#leht .slide:first-child {
		background-image: url('images/leht_slide1SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#leht .slide:nth-child(2) {
	background-image: url('images/leht_slide2LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 75px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#leht .slide:nth-child(2) {
		background-image: url('images/leht_slide2SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#leht .slide:nth-child(3) {
	background-image: url('images/leht_slide3LRG.jpg');
    background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 75px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#leht .slide:nth-child(3) {
		background-image: url('images/leht_slide3SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#leht .slide:nth-child(4) {
	background-image: url('images/leht_slide4LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 75px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

    #leht .slide:nth-child(4) {
		background-image: url('images/leht_slide4SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}


/* -------------------------- FORD ------------------------------------ */

#ford {
	background-image: url('images/ford_thumbnailLRG.jpg'); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: calc(100% - 0vw) 0;
}

@media screen and ( max-width: 1100px) {
    #ford {
        background-image: url('images/ford_thumbnailSML.jpg');
        background-size: 80%;
    }
}

@media screen and ( max-width: 1025px) {
    #ford {
        background-size: 200%;
    }
}

#ford .slide:first-child {
	background-image: url('images/ford_slide1LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;

}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#ford .slide:first-child {
		background-image: url('images/ford_slide1SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#ford .slide:nth-child(2) {
	background-image: url('images/ford_slide2LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#ford .slide:nth-child(2) {
		background-image: url('images/ford_slide2SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#ford .slide:nth-child(3) {
	background-image: url('images/ford_slide3LRG.jpg');
    background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

    #ford .slide:nth-child(3) {
		background-image: url('images/ford_slide3SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#ford .slide:nth-child(4) {
	background-image: url('images/ford_slide4LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#ford .slide:nth-child(4) {
		background-image: url('images/ford_slide4SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}


/* -------------------------- BELLIA ------------------------------------ */

#bellia {
	background-image: url('images/bellia_thumbnailLRG.jpg'); 
    background-repeat: no-repeat;
    background-size: cover;
}



@media screen and ( max-width: 1100px) {
    #bellia {
        background-image: url('images/bellia_thumbnailSML.jpg');
        background-size: 80%;
    }
}

@media screen and ( max-width: 1025px) {
    #bellia {
        background-size: 200%;
    }
}

#bellia .slide:first-child {
	background-image: url('images/bellia_slide1LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;

}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#bellia .slide:first-child {
		background-image: url('images/bellia_slide1SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#bellia .slide:nth-child(2) {
	background-image: url('images/bellia_slide2LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#bellia .slide:nth-child(2) {
		background-image: url('images/bellia_slide2SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#bellia .slide:nth-child(3) {
	background-image: url('images/bellia_slide3LRG.jpg');
    background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#bellia .slide:nth-child(3) {
		background-image: url('images/bellia_slide3SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#belliaD .slide:nth-child(4) {
	background-image: url('images/bellia_slide4LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#bellia.slide:nth-child(4) {
		background-image: url('images/bellia_slide4SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}


/* -------------------------- VARIOUS ------------------------------------ */

#various {
	background-image: url('images/various_thumbnailLRG.jpg'); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: calc(100% - 0vw) 0;
}

@media screen and ( max-width: 1100px) {
    #various {
        background-image: url('images/various_thumbnailSML.jpg');
        background-size: 80%;
    }
}

@media screen and ( max-width: 1025px) {
    #various {
        background-size: 200%;
    }
}

#various .slide:first-child {
	background-image: url('images/various_slide1LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;

}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

    #various .slide:first-child {
		background-image: url('images/various_slide1SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#various .slide:nth-child(2) {
	background-image: url('images/various_slide2LRG.jpg');
	background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}

@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#various .slide:nth-child(2) {
		background-image: url('images/various_slide2SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}

#various .slide:nth-child(3) {
	background-image: url('images/various_slide3LRG.jpg');
    background-repeat: no-repeat;
    background-size: 70%;
    background-attachment: fixed;
    background-position: 0 80px;
}


@media all and (max-width: 800px),
screen and ( max-height: 513px) 
and ( orientation: landscape) {

	#various .slide:nth-child(3) {
		background-image: url('images/various_slide3SML.jpg');
		background-attachment: scroll;
        background-size: 100%;
        background-position: center 40px;
	}
	
}


@media screen and ( max-width: 900px) 
and ( orientation: portrait) {
    
    .slide.current {
        background-size: 100% !important;
        background-position: center 40px !important;
    }

}


.slide .content {
	position: absolute;
	top: 72%;
	right: -100%;
	width: 98%;
	color: #fff;
}


@media all and (max-width: 1550px) {
    .slide .content {
        top: 65%;
    }
}


@media all and (max-width: 1499px) {
    p.slideCopy {
        font-size: .8rem;
    }
}

@media all and (max-width: 1200px) {
    .slide .content {
        top: 55%;
    }

}


.slide .content h2 {
	font-size: 1.7em;
	margin-bottom: 10px;
	text-transform: uppercase;
	border-bottom: 2px solid #333;
}

.slide .content p {
    width: 55%;
    line-height: 1.3rem;
}


.slide.current .content {
	right: 0;
	transition: all 0.8s ease-in-out 0.2s;
}


@media screen and ( max-width: 900px) 
and ( orientation: portrait) {
    
    .slide.current {
        background-size: 100% !important;
        background-position: center 40px !important;
    }

    .slide .content {
        top: 30%;
    }

    .slide .content h2 {
        font-size: 1.1em;
        padding-bottom: 10px;
    }

    .slide .content p {
        width: 90%;
    }

}


.buttons {
    position: fixed;
    z-index: 99;
    height: 5vh;
    bottom: -100%;
    right: 0;
    left: 0;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
}

.on-display {
    bottom: 12px;
    width: 70%;
}

.buttons button {
	border: 2px solid #333;
	background-color: transparent;
	border-radius: .25rem;
	color: #333;
	cursor: pointer;
	padding: 7px 9px;
	transition: 0.5s;
	outline: none; 
}


.buttons button:hover {
	background-color: #333;
    color:rgb(255, 7, 7);
}

button.next {
	position: absolute;
	right: 20px;
    bottom: 2%;
}

button.prev {
	position: absolute;
	left: 20px;
    bottom: 2%;
}


button.pause {
	position: absolute;
	bottom: 2%;
    right: 50%;
    transform: translateX(50%);
    padding: 6px 8px;
    border-radius: .25rem;
    font-weight: 500;
    width: 100px;
}


button.close {
    display: none;
    position: absolute;
    width: 96%;
    right: 50%;
    transform: translateX(50%);
    bottom: 120%;
    padding: 5px 7px;
}

@media screen and ( max-width: 900px) 
and ( orientation: portrait) {
    
    .slider {
        height: 100vh;
    }


    .slide .content {
        top: 41%;
    }

    .slide .content h2 {
        font-size: 1.1em;
        padding-bottom: 5px;
    }

    .slide .content p {
        width: 90%;
    }

    .on-display {
        bottom: 2vh;
        width: 100%;
    }

    button.next {
        right: 2vw;
    }
    
    button.prev {
        left: 2vw;
    }

    button.close {
        display: block;
    }

}

@media screen and ( max-height: 825px) 
and ( orientation: portrait) {
    
    .slide .content {
        top: 42%;
    }

    .slide .content h2 {
        font-size: .9em;
    }

    .slide .content p {
        width: 90%;
        font-size: .7rem;
    }

}

@media screen and ( max-width: 900px)
and (orientation: landscape) {
    
    .slide .content {
        top: 20px;
        background-color: rgba(51, 51, 51, 0.8);
        height: 100vh;
        padding: 20px;
        width: 100vw;
    }

    .slide .content h2 {
        font-size: .9em;
    }

    .slide .content p {
        width: 90%;
        font-size: .7rem;
    }

    button.next {
        right: 20px;
        color:rgb(255, 7, 7);
        border: 1px solid rgb(255, 7, 7);
    }
    
    button.prev {
        left: 20px;
        color:rgb(255, 7, 7);
        border: 1px solid rgb(255, 7, 7);
    }
    
    
    button.pause {
        color:rgb(255, 7, 7);
        border: 1px solid rgb(255, 7, 7);
    }

    .section-title_centered {
        width: 95%;
    }

    .section-title h2 {
        font-size: 1.1rem;
    }
}

@media screen and ( max-width: 425px) 
and ( orientation: portrait) {
    
    
.section-title_centered {
    width: 85%;
}

.section-title h2 {
    font-size: .7rem;
}

button.close {
    bottom: 135%;
}

}

@media screen and ( max-height: 725px) 
and ( orientation: landscape) {
    
    .banner {
        padding-right: 70px;
        padding-top: 92px;
    }
    
    .projectDetails {
        margin-top: 5px;
    }

    .probCard, .solutionCard, .toolsCard {
        margin-bottom: 5px;
    }

    .slide .content {
        top: 59%;
    }

}

@media screen and ( max-height: 513px) 
and ( orientation: landscape) {
    
    .slide .content {
        top: 20px;
    }

    .on-display {
        width: 100%;
    }

    button.close {
        display: block;
        bottom: 200%;
        color:rgb(255, 7, 7);
        border: 1px solid rgb(255, 7, 7);
    }

}