/* RESET */
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
  background: linear-gradient(180deg, #000, #141414, #000);
  color: white;
  font-family: roboto, Arial, Helvetica, sans-serif;
}


.espaço-50{
	width: 10px;
	height: 50px;
}

/* HEADER */
header {
	width: 100%;
	height: 50px;
	position: fixed;
	z-index: 1;
	top: 0;
	background-color: #490009;
	}

/* Botão hambúrguer */
label {
	width: 30px;
	margin: 10px;
	position: absolute;
	z-index: 1;
}
.menu-btn {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 25px;
	cursor: pointer;
	z-index: 2;
}

.menu-btn span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: #f6ac09; /* cor das barras */
	border-radius: 2px;
	transition: 0.4s;
}

/* Animação para virar X */
	#check:checked + .menu-btn span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

#check:checked + .menu-btn span:nth-child(2) {
	opacity: 0;
}

#check:checked + .menu-btn span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}
  



#check {
display: none;
}

/* NAV SIDE */
.nav-side {
width: 15%;
height: 100vh;
background-color: #490009;
position: absolute;
top: 50px;
transform: translateX(-100%);
transition: 1s;
}

.nav-header {
display: flex;
}

/* LOGO PARA MEDIA */
.logo {
display: none;
}

.nav-header .menu-principal {
display: flex;
height: 50px;
}

.nav-header .menu-principal .item-menu-principal {
flex-basis: 16.66%;
text-align: center;
line-height: 50px;
}

.menu-principal {
width: 100%;
list-style: none;
}

.sub-menu-nav-header {
background-color: #490009;
transform: translateY(-133%);
text-align: left;
list-style: none;
}

.sub-menu-nav-side {
background-color: #490009;
list-style: none;
display: none;
text-align: left;
width: 100%;
}

.menu-principal .item-menu-principal a {
text-decoration: none;
font-family: serif;
color: white;
display: block;
}

.menu-principal a:hover {
background-color: rgba(255, 255, 255, 0.2);
color: darkgoldenrod;
font-weight: bolder;
}

#check:checked ~ .nav-side {
transform: translateX(0%);
}

.item-menu-principal:hover .sub-menu-nav-header {
transform: translateY(0%);
}

.item-menu-principal:hover .sub-menu-nav-side {
display: block;
position: absolute;
transform: translate(100%, -33%);
}

/* MAIN */
main {
	background: linear-gradient(180deg, #000, #141414, #000);
	color: white;
	font-family: roboto, Arial, Helvetica, sans-serif;
}

main div {
	width: 50%;
	margin-top: 40px;
	margin-left: auto;
	margin-right: auto;
}

main div p {
	text-align: justify;
	font-size: 1.2em;
	text-shadow: 3px 3px black;
}

/* FOOTER */
footer {
	width: 100%;	
	height: 90px;
	background-color: #490009;
	text-align: center;
	color: white;
	font-family: Arial;
	line-height: 17px;
	bottom: 0px;
	display: table;
}

footer p {
	display: table-cell;
	vertical-align: middle;
}

footer img {
	width: 18px;
}

/* =========================
	MEDIA QUERIES AGRUPADAS
	========================= */

/* >= 300px */
@media (min-width: 300px) {


	.nav-side { width: 50%; }

	.nav-header { display: none; }

	.logo { 
		display: flex; 
		justify-content: center; 
		align-items: center; 
		height: 50px; 
	} 
	.logo img { 
		max-height: 50px; 
		width: auto; 
		display: block; 
	} 

	.nav-side .menu-principal a { 
		padding: 10px; 
	}

	main div {
		width: 100%;
		margin-top: 25px;
		margin-left: auto;
		margin-right: auto;
	}

	footer {
		font-size: 0.8em;
	}
	footer img { width: 15px; }
}

/* >= 600px */
@media (min-width: 600px) {
	.nav-side { width: 30%; }

	footer {
		height: 90px;
		font-size: 0.9em;
		line-height: 17px;
	}
}

/* >= 750px */
@media (min-width: 750px) {
	main div { width: 100%; }

	footer {
		height: 90px;
		line-height: 20px;
	}
}

/* >= 1020px */
@media (min-width: 1020px) {
	.nav-side { width: 20%; }

	footer { line-height: 17px; 
	}
}

/* >= 1200px */
@media (min-width: 1200px) {
	.menu-btn { 
		display: none; 
	}

	.logo { 
		display: none; 
	}

	.nav-header { 
		display: flex; 
	}

	.sub-menu-nav-header .opcao-sub-menu { 
		text-indent: 10px; 
	}

	main div { 
		width: 100%; 
	}

	.logo-empresa { 
		text-align: center; 
		flex-basis: 13%; 
		height: 50px;
		display: flex;
		align-items: center; 
		justify-content: center;
	} 
	.logo-empresa img { 
		max-height: 50px;
		width: auto;
		display: block;
	}
}