/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 14px;
	letter-spacing: .03rem;
}

body {
	margin: 0;
	--color-text: #404040;
	--color-bg: #F2F2F2;
	--color-link: #404040;
	--color-link-hover: #404040;
	--color-menu: #404040;
	--color-menu-hover: #404040;
	color: var(--color-text);
	background-color: var(--color-bg);
	--cursor-stroke: none;
	--cursor-fill: #e0530e;
	--cursor-stroke-width: 1px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: georgiapro, sans-serif;
}

body, main {
	height: 100vh;
}

h1 {
	font-size: 3rem;
	font-weight: 300;
}
h2 {
	font-size: 2rem;
	font-weight: 200;
}
h3 {
	font-size: 1rem;
	font-weight: 300;
	/* text-transform: uppercase; */
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;

}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	position: relative;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
	/* Provide a fallback style for browsers
	 that don't support :focus-visible */
	outline: none;
	background: lightgrey;
}

a:focus:not(:focus-visible) {
	/* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
	background: transparent;
}

a:focus-visible {
	/* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
	outline: 2px solid red;
	background: transparent;
}

.cursor {
	display: none;
}

.unbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
}

.unbutton:focus {
	outline: none;
}
.info {
	display: grid;
	grid-template-columns: repeat(10,10%);
	max-width: 90vw;
	margin: 5vh auto 10vh auto;
	/* position: fixed; */
}
.me_me {
	grid-column: span 8;
	align-self: center;
}
.contact {
	grid-column: span 2;
	align-self: center;
	justify-self: end;
}
.container {
	max-width: 90vw;
	margin: 0 auto;
}
.menu {
	display: grid;
	grid-template-columns: repeat(10,10%);
	max-width: 1340px;
	margin: 0 auto;
	z-index: 100;
}

.menu__item {
	grid-column: span 7;
	/* text-transform: uppercase; */
	font-size: 8vw;
	font-weight: 300;
	cursor: pointer;
	color: var(--color-menu);
	will-change: transform;
}
.menu__desc {
  position: relative;
  cursor: pointer;
  grid-column: span 3;
  font-size: 1.2rem;
  /* padding-top: 8px; */
  font-weight: 200;
	color: var(--color-menu);
	align-self: center;
}
.divider {
  position: relative;
  margin: 0 0 25px 0;
  cursor: pointer;
  grid-column: span 10;
  border-bottom: 1px solid #404040;
}
/* .divider::after {
  content: '';
	width: 200vw;
	left: -24vw;
	position: absolute;
	height: 1px;
	background: #404040;
} */

.menu__item-text {
	pointer-events: none;
	display: block;
	line-height: 1.25;
	position: relative;
	z-index: -1;
}

.menu__item-text .word {
	overflow: hidden;
	perspective: 1000px;
	perspective-origin: -150% 50%;
}

.menu__item-text .word--clone {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.menu__item-text .word--clone .char {
	opacity: 0;
}

.menu__item-text .char {
	transform-origin: 0% 0%;
	will-change: transform;
}

.hover-reveal {
	position: absolute;
	z-index: -1;
	width: 300px;
	height: 300px;
	top: -200px;
	left: 100px;
	pointer-events: none;
	opacity: 0;
	/* will-change: transform, filter; */
}

.hover-reveal__inner {
	overflow: hidden;
	will-change: transform, opacity;
}

.hover-reveal__inner,
.hover-reveal__img {
	width: 100%;
	height: 100%;
	position: relative;
}

.hover-reveal__img {
	background-size: cover;
	background-position: 50% 50%;
	will-change: transform;
}

.content {
	max-width: 30ch;
	margin: 0 auto;
	z-index: -1;
	position: relative;
}

.content::after {
	content: '';
	position: fixed;
	pointer-events: none;
	z-index: 500;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	background: linear-gradient(transparent 0%,transparent 70%,var(--color-bg) 100%);
}


/* PROJECTS STYLING */
.pr__container {
	margin: 0 auto;
}

.pr__block{
	width: 21vw;
	background-color: #ffffff;
	float: left;
	position: fixed;
}
.pr__info {
	width: 19vw;
	padding: 1vw 1vw;
}
.pr__nav{
	display: grid;
	grid-template-columns: repeat(2,50%);
	width: 19vw;
	padding-bottom: 10px;
	font-size: .8rem;
	text-transform: uppercase;
	color: #B3A6B1;
	/* border: 1px solid #B3A6B1; */
}
.pr__nav a {
	color: #B3A6B1;
}
.pr__back {
	grid-column: span 1;
	align-self: start;
}
.ba__fa {
	grid-column: span 1;
	justify-self: end;
}
.pr__title {
	width: 19vw;
	padding: 1vw 1vw;
	border: 1px solid #B3A6B1;
	font-size: 2rem;
	font-weight: 500;
}
.pre__text {
	width: 19vw;
	margin-top: -1px;
	padding: 1vw 1vw;
	border: 1px solid #B3A6B1;
	font-size: 1rem;
	font-weight: 200;
}
.pr__gallery {
	width: 67vw;
	float: left;
	margin-left: 23vw;
}

.pr__images img {
	width: 67vw;
	padding-bottom: 25px;
}

@media (any-pointer:fine) {
	.cursor {
		position: fixed;
		top: 0;
		left: 0;
		display: block;
		pointer-events: none;
		z-index: 1001;
	}

	.cursor__inner {
		fill: var(--cursor-fill);
		stroke: var(--cursor-stroke);
		stroke-width: var(--cursor-stroke-width);
		opacity: 0.7;
	}

	.no-js .cursor {
		display: none;
	}

}
@media only screen and (max-width: 950px) {
	.pr__block{
		width: 90vw;
		position: relative;
		margin-bottom: 25px;
	}
	.pr__title {
		width: 88vw;
	}
	.pre__text {
		width: 88vw;
	}
	.pr__nav{
		width: 88vw;
	}
	.pr__gallery {
		width: 90vw;
		margin: 0 auto;
	}
	.pr__images img {
		width: 90vw;
		padding-bottom: 25px;
	}
	h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  .info {
    grid-column: span 10;
  }
	.me_me {
		grid-column: span 10;
	}
  .contact {
    grid-column: span 10;
		justify-self: start;

		padding-top: 30px;
  }
  .menu__item {
    grid-column: span 10;
		font-size: 3rem;
		line-height: 1;
  }
  .menu__desc {
    grid-column: span 10;
		font-size: 1rem;
		padding-top: 0px;
  }
  .mobh {
    display: none;
  }
  .mobha::after {
    content: ' | ';
    font-size: 1rem;
  }
	.divider {
	  margin: 2rem 0;
	}

}
@media only screen and (min-width: 950px) {
  .mobha {
    display: none;
  }
}
@media only screen and (min-width: 1599px) {
  .menu__item {
  	font-size: 7vw;
  }
}