@charset "utf-8";
/* CSS Document */

body{
	margin:0px;
	padding:0px;
}

ul{
	list-style: none;
}

a{
	text-decoration: none;
}

.toggle{
	display: none;
}

#main{
	min-height: 100vh;
	width: 100%;
	background-image: url("../img/fundo2.jpg");
	background-position: center;
	background-size: cover;
	position: relative;
	
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 2px;
	font-family: "Metric SemiBold";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 50px;
	background-color: #f4f7ff;
	box-shadow: 2px 2px 12px rgba(0,0,0,0.05);
	z-index: 1;
}

.menu {
	display: flex;
}

.menu li a {
	padding: 10px 15px;
	color: #6c707c;
	font-size: 12px;
}

.lang{
	color: #292929;
}

.logo{
	font-size: 25px;
	font-weight: bold;
	color: #000000;
	font-family: "Metric Bold";
}

.name{
	width: 90%;
	color: #000000;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}


.name h1{
	font-family: "Metric Bold";
	font-size: 45px;
	font-weight: 600;
}

.name p{
	font-family: "Metric Light";
	color: #000000;
	font-size: 22px;
	
}


.cv-btn{
	width: 200px;
	height: 45px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #292929;
	color: #ffffff;
	font-weight: bold;
}

/* Clientes */

#portfolio{
	width: 100%;
	box-sizing: border-box;
	font-family: "Metric Bold";
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 60px 2% 20px 2%;
}

.p-heading{
	font-family: 'Metric Bold';
	font-size: 30px;
	text-align: center;
	color: #000000;
	font-weight: 900;
	
}

.p-box{
	background-color: #ffffff;
	overflow: hidden;
	position: relative;
}

.p-b-container{
	width: 90%;
	height: 70vh;
	display: grid;
	grid-template-rows: auto auto;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 10px;
	
}

.text-overlay{
	font-family: "Metric SemiBold";
	position: absolute;
	left: 0;
	top:0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background-color: #383532;
	display: none;
}

.text-overlay h1,p{
	color: #fff;
}

.text-overlay h1{
	font-size: 25px;
	margin: 0;
	padding: 0;
}

.text-overlay p{
	font-size: 19px;
	margin: 0;
}

.p-box:hover .text-overlay{
	display: flex;
}

.p-box img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Fim cliente */

/*-------inicio responsive -----*/

@media(max-width:1190px){
	#main{
		background-size: 1150px !important;
		
	}
	.name{
		left: 10%;
		top: 50%;
		transform: translate(-10%,-50%);
	}
	 
}

@media(max-width:970px){
	#main{
		background-image: none !important;
		
	}
	.name{
		left: 50%;
		top: 50%;
		transform: translate(-50%,-50%);
	}
	
	.p-b-container{
		width:100%;
	
	}
			
  }

@media(max-width:900px){
	.toggle{
		display: block;
	}
	
	.toggle:before{
		content: '\f0c9';
		font-family: FontAwesome;
		line-height: 0px;
		margin-left: -35px;
	}
	
	.toggle.active:before{
		content: '\f00d';
	}
	nav {
		padding: 10px 30px;
	}
	nav ul{
		position: absolute;
		width: 100%;
		height: auto;
		box-sizing: border-box;
		background-color: #0f0f0f;
		top: 50px;
		left: 0;
		transition: 0.5s;
		overflow: hidden;
		border: 3px solid #1F1F1F;
		display: none !important;
		margin: 0px;
		padding: 0px;
	}
	
	nav ul li a{
		border-bottom: 1px solid rgba(255,255,255,0.10) ;
		color:#ffffff !important;
		width: 100%;
		height: 50px;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 0px !important;
		padding: 0px !important;
}
	.active-menu {
		display: block !important;
	}
	
	.p-b-container{
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
		height: auto;
		grid-gap: 10px;
	}
	
}

@media(max-width:600px){
	.p-b-container{
		grid-template-columns: 1fr;
	}
	.name{
		width: 60%;
	}
}