* {
	box-sizing: border-box;
}

body {
	font-family: Dosis, sans-serif;
	font-size: 20px;
	margin: 0;
}

h1,
h3 {
	margin-bottom: 0;
}

p {
	margin: 0;
}

a {
	text-decoration: none;
}

header {
	background: url(../img/bg-gestores.jpg) no-repeat center;
	background-size: cover;
	color: white;
	height: 50vh;
	max-height: 420px;
	padding: 2em 0;
	text-align: center;
}

header p {
	opacity: .66;
}

main {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	margin: -110px auto 0 auto;
	max-width: 768px;
}

main a {
	background: white;
	border-radius: 4px;
	box-shadow: 0 0 15px rgba(0,0,0,.20);
	color: #68252E;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	font-size: 24px;
	height: 220px;
	text-align: center;
	transition: .3s;
	width: 320px;
}

main a:hover {
	background: #f0f0f0;
	box-shadow: 0 0 25px rgba(0,0,0,.20);
	transition: .3s;
}

footer {
	bottom: 1em;
	color: #68252E;
	font-size: 15px;
	position: absolute;
	text-align: center;
	width: 100%;
}

@media(max-width: 640px) {
	header {
		max-height: 250px;
	}
	main {
		margin: 1.5em;
	}
	
	main a {
		height: 175px;
	  width: 240px;	
		padding: 1em;
	}
	
	footer {
		position: relative;
	}
}

@media(max-width: 440px) {
	header {
		font-size: 16px;
	}
	
	main a {
		font-size: 18px;
		height: 150px;
	  width: 140px;	
		padding: 1em;
	}
}