@font-face {
	font-family: NexaBold;
	src: url(/fonts/Nexa_Bold.otf);
}
@font-face {
	font-family: NexaLight;
	src: url(/fonts/Nexa_Light.otf);
}
* {
	margin: 0px;
	padding: 0px;
	font-family: "Nexa Bold", sans-serif;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	padding: 0;
	padding-top: 1vh;
	background-color: #191919;
	overflow-x: hidden;
}
header {
	height: 100vh;
	background-image: url(img/bg.png);
	background-size: contain;
	/* flex-box thing */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-size: cover;
	margin-bottom: 1vh;
	margin-top: 0;
}
#down {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Fixed/sticky position */
	bottom: 20px;
	/* Place the button at the bottom of the page */
	right: 30px;
	/* Place the button 30px from the right */
	z-index: 99;
	/* Make sure it does not overlap */
}
.intro img {
	display: grid;
	align-content: center;
	justify-content: center;
	align-self: center;
	justify-self: center;
}
.intro img:hover {
	background-color: rgba(0, 0, 0, .5);
	border-radius: 50%;
}
#down:hover {
	cursor: pointer;
	opacity: 0.8;
	top: 84vh;
	transition: 1s ease;
}
/* .work */

.work {
	text-align: center;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	padding-top: 5vh;
}
.work h3 {
	color: white;
	padding-top: 4vh;
	font-family: "NexaBold", sans-serif;
}
.work h4 {
	color: lightgray;
	padding-bottom: 4vh;
	color: red;
	font-size: .9em;
	font-family: "Helvetica Neue", sans-serif;
}
.work a {
	text-decoration: none;
	flex: 1 1 30%;
}
.work img {
	width: 99%;
}
.work img::before {
	padding: 10px;
}
.work img::after {
	padding: .5%;
}
.delay {
	animation-delay: 10s;
}
h1 {
	color: white;
}
.intro {
	padding-bottom: 15vh;
	display: grid;
	align-content: center;
	justify-content: center;
	align-items: center;
	justify-items: center;
}
.intro h1 {
	font-size: 3em;
}
#title {
	color: red;
	letter-spacing: .3em;
	font-variant: small-caps;
	font-size: 1.5em;
}
.nav {
	padding-bottom: 50vh;
}
nav {
	height: 5vh;
	width: 100vw;
	padding-top: 4vh;
}
nav a {
	padding-top: 10vh;
}
nav li {
	display: inline;
}
nav li:hover {
	color: white;
	transition: .5s ease;
}
nav ul {
	list-style-type: none;
}
nav li a {
	text-decoration: none;
	padding-top: 10vh;
}
nav a:link {
	color: white;
}
nav a:hover {
	color: blue;
	transition: 1s ease;
}
nav a:active {
	color: red;
}
nav a:visited {
	color: red;
}
.logo {
	position: absolute;
	top: 0%;
	left: 5%;
}
.logo img {
	width: 15vw;
	display: grid;
	margin-left: 25vw;
}
footer {
	width: 100vw;
	margin-top: 10vh;
	background-color: #1a1a1a;
	border-top-style: solid;
	border-top-color: red;
	border-top-width: thin;
	color: white;
	display: grid;
	align-content: center;
	justify-content: center;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: .8em;
    
    display: grid;
    justify-content: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
}
.footer {
	margin-top: 5vh;
}
footer ul {
	padding: 4vh;
    padding-top: 2vh;
}
footer li {
	display: inline;
	text-decoration: none;
}
footer a {
	text-decoration: none;
	color: white;
}
footer p{
    display: grid;
    justify-content: center;
    align-content: center;
    
}
.fa-linkedin {
	color: red;
}
.fa-instagram {
	color: red;
	padding-left: 1vw;
}
.fa-vimeo {
	color: red;
	padding-left: 1vw;
}
.fa-file-pdf-o {
	color: red;
	padding-left: 1vw;
}
.fa-linkedin:hover {
	color: white;
}
.fa-instagram:hover {
	color: white;
}
.fa-vimeo:hover {
	color: white;
}
.fa-file-pdf-o:hover {
	color: white;
}
.projectbox p {
	font-variant: small-caps;
}
.about {
	background-image: url(img/trianglify_rB.svg);
	width: 100vw;
	height: 100vh;
	display: grid;
	justify-content: center;
	align-content: center;
	align-items: center;
}
.aboutcontent {
	width: 75vw;
}
.sidenav {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: #111;
	overflow-x: hidden;
	transition: 1s;
	/*  padding-top: vh;*/
	color: white;
	line-height: 1.5em;
	font-family: "nexa light", sans-serif;
}
.sidenav p {
	font-family: "NexaLight", sans-serif;
    width: 55vw;
	padding: 1.5vh;
	font-size: .9em;
    line-height: 2.5em;
	color: lightgray;
	opacity: 1;
	transition: opacity 3s;
	display: grid;
	align-content: center;
	align-items: center;
	justify-content: center;
	-webkit-animation-name: zoomIn;
	animation-name: zoomIn;
}
@-webkit-keyframes zoomIn {
	from {
		opacity: 0;
		-webkit-transform: scale3d(0.3, 0.3, 0.3);
		transform: scale3d(0.3, 0.3, 0.3);
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@keyframes zoomIn {
	from {
		opacity: 0;
		-webkit-transform: scale3d(0.3, 0.3, 0.3);
		transform: scale3d(0.3, 0.3, 0.3);
	}
	50% {
		opacity: 1;
	}
}

/*bubbles*/

/*@keyframes opacity*/

#mySidenav {
	z-index: 1000;
}
.sidenav a {
	/*  padding: 8px 8px 8px;*/
	text-decoration: none;
	font-size: 1em;
	color: red;
	display: inline;
	transition: 1.5s ease;
	border-radius: 1px 1px 1px 1px;
}
.sidenav img {
	width: 6vw;
	padding-bottom: 2vw;
	display: grid;
	justify-content: center;
	justify-items: center;
	align-content: center;
	align-items: center;
}
.sidebarIcons {
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}
.sidebarIcons li {
	display: inline;
}
.sidenav a:hover {
	color: #f1f1f1;
}
.ct-btn-scroll {
	width: 49px;
	height: 49px;
	position: absolute;
	bottom: 30px;
	left: 0;
	right: 0;
	margin: auto;
	padding-top: 500px;
	z-index: 9;
	border-radius: 50%;
	-webkit-transition: background-color 0.25s ease-in-out;
	transition: background-color 0.25s ease-in-out;
}
/*color of close button*/

.sidenav .closebtn {
	position: absolute;
	top: 3vh;
	right: 10px;
	font-size: 3em;
	margin-left: 50px;
	z-index: 1;
	border-radius: 25px;
}
.nav {
	padding-top: 10vh;
	/*    background-color: red;*/
}
#email a {
	font-size: 1.5em;
}
#main {
	transition: margin-left 1s;
	display: inline;
	color: red;
	padding: 1vh;
    float: right;
    padding-right: 3vw;
/*    margin-right: vw;*/
	/*padding-bottom: 10vh;*/
	/*    font-size: 0.938em;*/
}
#main li {
	list-style-type: none;
	display: inline;
/*	padding-left: .5vw;*/
	font-size: 1em;
	padding-top: 10vh;
    padding-left: 1vw;
}
#main li a {
	text-decoration: none;
	color: red;
    	padding-left: 1vw;
/*    float: right;*/
}
#main img {
	width: 8vw;
	position: absolute;
	top: 0;
	left: 0;
}
.abouttitle {
	font-size: 2em;
	color: white;
	padding-left: 3vw;
	padding-right: 2vw;
	padding-bottom: 3vh;
	width: 45vw;
}
.about a {
	text-decoration: none;
	color: #191919;
	font-family: "nexa bold", sans-serif;
}
.about p {
	font-family: "Nexa Light", sans-serif;
	line-height: 1.2em;
}
#backtotop img {
	width: 5vw;
	float: right;
	padding-top: 5vh;
	position: sticky;
}
.about p {
	color: #f9f9f9;
}
.span_1_of_2 {
	width: 50vw;
	height: 60vh;
	background-color: green;
	margin-bottom: 10px;
}
.span_2_of_2 {
	width: 50vw;
	height: 60vh;
	background-color: orange;
	margin-bottom: 10px;
}
#projectone {
	background-image: url(img/relianceb&w.png);
	background-size: cover;
}
.mouse {
	max-width: 2.5rem;
	width: 75%;
	height: auto;
}
.scroll {
	-webkit-animation-name: scroll;
	animation-name: scroll;
	-webkit-animation-duration: 1.5s;
	animation-duration: 1.5s;
	-webkit-animation-timing-function: cubic-bezier(0.65, -0.55, 0.25, 1.5);
	animation-timing-function: cubic-bezier(0.65, -0.55, 0.25, 1.5);
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	-webkit-transform-origin: 50% 20.5px;
	transform-origin: 50% 20.5px;
	will-change: transform, opacity;
	opacity: 1;
}
.scroll-link {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}
@-webkit-keyframes scroll {
	0%, 20% {
		-webkit-transform: translateY(0) scaleY(1);
		transform: translateY(0) scaleY(1);
	}
	100% {
		-webkit-transform: translateY(36px) scaleY(2);
		transform: translateY(36px) scaleY(2);
		opacity: 0;
	}
}
@keyframes scroll {
	0%, 20% {
		-webkit-transform: translateY(0) scaleY(1);
		transform: translateY(0) scaleY(1);
	}
	100% {
		-webkit-transform: translateY(36px) scaleY(2);
		transform: translateY(36px) scaleY(2);
		opacity: 0;
	}
}
/*!
 * animate.css -http://daneden.me/animate
 * Version - 3.7.0
 * Licensed under the MIT license - http://opensource.org/licenses/MIT
 *
 * Copyright (c) 2018 Daniel Eden
 */

@-webkit-keyframes lightSpeedIn {
	from {
		-webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
		transform: translate3d(100%, 0, 0) skewX(-30deg);
		opacity: 0;
	}
	60% {
		-webkit-transform: skewX(20deg);
		transform: skewX(20deg);
		opacity: 1;
	}
	80% {
		-webkit-transform: skewX(-5deg);
		transform: skewX(-5deg);
	}
	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}
@keyframes lightSpeedIn {
	from {
		-webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
		transform: translate3d(100%, 0, 0) skewX(-30deg);
		opacity: 0;
	}
	60% {
		-webkit-transform: skewX(20deg);
		transform: skewX(20deg);
		opacity: 1;
	}
	80% {
		-webkit-transform: skewX(-5deg);
		transform: skewX(-5deg);
	}
	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}
.lightSpeedIn {
	-webkit-animation-name: lightSpeedIn;
	animation-name: lightSpeedIn;
	-webkit-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
}
@-webkit-keyframes pulse {
	from {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
	50% {
		-webkit-transform: scale3d(1.05, 1.05, 1.05);
		transform: scale3d(1.05, 1.05, 1.05);
	}
	to {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
@keyframes pulse {
	from {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
	50% {
		-webkit-transform: scale3d(1.05, 1.05, 1.05);
		transform: scale3d(1.05, 1.05, 1.05);
	}
	to {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
    .main{
        
    }
	.intro h1 {
		font-size: 2em;
	}
	#title {
		font-size: 1em;
	}
	.sidenav {
		padding-top: 15px;
        width: 100vw;
	}
	.sidenav a {
		font-size: 18px;
	}
	.sidenav p {
		padding-left: 3em;
        width: 50vw;
	}
	.sidenav img {
		width: 10vw;
		padding-left: 3vw;
	}
    
    .sidebarIcons{
        margin-bottom: 10vw;
    }
	.span_2_of_2 {
		width: 100vw;
	}
	.span_1_of_2 {
		width: 100vw;
	}
	.projectlink {
		width: 100vw;
		height: 60vh;
		transition: ease 1s;
	}
	.work {
		text-align: center;
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		padding: 0;
	}
	.work a {
		flex: 1 1 100%;
	}