html {
	background-color: #fff;
}

body {
	box-sizing: border-box;
	color: #585240;
	font-family: 'Josefin Sans', sans-serif;
	font-size: 16px;
	min-height: 100vh;
	line-height: 32px;
	position: relative;
	text-align: center;
}

#container {
	background-color: #F0F0E8;
	bottom: 20px;
	left: 20px;
	position: absolute;
	right: 20px;
	top: 20px;
}

h1, h2, h3 {
	color: #585240;
	margin: 0;
}

h1 {
	font-family: 'Josefin Sans', sans-serif;
	font-size: 50px;
	letter-spacing: 2px;
	line-height: 120%;
	margin-top: 5vh;
	position: relative;
	text-transform: uppercase;
}
h1::after {
	content: attr(data-title);
	font-size: 4vw;
	left: 50%;
	opacity: 0.07;
	position: absolute;
	pointer-events: none;
	top: 50%;
	white-space: nowrap;
	
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#top-contact {
	position: absolute;
	top: 20px;
	right: 30px;
}

#linkscontainer {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: flex;
	
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	justify-content: space-between;
	
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap; 
	flex-wrap: wrap;
	
	margin: 50px auto 0;
	padding: 0 16px;
	max-width: 720px;
}

#linkscontainer .link {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: flex;
	
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap; 
	flex-wrap: wrap;
	
	background-color: rgba(255, 255, 255, 0.5);
	border: 2px solid rgba(88, 82, 64, 0.1);
	color: #666;
	margin: 4px;
	padding: 30px;
	position: relative;
	text-align: center;
	-webkit-transition: all 250ms ease;
	-moz-transition: all 250ms ease;
	-o-transition: all 250ms ease;
	transition: all 250ms ease;
	width: calc(50% - 8px);
}

#linkscontainer .link:hover {
	background-color: #fff;
}

#linkscontainer .link .link-image {
	margin: 0 auto;
	width: 90%;
}

#linkscontainer .link .link-image img {
	height: 100%;
	max-height: 55px;
	margin: 30px auto;
	width: 100%;
	max-width: 300px;
}

#linkscontainer .link a {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

address {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: flex;
	
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	justify-content: space-between;
	
    bottom: 20px;
	position: absolute;
	width: 100%;
}

address p {
	line-height: 140%;
	margin: 0 30px;
	text-align: left;
}

address p:last-child {
	text-align: right;
}

@media screen and (max-width: 960px) {
	html {
		background-color: #F0F0E8;
	}
	
	body {
		height: auto;
	}
	
	#container {
		left: 0;
		position: relative;
		top: 0;
	}
	
	#top-contact {
		font-size: 14px;
		line-height: 140%;
		position: relative;
		right: auto;
		text-align: center;
		width: 100%;
	}
	
	#top-contact span {
		white-space: nowrap;
	}
	
	h1 {
		font-size: 32px;
		margin-top: 0;
		padding-top: 50px;
	}
	h1::after {
		display: none;
	}
	
	#linkscontainer {
		margin-top: 20px;
	}
	
	#linkscontainer .link {
		width: 100%;
	}
	
	#linkscontainer .link .link-image img {
		margin: 0 auto;
	}
	
	address {
		bottom: 0;
		display: block;
		margin: 20px auto;
		position: relative;
	}
	
	address p {
		text-align: center !important;
	}
}