/*Stylesheet for Myriam K's website. All rights reserved.*/
* {box-sizing: border-box;}
::selection {background: #000; color: #fff;}
body {
	font-family: 'Roboto', Arial, sans-serif; 
	font-size: .9rem; 
	margin: 0; 
	padding: 0;
}

header, main, footer {display: block;}
a {color: #000000;}
nav a {text-decoration: none;}
img {max-width: 100%;}
p {line-height: 1.5em;}
p.success {
	color: #38a668;
	background: #b0ffb0;
	padding: .5rem 1rem;
	border-left: 3px solid #38a668;
}
h2 + p, h1 + h3 {
    font-family: georgia;
    font-style: italic;
}
nav {
	position: absolute; 
	top: 0; 
	right: 0;
	font-weight: 700;
}
nav ul {
	position: fixed; 
	z-index: 1; 
	right: 5px;
}

nav li {
	list-style: none; 
	writing-mode: vertical-lr; 
	text-orientation: sideways; 
	margin: 2em 1em; 
	text-transform: capitalize; 
	letter-spacing: .5px;
}

section {
	display: flex;
 	flex-direction: column;
	clear: both; 
	overflow: auto; 
	margin-bottom: 2rem;
}

h1, h2 {
	font-family: 'Source Sans Pro', sans-serif;
}

h1, h2 {
	font-size: 2.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
	position: relative;
	display: inline;
}

header, 
.content {
	padding: 1rem 3rem;
}

iframe {
	margin-bottom: 3rem;
}

#intro .content{
	background: url(img/mk_bg.jpg) no-repeat center;
	background-size: contain;
	min-height: 275px;
	max-height: 400px;
}

#clients img {
	display: inline-block;
	max-width: 28%;
	margin-right: 7%;
	vertical-align: middle;
}

#clients img:last-of-type {
	margin-right: 0;
}

input, 
textarea {
	border: 1px solid #d7d7d7; 
	font-family: inherit; 
	font-size: inherit;
	display: block; 
	margin: .5em 0 2em; 
	padding: .5em; 
	height: 3rem; 
	width: 100%; 
	border-radius: 3px;
}

textarea {
	min-height: 235px; 
}

input[type="submit"] {
	font-size: .75em; 
	font-weight: 700; 
	letter-spacing: .5px; 
	text-transform: uppercase; 
	width: 35%; 
	background: #000; 
	color: #fff; 
	transition: all .4s ease;
}

input:focus, 
textarea:focus {
	outline: none; 
	border: 1px solid #000;
}

input[type="submit"]:focus, 
input[type="submit"]:hover {
	background: #ffff7b; 
	color: #000; 
	border: 1px solid #ffff7b;
} 

footer {
	font-size: .8em; 
	padding: .5rem 0; 
	text-align: center; 
}

@media (min-width: 767px){

	body {
		background: linear-gradient(to right, #ffff7b 0%, #ffff7b 50%, #ffffff 50%, #ffffff 100%);
		font-size: 1rem;
	}

	section {
		margin: 0;
		flex-direction: row;
		align-items: stretch;
	}
	
	#intro {    
		background: linear-gradient(to right bottom, lightgray 50%, transparent 50%);
		padding: 0;
	}

	#intro header {
		color: #f7f7f7;
		text-align: left;
		padding: 2rem 0 4rem 2rem;
	}

	#intro .content {
		min-height: 315px;
		margin-top: 18rem;
	}

	header, .content {
		flex-basis: 50%;
		padding: 4rem;
	}

	header {
		text-align: right;
	}

	#intro h1 {
		font-size: 6rem;
		line-height: 5rem; 
	}

	h1, h2 {
		font-size: 3rem;
	}

	.content {
		max-width: 550px;
	}

	footer p {
		margin: 0 0 0 54%; 
		text-align: left;
	}
}


@media (min-width: 900px){

	#intro h1 {
		font-size: 7.5rem;
		line-height: 6rem;
	}

	h1, h2 {
		font-size: 4.5rem;
		line-height: 3rem;
	}
}

@media (min-width: 1200px){
	nav ul {
		right: 20px;
	}
	
	#intro h1 {
		font-size: 6.75rem;
		line-height: 5rem;
	}

	#intro header {
		padding: 6.5rem 0 4rem 3rem;
	}

	#intro .content {
		margin-top: 20rem;
	}
}

@media (min-width: 1900px){
	#intro h1 {
		font-size: 7.5rem;
		line-height: 7rem;
	}
	#intro header {
		padding: 6.5rem 0 4rem 4rem;
	}
}
