/*   
Theme Name: Katharina Gruszczynski
Version: 1.0
*/

@import "_assets/css/reset.css";

/*
*/
/* ! BASICS ----- */
/*
*/

/* ! basics_fixes */

img {
	display: block;
	border: 1px solid #;
}

.nobr { white-space: nowrap; }

.kill { display: ; }

/*
*/
/* ! TEXT ----- */
/*
*/

/* ! text_font */

body, input { font-family: 'europa', Helvetica, Arial, sans-serif; }

@font-face {
    font-family: 'socicon';
    src: url('_assets/fonts/socicon.eot');
    src: url('_assets/fonts/socicon.eot?#iefix') format('embedded-opentype'),
         url('_assets/fonts/socicon.woff') format('woff'),
         url('_assets/fonts/socicon.ttf') format('truetype'),
         url('_assets/fonts/socicon.svg#sociconregular') format('svg');
    font-weight: normal;
    font-style: normal;
    text-transform: initial;
}

.socicon {
	font-family: 'socicon' !important;
	text-transform: none !important;

}

/* ! text_size */

body {
	font-size: 24px;
	font-size: 1.5em;
	font-size: 1.3em;
	line-height: 1.4em;
	-webkit-font-smoothing: subpixel-antialiased;
}

@media
(max-width: 1200px) {
	body {
		font-size: 20px;
		font-size: 1.25em;
		line-height: 1.5em;
	}
}/* mq */

@media
(max-width: 700px) {
	body {
		font-size: 16px;
		font-size: 1em;
		line-height: 1.5em;
	}
}/* mq */

@media
(min-width: 2000px) {
	body {
		font-size: 2em;
		line-height: 1.4em;
	}
}/* mq */

small {}

big {}

/* ! text_p */

p,
ul,
ol { 
	display: block;
	clear: both;
	padding-bottom: .75em;
}

p:last-of-type { padding-bottom: 0; }

h1, h2, h3 {
	padding-top: 1.5em;
	padding-bottom: 1em;
}

h1:first-of-type { padding-top: 0; }

/* ! text_styling */

body {
	font-weight: normal;
	color: black;
}

::-moz-selection { background: #dddddd; }
::selection { background: #dddddd; }

nav,
h1, h2, h3,
strong { font-weight: 700; }

em { font-style: italic; }

ul {
	padding-left: 5px;
	list-style-type: square;
	line-height: 2em;
}

/* ! text_links */

a,
a:active,
a:visited,
a:hover {
	color: black;
	text-decoration: underline;
}

a:hover { color: black; }

#name a,
#name a:hover,
nav a,
nav a:active,
nav a:visited,
nav a:hover { text-decoration: none; }

/*
*/
/* ! GRID ----- */
/*
*/

/* ! grid_horizontal */

body {}

.wrap {
	max-width: 36em;
	margin: auto;
}

@media
(min-width: 2000px) {
	.wrap { max-width: 50em; }
}/* mq */

/*
*/
/* ! MODULES ----- */
/*
*/

body {
	background: white;
	padding: 2em 0;
}

/* ! modules_header */

#page-header {}

#name {
	position: fixed;
	top: 4em;
	width: 100%;
	font-weight: 300;
	text-align: center;
	z-index: -1;
}

nav#main {
	position: fixed;
	top: 10em;
	left: -7.5em;
	width: 10em;
	text-align: right;
	-webkit-transform: rotate(270deg);
	-moz-transform: rotate(270deg);
	-o-transform: rotate(270deg);
	-ms-transform: rotate(270deg);
	transform: rotate(270deg);
	transform-origin: top right;
}

nav#blog {
	position: fixed;
	top: 10em;
	right: 2.5em;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}

nav#main .work { margin-right: 1em; }

.home nav .work a,
.single-projects nav .work a,
.page-info nav .info a,
.blog nav .blog a,
.single-post nav .blog a { color: #d3d3d3; }

body.blog nav .blog a,
body.single-post nav .blog a { color: #595959; }

nav ul,
nav li {
	padding: 0;
	margin: 0;
	list-style: none;
}

nav li { display: inline-block; }

@media
(max-width: 1000px) {
nav#main {
	left: -9.5em;
	width: 10em;
}

nav#blog {
	right: .5em;
}
}/* mq */

/* ! modules_content */

#page-content {
	margin-top: 7.5em;
	padding: 0 4em;
	background-color: white;
}

/* ! modules_footer */

#page-footer {
	margin-top: 4em;
	margin-bottom: 4em;
	text-align: center;
}

#page-footer a { text-decoration: none; }

#page-footer #bowtie { margin-bottom: 4em; }

/*
*/
/* ! PAGE ----- */
/*
*/

/*
*/
/* ! page_home */
/*
*/

.home #page-content { margin-top: 5em; }

.home #projects {
	width: 100%;
	text-align: center;
}

.item {
	display: inline-block;
	vertical-align: top;
	padding: 2.5em;
}

.large { max-width: 40em; }
.medium { max-width: 30em; }
.small { max-width: 20em; }

.home #projects figcaption {
	margin-top: .75em;
	color: #d3d3d3;
	font-weight: 300;
	text-align: left;
}

.home #projects figcaption strong { color: black; }

@media
(max-width: 1400px) {
	.large { max-width: 30em; }
	.medium { max-width: 22em; }
	.small { max-width: 16em; }
}/* mq */

@media
(max-width: 800px) {
	.home #projects .item { padding: 2.5em 0; }
	
	.large,
	.medium,
	.small { max-width: 9999em; }
}/* mq */

@media
(min-width: 2000px) {
	.home #projects .item { padding: 3em; }
}/* mq */

/*
*/
/* ! page_single_projects */
/*
*/

.single-projects figcaption#description {
	display: block;
	position: absolute;
	overflow: auto;
	left: 10em;
	top: 7em;
	font-weight: 300;
	text-align: left;
}

.single-projects figure {
	position: relative;
	display: block;
	text-align: center;
}

.single-projects figure .item { clear: both; }

.single-projects figure .item div {
	display: inline-block;
	clear: both;
	max-width: 40em;
	padding-bottom: 7em;
}

.single-projects figure .item:last-of-type { padding-bottom: 0; }

@media
(max-width: 1000px) {
	.single-projects figcaption#description {
		position: relative;
		left: 0;
		top: 0;
		margin-bottom: 7em;
	}
}/* mq */

/*
*/
/* ! page_about */
/*
*/

.page-info #about,
.page-info #portrait { margin-bottom: 5em; }

/*
*/
/* ! page_blog */
/*
*/

body.blog,
.blog #page-content,
body.single-post,
.single-post #page-content { background: #212223; }

body.blog,
body.blog a,
body.single-post,
body.single-post a { color: #ddd; }

.blog #page-content,
.single-post #page-content { margin-top: 5em; }

.blog #posts {
	width: 100%;
	text-align: center;
}

.blog #posts article { text-align: left; }

.blog img+img,
.blog img+p,
.blog article aside,
.single-post img+img,
.single-post img+p,
.single-post article aside { margin-top: 1em; }

.blog article aside { color: #595959; }

.single-post #page-content h1,
.single-post article aside { text-align: center; }

/*
*/
/* ! page_impressum */
/*
*/

.page-impressum {}

/*
*/
/* ! page_404 */
/*
*/

.error404 {}