/*
	Peumayen Tomé — capa sobre Astral (HTML5 UP)
*/

body {
	background-image:
		url("images/overlay.png"),
		linear-gradient(#000000, #000000);
	background-repeat: repeat, no-repeat;
	background-size: auto, 100% 100%;
	background-attachment: fixed;
}

.topbar {
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-moz-justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	width: 100%;
	gap: 1.25em;
	margin-bottom: 0.35em;
}

.brand-mark {
	display: block;
	flex-shrink: 0;
	line-height: 0;
	border: 0;
	text-decoration: none;
}

	.brand-mark img {
		display: block;
		height: 5.25em;
		width: auto;
		max-width: 11em;
		background: #000000;
	}

#nav {
	-moz-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	text-align: right;
	height: auto;
	padding: 0.35em 0 1.15em 0;
}

	#nav a {
		text-align: center;
	}

		#nav a:after {
			margin-left: 0;
			-moz-transform: translateX(-50%);
			-webkit-transform: translateX(-50%);
			-ms-transform: translateX(-50%);
			transform: translateX(-50%);
		}

		#nav a span {
			text-align: center;
			margin-left: 0;
			-moz-transform: translateX(-50%);
			-webkit-transform: translateX(-50%);
			-ms-transform: translateX(-50%);
			transform: translateX(-50%);
		}

			#nav a span:after {
				margin-left: 0;
				-moz-transform: translateX(-50%);
				-webkit-transform: translateX(-50%);
				-ms-transform: translateX(-50%);
				transform: translateX(-50%);
			}

input[type="submit"],
.button,
a.button {
	background-color: #e30613;
	color: #ffffff;
	text-decoration: none;
}

	input[type="submit"]:hover,
	.button:hover,
	a.button:hover {
		background-color: #c10510;
		color: #ffffff;
		text-decoration: none;
	}

#main > .panel.intro {
	height: 22em;
}

	#main > .panel.intro .pic:before {
		display: none;
	}

	#main > .panel.intro .pic .arrow {
		display: none;
	}

	#main > .panel.intro header p {
		margin-bottom: 0.9em;
		font-size: 1em;
		line-height: 1.35em;
	}

	#main > .panel.intro header .button {
		margin-top: 0.35em;
	}

.panel.construction {
	text-align: center;
}

	.panel.construction .construction__kicker {
		margin: 0 0 0.5em 0;
		letter-spacing: 0.22em;
		text-transform: uppercase;
		font-size: 0.7em;
		color: #e30613;
	}

	.panel.construction .brand__logo {
		display: block;
		width: 14em;
		max-width: 80%;
		height: auto;
		margin: 0 auto 1.25em auto;
		background: #000000;
	}

@media screen and (max-width: 980px) {

	#main {
		overflow: hidden;
	}

		#main > .panel.intro {
			height: auto;
			-moz-flex-direction: column;
			-webkit-flex-direction: column;
			-ms-flex-direction: column;
			flex-direction: column;
		}

			#main > .panel.intro .pic {
				-moz-order: -1;
				-webkit-order: -1;
				-ms-order: -1;
				order: -1;
				width: 100%;
				height: 16em;
			}

			#main > .panel.intro header {
				padding: 1.75em 1.5em 1.5em 1.5em;
				text-align: center;
			}

				#main > .panel.intro header p {
					color: #555555;
					margin: 0.45em 0 1em 0;
				}

				#main > .panel.intro header .button {
					display: block;
					width: 100%;
					margin-top: 0;
					padding: 0.85em 1em;
					text-decoration: none;
				}

}

@media screen and (max-width: 736px) {

	.topbar {
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		gap: 0.5em;
	}

	.brand-mark img {
		height: 4.25em;
	}

	#nav {
		text-align: center;
		width: 100%;
		padding: 0.15em 0 1.05em 0;
	}

	#wrapper {
		padding: 1.25em 0.85em;
	}

	#main {
		border-radius: 0.65em;
	}

		#main > .panel.intro .pic {
			height: 13.5em;
		}

		#main > .panel.intro header {
			padding: 1.35em 1.15em 1.25em 1.15em;
		}

			#main > .panel.intro header h1 {
				font-size: 1.65em;
			}

	#footer {
		padding-top: 1.25em;
	}

}
