* {
	margin: 0;
	padding: 0;
	box-sizing: border-box
}
@font-face {
    font-family: PRIMETIME;
    src: url(primetime.ttf);
}
body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background: url(fundo.jpg) no-repeat;
	background-size: cover;
}
.flex-container {
	width: 920px;
	list-style: none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	justify-content: space-around;
}
.flex-item {
	background: tomato;
	padding: 5px;
	width: 220px;
	height: 150px;
	margin-top: 10px;
	background-color: rgba(0, 94, 144, .8);
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-box-shadow: 10px 20px 41px -16px rgba(0,0,0,0.75);
	-moz-box-shadow: 10px 20px 41px -16px rgba(0,0,0,0.75);
	box-shadow: 10px 20px 41px -16px rgba(0,0,0,0.75);
	cursor: pointer;
	transition: background-color .25s;
	border-radius: 30px;
}

.flex-item:hover {
	background-color: rgba(0, 94, 144, 1);
}

.flex-item > span {
	text-align: center;
	display: block;
	font-family: "PRIMETIME";
	color: #fff;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, .7);
	text-transform: uppercase;
	font-size: 13pt;
}

@media (min-height: 700px) {
  div#logo {
		width: 160px;
		height: 160px;
		position: absolute;
		top: 20px;
		left: 20px;
		background:url(logo.png) no-repeat;
		background-position: center center;
		background-size: contain;
	}
	
	div#logo_leg {
		width: 300px;
		height: 70px;
		position: absolute;
		right: 20px;
		bottom: 40px;
		background:url(logo_leg.png) no-repeat;
		background-position: center center;
		background-size: contain;
		opacity: .4;
	}
	
	div#logo_company {
		width: 170px;
		height: 30px;
		position: absolute;
		right: 20px;
		bottom: 20px;
		background:url(logo_company.png) no-repeat;
		background-position: center center;
		background-size: contain;
		opacity: .4;
	}
	
	div#copyright {
		width: 100px;
		height: 30px;
		position: absolute;
		right: 170px;
		bottom: 20px;
		margin: auto;
		background:url(copyright.png) no-repeat;
		background-position: center center;
		background-size: contain;
		opacity: .4;
	}

	span#title {
		display: block;
		position: absolute;
		top: 70px;
		left: 220px;
		font-size: 25pt;
		color: #fff;
		font-family: "PRIMETIME", "sans-serif";
		text-shadow: 1px 1px 3px rgba(0, 0, 0, .7);
	}
	footer {
		bottom: 50px;
		position: absolute;
		width: 100%;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	footer > span {
		font-size: 12pt;
		color: #fff;
		text-align: center;
		font-family: Helvetica, "sans-serif";
		font-weight: bold;
		text-shadow: 1px 1px 3px rgba(0, 0, 0, .7);
	}
}

@media (max-height: 660px) {
	div#logo {
		display: none;
	}
	span#title {
		display: none;
	}
	footer {
		display: none;
	}
}