/* 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;
}

/** END CSS RESET **/

html, body{
	width: 100%;
	height: 100%;
	background: #191919;
	color: #CCC;
	font-size: 1em;
	font-family: 'Raleway', sans-serif;
}

div{
	box-sizing: border-box;
}

p{
	text-align: justify;
	margin-bottom: 20px;
}

a{
	color: inherit;
}

#container{
	width: 90%;
	max-width: 800px;
	margin: 0 auto;
}

#header{
	display: inline-block;
	width: 100%;
	margin-top: 30px;
	margin-bottom: 20px;
	text-align: center;
}

#main{
	position: relative;
	text-align: justify;
	padding: 30px 0px;
	border-top: solid #9C1414 2px;
	border-bottom: solid #9C1414 2px;
}

.title{
	color: #FFF;
	font-size: 3em;
}

.title.dark{
	color: #A7A37E;
}

.picture{
	width: 300px;
	margin: 0 auto;
	height: 300px;
	border-radius: 50%;
	background: url('/images/me.jpg') no-repeat;
	background-size: cover;
}

@media (min-width: 685px)
{
	.title{
		font-size: 4em;
	}
}

.subject{
	font-size: 1.5em;
	color: #A7A37E;
	margin-top: 30px;
	margin-bottom: 15px;
}

.subject:nth-child(1){
	margin-top: 0;
}

.icons{
	max-width: 3em;
	max-height: 3em;
	margin: 8px;
}

.legaleze{
	font-size: .7em;
	font-style: italic;
}

#footer{
	color: #FFF;
	font-size: 3em;
	text-align: center;
	padding: 30px 0px;
}
