@charset "utf-8";
/*/ Pasi Tiitola Portfolio
© Pasi Tiitola, 2013-2019
www.pasitiitola.com
/*/

body {
	height:100%;
	font-size: 100%;
	margin: 0;
	padding: 0;
	color: rgba(0,0,0,1.00);
}
HTML {
	height:100%;
	overflow-x: scroll;
}

/* BASIXX */
h1 {
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-size: 4em;
	color: rgba(12,12,12,1.0);
	font-weight: 900;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}
h2 {
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-size: 2em;
	color: rgba(12,12,12,1.0);
	font-weight: 600;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	text-transform: uppercase;
	padding:0;
	margin:0;
}
h3 {
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-size: 1.8em;
	color: rgba(12,12,12,1.0);
	font-weight: 600;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	text-transform: uppercase;
	padding:0;
	margin:0;
}
h4, h5, h6 {
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-size: 1.4em;
	color: rgba(12,12,12,1.0);
	font-weight: 400;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	text-transform: uppercase;
	padding:0;
	margin:0;
}
b {
	color: rgba(12,12,12,1.0);
}
a img {
	border: none;
}
a:link, a:visited {
	color: rgba(24,24,24,1.0);
	text-decoration: none;
}
a:hover, a:active, a:focus {
	text-decoration: none;
	color: rgba(96,96,96,1.00);
}

/* MENU */
.sidebar {
	z-index: 100;
	position: fixed;
	top:50%;
	margin-top: -500px;
	height: 1000px;
	width: 325px;
}
.sidebarelements
{
	padding: 0 12px;
}
ul.menu {
	position: relative;
	text-align: left;
	top: 0;
	font-size: 2em;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	text-transform: lowercase;
	list-style: none;
	padding:0;
	margin:0;
}
li.menu {
	padding: 0;
}
.menu a:link, a:visited {
	display: block;
	width: 300px;
	padding: 4px 0px;
}
.logo {
	width: 300px;
	padding: 0px;
	line-height: 1.0;
	margin-bottom: 32px;
}
.subtitle {
	color: rgba(24,24,24,1.0);
	font-size: 1.2em;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	margin: 10px 0;
}
.logo:hover h1 {
	text-decoration: none;
	color: rgba(96,96,96,1.00);
}
.logo:hover .subtitle {
	text-decoration: none;
	color: rgba(96,96,96,1.00);
}
/* MAIN */
.main {
	position: absolute;
	top: 50%;
	left: 325px;
	margin-top: -500px;
	padding: 0;
	float: left;
	white-space:nowrap;
}
#kuva {
	height: 1000px;
	display: inline;
	white-space: nowrap;
	margin-right: 10px;
}
.bio {
	position:absolute;
	left:100px;
	display: block;
	height:auto;
	width:800px;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-size: 1em;
	white-space: normal;
}
.bio p {
	text-align: justify;
	text-justify: newspaper;
}

/* MEDIA SETTINGS */

@media screen and (orientation:portrait) {
.sidebar {
	z-index: 100;
	position: relative;
	width: 100%;
	height: auto;
	margin: 0 auto;
	top: 2.5vw;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	padding-top: 0px;
}
	.sidebar h1 {
	text-align: center;
}
.sidebarelements
{
	padding-top: 24px;
}
ul.menu {
	position:relative;
	top: 0;
	margin: 5vw auto;
	padding: 0;
	font-size: 1.2em;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	text-transform: uppercase;
	list-style: none;
	letter-spacing: 2px;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}
li.menu {
	border: 4px solid black;
	padding:0;
	width:160px;
	margin: 4px; 
	font-size: 1em;
	color: rgba(12,12,12,1.0);
	text-align: center;
}
li.hide {
	display:none;
	visibility: hidden;
}
.menu a:link, a:visited {
	padding: 4px 0;
	display:inherit;
	width:auto;
	text-decoration: none;
	color: rgba(12,12,12,1.0);
}
.menu a:hover, a:active, a:focus {
	background-color: rgba(12,12,12,1.0);
	text-decoration: none;
	color: rgba(255,255,255,1.0);
}
.logo {
	display:block;
	text-align: center;
	margin: 0;
	padding: 0;
	width: 100%;
}
.main {
	position: relative;
	left: 0;
	top: 2.5vw;
	margin: 0;
	width:100%;
	white-space: normal;
}
#kuva {
	display:block;
	width:90vw;
	height:auto;
	margin: 2.5vw auto;
}
.bio {
	display:block;
	margin: 2px auto;
	position:relative;
	left: 0;
	padding: 0;
	width:80%;
	font-size: 0.8em;
}
.bio h2 {
	text-align: center;
	}
}

@media screen and (max-height:1120px) and (orientation:landscape) {
h1 {
	font-size: 3.54em;
}
h2 {
	font-size: 1.8em;
}
h3 {
	font-size: 1.6em;
}
h4, h5, h6 {
	font-size: 1.2em;
}
.sidebar {
	z-index: 100;
	position: relative;
	height: 92vh;
	top: 12px;
	width: 280px;
	margin: 0;
	padding-top:0;
}
ul.menu {
	text-align: left;
	position: relative;
	top: 0;
	margin: 0;
	font-size: 1.6em;
	letter-spacing: 0;
	padding: 0;
}
li.menu {
	padding:0;
}
li.hide {
	display:none;
	visibility: hidden;
}
.menu a:link, a:visited {
	display: block;
	width: 256px;
	padding: 4px 0px;
}
.logo {
	text-align: left;
	margin-bottom: 24px;
	width: 268px;
	letter-spacing: 0;
}
.subtitle {
	font-size: 1.0em;
}
.main {
	top:12px;
	left:280px;
	margin: 0;
}
#kuva {
	height: 92vh;
	margin-right: 4px;
}
.bio {
	position:absolute;
	left:100px;
	height:auto;
	width:720px;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-size: 0.9em;
	white-space: normal;
}
}