:root {
	--cor-primaria: #090C36;
	--cor-secundaria: #04A4CC;
	--texto: #444;
}

body {
	color:var(--texto);
	padding: 0px;
	margin:0px;
	font-family: "Inter", sans-serif;
	font-size: 1rem;
	font-weight: 300;
  	font-optical-sizing: auto;
  	font-style: normal;
	line-height: 1.5em;
}

strong {
	font-weight: 700;
}

a { 
	color: var(--cor-secundaria);
	text-decoration: underline;
}
a:hover {
	color:var(--cor-primaria);
}

img {
	width: 100%;
}

div.layout {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding:0px;
	min-height: 100vh;
	width: 100%;
}

nav, div.nav-spacing {
	width: 30%;
}

nav {
	padding: 20px;
	height: 100vh;
	background-image: url('./img/fundo-nav.webp');
	background-size: cover;
	background-position: right center;
	background-color: white;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 99;
}

nav ul {
	padding: 0px;
	margin: 0px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style-type: none;
}

nav ul a {
	background-color: var(--cor-primaria);
	padding: 10px 20px;
	color: white;
	font-weight: bold;
	width: 100%;
	max-width: 250px;
	margin: 0px;
	text-decoration: none;
}

nav ul a:hover, nav ul a:focus {
	background-color: var(--cor-secundaria);
	color: white;
}

#botao-menu {
	display: none;
}

div.page {
	width: 65%;
	float: right;
	min-height: 100%;
}

.wrapper {
	max-width: 1280px;
	width: calc(90% - 60px);
	margin: 0 auto;
	position: relative;
	padding: 30px;
	text-align: center;
}

img.logo-img {
	margin-top: 30px;
	margin-bottom: 30px;
	width: 90%;
	max-width: 700px;
}

.footer {
	width: 100%;
	padding-top: 50px;
	font-size: 0.8em;
	text-align: right;
}

div.home {
	text-align: right;
}

div.home-topicos {
	display: flex;
	flex-direction: row;
	gap: 50px;
	flex-wrap: wrap;
	justify-content: center;
}

div.topicos {
	width: 25%;
	padding: 0px;
}

div.topicos img {
	height: 50px;
	width: auto;
}

div.topicos p {
	margin: 0;
}

div.empresas {
	display: flex;
	flex-direction: column;
	gap: 50px;
	flex-wrap: wrap;
	justify-content: center;
}

div.item {
	text-align: left;
	display: flex;
	flex-direction: row;
	gap: 30px;
	justify-content: center;
	align-items: center;
	width: 100%;
	justify-content: flex-start;
}

div.item img {
	width: 90%;
	max-width: 200px;
	height: auto;
	object-fit: contain;
}

div.resumo {
	width: calc(100% - 60px);
	padding: 15px 30px;
	background-color: #e6e6e6;
	margin: 50px 0;
}

::selection {
	background:var(--cor-secundaria);
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:var(--cor-secundaria);
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:var(--cor-secundaria);
	color:#FFF;
	text-shadow:none;
}

/* ========== TABLET (até 768px) ========== */
@media (max-width: 768px) {

	div.nav-spacing {
		display: none;
	}

	nav {
		left: -100%; /* começa fora da tela, à esquerda */
		width: 85%;
		max-width: 300px;
		display: block;
		box-shadow: 2px 0 10px rgba(0,0,0,0.2);
		transition: left 0.3s ease;
	}

	nav.aberto {
    	left: 0;
	}

	nav ul {
		margin-top: 75px;
	}

	#overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.5);
		z-index: 98;
	}

	#overlay.ativo {
		display: block;
	}

	#botao-menu {
		position: fixed;
		top: 20px;
		left: 20px;
		display: block;
		width: 40px;
		height: 40px;
		z-index: 9999;
		background-color: var(--cor-primaria);
		color: white;
		border: none;
		font-size: 25px;
	}

	#botao-menu:hover, #botao-menu:focus {
		background-color: var(--cor-secundaria);
	}

	div.page {
		width: 100%;
	}

	div.topicos {
		width: 45%;
	}
}

/* ========== MOBILE (até 425px) ========== */
@media (max-width: 425px) {
	div.item {
		flex-direction: column;
		gap: 0px;
		text-align: center;
	}

	div.home-topicos {
		flex-direction: column;
	}

	div.topicos {
		width: 100%;
	}
}