/* variables {{{ */
:root {
	--indexBackground: #ffffe6; 
	--lightBackground: #eff0f1;

	--whiteGradient: linear-gradient(to right, transparent 20px, white 100px);
	--imagesGradient: linear-gradient(to bottom, transparent, var(--indexBackground));

	--iconsShadow: drop-shadow(0 0 30px white);
	--linksShadow: blue 0 0 5px;
	--yellowShadow: 5px 5px 0 #e6e600;
	--whiteShadow: 5px 5px 30px #ffffff;

	--white: #ffffff;
	--yellow: #e6e600;
	--pink: #ffc0cb;

	--darkText: #2e3436;
	--transWhite: rgba(255, 255, 255, .5);

	--header-h2: normal small-caps 3em var(--blackRound);
	--header-h3: normal small-caps 3em var(--regularRound);

	--project-h3: normal small-caps 2em Amiamie-Regular;

	--light: Amiamie-Light;
	--regular: Amiamie-Regular;
	--regularRound: Amiamie-RegularRound;
	--blackRound: Amiamie-BlackRound;
}
/* }}} */
/* fonts {{{ */
@font-face {
	font-family: Amiamie-Light;
	src: url("../woff/Amiamie-Light.woff2");
}
@font-face {
	font-family: Amiamie-Regular;
	src: url("../woff/Amiamie-Regular.woff2");
}
@font-face {
	font-family: Amiamie-RegularRound;
	src: url("../woff/Amiamie-RegularRound.woff2");
}
@font-face {
	font-family: Amiamie-Black;
	src: url("../woff/Amiamie-Black.woff2");
}
@font-face {
	font-family: Amiamie-BlackRound;
	src: url("../woff/Amiamie-BlackRound.woff2");
}
/* }}} */
/* screens {{{ */
@media only screen and (max-device-width:800px) {
	header {
		padding: 10px !important;
	}
	header nav {
		justify-content: flex-start !important;
		flex-wrap: wrap !important;
	}
	header nav a {
		padding: 0 15px !important;
		font-size: 2.5em !important;
	}
	.backLink, .nextLink {
		display: none !important;
	}
	#aboutWrapper {
		width: 100vw !important;
		height: auto !important;
		display: flex !important;
		flex-direction: column !important;
	}
	#about {
		width: calc(100vw - 15px) !important;
		margin-left: 10px !important;
	}
	#about p{
		font-size: 1.5em !important;
	}
	#author, #website, .links {
		margin-left: 5px !important;
	}
	#portrait {
		max-width: 600px !important;
		box-shadow: none !important;
	}
	#portrait img {
		position: relative !important;
		width: 600px !important;
		margin: 10px !important;
		display: block !important;
		background-color: var(--lightBackground) !important;
	}
	.links ul{
		display: flex !important;
		flex-direction: column !important;
		margin-bottom: 20px !important;
	}
	.links li {
		margin: 0 !important;
		padding: 0 !important;
	}
	.links a {
		font-size: 1.5em !important;
	}

}
/* }}} */

/* global {{{ */
 /* width */
::-webkit-scrollbar {
  width: 0;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: white;
	border-radius: 15px;
}
::-webkit-scrollbar-thumb:hover {
  background: magenta;
}

::selection {
	color: white;
	background-color: magenta;
}

html, body {
	position: relative;
	min-width: 100% !important;
	min-height: 100vh !important;
	margin: 0;
	overflow-x: hidden;
	background-color: var(--lightBackground);
	color: var(--darkText);
}

a {
	color: var(--darkText);
}
a:hover {
	color: blue;
}

ul {
	padding: 0;
}
li {
	margin: 0;
}
li ul {
	padding: 0 15px;
}
/* }}} */
/* header {{{ */
header {
	width: 100%;
	padding: 15px 0;
	background-image: linear-gradient(white, transparent);
}
header nav {
	display: inline-flex;
	width: 100vw;
	justify-content: space-between;
	color: var(--darkText);
}
header nav a {
	padding: 15px 40px;
	color: var(--darkText);
	text-decoration: none;
	/*text-decoration: 4px underline;*/
	/*text-underline-position: under;*/
	font: normal small-caps 2em Amiamie-BlackRound;
}

header .projectsNav {
	position: relative;
	display: flex;
}

header a.backLink:hover {
	color: blue;
}
header a.active {
	font-family: var(--regular);
	text-decoration: none;
}
header a.active:hover {
	color: blue;
	text-shadow: var(--linksShadow); 
}
header a.backLink {
	left: -24px;
}
header a.nextLink {
	right: -24px;
}
header a.projectsNavLink {
	position: absolute;
	top: 18px;
	text-decoration: none;
}
header a.projectsNavLink:hover {
	color: blue;
}

header.underHeader {
	background: transparent;
}
header.underHeader a {
	color: transparent;
}
/* }}} */

/* about {{{ */
#aboutWrapper {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	position: relative;
	width: calc(100vw - 30px);
	height: calc(100vh - 30px);
}
#portrait {
	margin: 0 15px;
	box-shadow: 0 0 30px white;
}
#portrait img {
	position: absolute;
	width: 33%;
	border-radius: 60px 60px 60px 0;
}
#about {
	margin-left: calc(30vw + 30px);
}
#author {
	margin: 0 0 0 30px;
	border-radius: 60px 0 0 60px;
	font-family: var(--regularRound);
}
#author, #website {
	margin: 30px;
	padding: 15px 30px;
	border-radius: 60px;
	background: var(--whiteGradient);
	font-size: 1.5rem;
	font-family: var(--regularRound);
}

.links {
	position: relative;
	width: 100%;
	margin: 0 30px;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 30px;
	padding: 0 15px;
}
.links a {
	display: inline-block;
	text-decoration: none;
	/*text-decoration: underline 3px;
	text-underline-position: under;*/
	font-family: var(--regularRound);
}
.links ul {
	display: inline-flex;
	gap: 15px;
	margin: 0;
	padding: 0;
}
.links li {
	padding: 0 0 1px 15px;
	list-style-type: none;
	font-size: 1.5rem;
	color: white;
}

iframe {
	position: relative;
	width: 100vw;
	height: 100vh;
	margin: 0;
	border: none;
}
/* }}} */
