* { outline: 0; margin: 0; padding: 0; }

body {
	color: #444;
	font-family: 'Roboto', sans-serif;
	font-size: 100%;
}

header {
	position: relative;
	height: 100px;
	padding: 2% 0;
	text-align: center;
	background: #373737;
}

header img {
	display: none;
}

header h1 {
	font-size: 1.8em;
	margin-bottom: 0.3em;
}

header h1 a{
	color: #5284B9;
}

.nav-item {
	display: none;
}

nav a {
	color: #908B8B;
	font-size: 1.2em;
	font-weight: 500;
	padding: 0 0.5%;
}

#home .home, #photos .photos, #about .about, #soccer .soccer {
	color: orange;
}

article {
	padding: 1em 1em 3em;
	background: url("/images/background.png");
}

article > p:nth-of-type(1):first-letter {
	float: left;
	font-size: 300%;
	font-family: georgia;
	line-height: 100%;
	padding-right: 0.13em;
}

article img {
	max-width: 100%;
	box-shadow: 0 0 30px #cccccc;
	border-radius: 20px;
}

a {
	text-decoration: none;
	color: #5284B9;
}

a:hover {
	color: orange;
}

h1 {
	color: #5284B9;
	font-size: 2em;
	margin: 0.5em 0;
}

h2 {
	font-size: 1.5em;
	margin: 1em 0 0.5em;
}

#blog-list h1 {
	margin-bottom: 0.2em;
}

#blog-list h2 {
	color: #908B8B;
	margin-top: 0;
}

hr {
	margin-bottom: 1.5em;
}

p {
	line-height: 1.5em;
	margin: 0.7em 0;
}

section {
	padding-left: 1em;
}
ul {
	margin-left: 3em;
}

li {
	line-height: 1.5em;
}

table {
	margin: 0 0 1.5em 1em;
}

table,th,td {
	border: 1px solid black;
	border-collapse: collapse;
}

th,td {
	padding: 5px 10px;
}

th {
	background-color: #686A6C;
	color: white;
}
picture img{
	margin: 0.5em 0 0;
}

picture p {
	font-size: 1em;
	text-align: center;
	margin-top: 0;
	margin-bottom: 1.5em;

}

#contact {
	color: #5284B9;
	list-style-type: none;
	margin-left: 0;
}

@media screen and (min-width: 640px) {
	body {
		background:url("/images/footer_lodyas.png") fixed;
	}
	header {
		box-shadow: 0 0 3px #000000;
		background: transparent;
	}
	header img {
		display: block;
		position: absolute;
		border-radius: 10px;
		left: 15%;
		top: 30px;
		width: 80px;
	}
	picture p {
		font-size: 1.2em;
	}
	article {
		padding-top: 1.5em;
	}
}

@media screen and (min-width: 1024px) {
	header {
		position: fixed;
		height: 100%;
		width: 300px;
		padding-top: 4em;
	}
	header img {
		position: static;
		display: block;
		border-radius: 20px;
		margin: 0 auto 1em;
		width: 70%;
	}
	.nav-item {
		display: inline;
	}

	nav {
		margin-left: 25%;
		text-align: left;
	}

	#local-nav a {
		display: block;
	}

	#social-network {
		display: block;
		margin-top: 1em;
	}

	article {
		margin-left: 300px;
		padding: 2em 3em 4em;
	}

}
