/* CSS Document */

/* General Rules */
* {
  	margin: 0;
  	padding: 0;
}

body, html {
	margin: 0;
	font-size: 16px;
	background-attachment: fixed;
}

body {
	background-image: url("../images/pastelgradient.png"); /* For browsers that do not support gradients */
	background-size: 100% 100%;
	overflow-x: hidden;
	overflow: -moz-scrollbars-none;
	-ms-overflow-style: none;
}

body::-webkit-scrollbar {
	display: none;
	width: 0 !important;
}

 .centered {
	width: 100vw;
	height: 100vh;
	z-index: 999;
	text-align: center;
	margin: auto;
}

 .home-frame {
	box-sizing: border-box;
	width: auto;
	height: 90vh;
	margin: 5vmin;
	border: 2vmin solid transparent;
	border-image-source: url(../images/border-image.svg);
	border-image-slice: 25%;
	border-image-width: auto;
}

 .border-box {
	width: auto;
	height: 90vh;
	margin: 5vmin;
	background: #ffffff;
}

 .border-box-portfolio {
	width: auto;
	height: 90vh;
	margin: 5vmin;
	background: #ffffff;
	background-image: url("../images/elcee-grey.svg");
	background-repeat: no-repeat;
	background-size: 10vmin;
	background-position: 2vmax 2vmax;
	padding: 1vmin 5vmax 1vmax 15vmax;
}

 .downarrow {
	width: 100%;
	height: auto;
	padding: 3vmin 15vmin 3vmin 0;
	position: fixed;
	bottom: 3vmin;
}

 .downarrow img {
	width: 6vmin;
	text-align: center;
}

 .border-box-logo {
	width: auto;
	height: 90vh;
	margin: 5vmin;
	background: #ffffff;
	background-image: url("../images/elcee-grey.svg");
	background-repeat: no-repeat;
	background-size: 10vmin;
	background-position: 2vmax 2vmax;
}

.resume {
	font-size: 1.375vmax;
	font-style: italic;
	margin: 2.5vmin 0;
}

.footer{
	position: fixed;
	right: 9vmin;
	bottom: 9vmin;
	color: #666666;
	font-size: 3vmin;
	font-weight: 200;
	text-align: right;
	vertical-align: bottom;
}

.backlink {
	max-width: 20vmin;
	height: 2vmin;
	margin: 0 0 5vmin 5vmin;
	position: relative;
	top: 69vh;
	left: 2vmax;
	z-index: 9999999;
}

.backlink-margin {
	margin-top: -2vmin;
}

 .border-box-inner {
	width: auto;
	height: auto;
	padding: 15px;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

div .text {
	display: block;
	vertical-align: middle;
	text-align: center;
}

div .center {
	align-content: center;
	text-align: center;
}

div .center p {
	text-align: left;
	padding: 0 18vw;
}

div .left {
	float: left;
}

di .right {
	float: right;
}

.image {
	display: block;
}

.image img {
	width: 35vmin;
}

.logo {
	width: 10vmin;
	height: auto;
}

.group {
	margin: 50 0;
	width: 100%;
	border-top: .625px solid #666666;
}

.portf-left {
	width: 34%;
	float: left;
	text-align: left;
}

.portf-right {
	width: 66%;
	float: right;
	text-align: right;
}

.portf-right img {
	width: 75%;
	max-width: 1080px;
	text-align: right;
	margin: 50px 0 0;
}

/* Typography */
* {
	font-family: 'Work Sans', sans-serif;
}

h1, h2 {
	font-family: 'Work Sans', sans-serif;
	color: #666;
	margin-bottom: 5vmin;	
}

h1 {
	font-weight: 100;
	font-size: 10vmax;
	letter-spacing: .375vmax;
	color: #666666;
}

h2 {
	font-size: 2.5vmax;
	margin-bottom: 4vmin;
}

h3 {
	font-family: 'Work Sans', sans-serif;
	color: #666;
	font-size: 2vmax;
	margin-bottom: 1.5vmin;
}

h4, h4 a {
	margin-top: 3vmin;
	font-family: 'Work Sans', sans-serif;
	font-size: 1.5vmax;
	color: #C0B3E8;
}

h5, h5 a {
	font-family: 'Work Sans', sans-serif;
	color: #C0B3E8;
	font-size: 1.125vmax;
	font-weight: 300;
}

p {
	font-family: 'Work Sans', sans-serif;
	font-size: 1.5vmax;
}

.white {
	color: #ffffff;
}

a {
	text-decoration: none;
	color: #666666;
}

.white a {
	color: #ffffff;
}

a:hover {
	background-color: #faaca8;
	padding: 0 1vmin;
	color: #ffffff;
}

div#categories h5 a {
	color: #666666;
	font-size: 1.25vmax;
}

div#categories h5 a:hover {
	background-color: #C0B3E8;
	color: #ffffff;
	padding: 0;
}

div#categories {
	margin-bottom: 8.5vh;
}

.backlink h5 a:hover {
	background-color: none;
	padding: 0;
	color: #ffffff;
}

.bg-wrap {
	box-sizing: border-box;
	width: 100vw;
	height: 100vh;
	padding: 10px;
	position: fixed;
}

#mobile-only {
	display: none;
	height: 0vh !important;
}

#desktop {
	display: block;
}

/* Media Queries */

@media only screen and (orientation: portrait) {
	.border-box {
		height: 96.5vh !important;
	}
	
	.border-box-portfolio {
		height: 96.5vh !important;
		padding: 1vmin 3vmax;
		background-image:none;
	}
	
	 .backlink {
		visibility: hidden;
	}
	
	.footer{
		right: 9vmin;
		bottom: 20vmin;
	}
		
	#desktop {
		display: none;
		height: 0vh !important;
		width: 0;
	}
	
	#mobile-only {
		display: block;
	}

	
	.image img {
		width: 40vmin;
		height: auto;
	}
}