*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	background-color: rgb(29, 11, 57);
	background-color: rgb(248, 248, 248);
	color: white;
	color: rgb(51, 51, 51);
	font-family: Lato, sans-serif;
	line-height: 1.5em;
	display: flex;
	flex-direction: column;
	margin: 0;
}

html, body {
	height: 100%;
}

p {
	width: 600px;
	margin: 50px auto 100px auto;
	text-align: justify;
}

a {
	color: black;
	text-decoration: none;
}

#newsletter:hover,
a:hover {
	text-decoration: underline;
}

footer {
	text-align: center;
	font-size: .9em;
	position: static;
	padding-bottom: 20px;
	margin-top: auto;
}

nav p {
	text-align: center;
	margin-bottom: 0;
}

.flats {
	display: none;
}

footer a.icon img {
	width: 20px;
}

footer p {
	text-align: center;
	padding-top: 10px;
	margin: 0;
	width: auto;
	padding: 0;
}

header {
	margin-top: 50px;
	text-align: center;
}

header img {
	width: 100px;
}

.location {
	padding-top: 10px;
	border-top: 1px solid rgb(51, 51, 51);
	display: block;
	width: 200px;
	margin: 10px auto 10px auto;
}

#newsletter {
	cursor: pointer;
}

@media(max-width: 667px) {
	p {
		width: 90%;
		margin-top: 20px;
		margin-bottom: 30px;
	}

	header {
		margin-top: 20px;
	}

	header img {
		width: 50px;
	}

	nav p {
		margin: 30px auto;
	}

}
