@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&display=swap');


:root {
	--black: #1f1f1f;
	--green: #21be61;
	--headerHeight: 9em;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: white;
	font-family: "Montserrat";
	user-select: none;
	text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

body {
	background-color: var(--black);
	width: 80%;
	margin: 0 auto;
}

.green-button {
	border: .1em solid var(--green);
	border-radius: 2em;
	padding: .3em .5em;
}
.green-button:hover {
	background-color: var(--green);
	color: white;
}

/* FORMATAÇÃO CABECALHO - ICON */

header {
	display: grid;
	grid-template-columns: .6fr 1fr;
	grid-gap: 4em;
	grid-template-areas: ". .";
	background-color: var(--black);
	height: var(--headerHeight);
	position: fixed;
	width: 100%;
	margin-left: -10%;
	padding: 0 10%;
	box-shadow: 0 6px 20px 0px #00000047;

	z-index: 3;
}
header .vicdev-icon {
	display: flex;
    align-items: center;
}
header .vicdev-icon img {
	height: calc(var(--headerHeight) - 1em);
	width: calc(var(--headerHeight) - 1em);
}

/* FORMATAÇÃO CABECALHO - TITULO*/

header .site-title {
	margin-left: 1em;
	letter-spacing: .2em;
}
header .site-title h2 {
	margin-bottom: .3em;
	font-weight: 500;
}
header .site-title h1 {
	font-size: 2.5em;
	line-height: 1.1em;
}
header .site-title h1:nth-child(2) {
	color: var(--green);
}
header .site-title h1:nth-child(3) {
	font-weight: 500;
}

/* FORMATAÇÃO CABECALHO - MENU PC */

header .menu-pc {
	display: grid;
	grid-gap: 1em;
	grid-template-columns: .5fr 1fr .6fr 1.3fr;
}
header .menu-pc .item {
	display: grid;
	place-items: center;
	text-transform: uppercase;
}
header .menu-pc .item h1 {
	font-size: 1.7em;
	transition: .4s;
}
header .menu-pc .item h1:hover {
	color: var(--green);
	cursor: pointer;
}
header .menu-pc .item:nth-child(4) h1:hover {
	color: white;
}


.hover {
	color: var(--green);
	cursor: pointer;
}
.hoverC {
	background-color: var(--green);
	color: white;
	cursor: pointer;

}
/* FORMATAÇÃO CABECALHO - MENU MOBILE */

.menu-mobile {
	display: none;
	justify-content: start;
	place-items: center;
	transform: rotateY(180deg);
}
.menu-btn__burger {
	width: 2.5em;
	height: .4em;
	background: white;
	border-radius: 5px;
	transition: .5s;
}
.menu-btn__burger::before, .menu-btn__burger::after {
	content: '';
	position: absolute;
	width: 2.5em;
	height: .4em;
	background: white;
	border-radius: 5px;
	transition: .5s;
}
.menu-btn__burger::before {
	transform: translateY(-16px);
}
.menu-btn__burger::after {
	transform: translateY(16px);
}
.menu-mobile.open .menu-btn__burger {
	transform: translateX(-50px);
	background: transparent;
}
.menu-mobile.open .menu-btn__burger::before {
	transform: rotate(45deg) translate(35px, -35px);
}
.menu-mobile.open .menu-btn__burger::after {
	transform: rotate(-45deg) translate(35px, 35px);
}

/* FORMATAÇÃO  */

.items-mobile {
	display: none;
	left: -70vw;
	position: absolute;
	height: 100vh;
	background-color: var(--black);
	width: 70%;
	border-right: .1em solid var(--green);
	padding: 1em;
	transition: .7s;
}
.items-mobile .item {
	width: 100%;
	display: flex;
	margin: 2em 1em;
	text-transform: uppercase;
	font-size: .9em;
}
hr {
	opacity: .3;
}
.items-mobile .item h1 {
	transition: .4s;
}
.items-mobile .item h1:hover {
	color: var(--green);
	cursor: pointer;
}
.items-mobile .item:nth-child(7) h1:hover {
	color: white;
}




section {
	width: 100%;
	height: 100vh;
	
	display: grid;
	place-items: center;
	padding: 1em;
	padding-top: var(--headerHeight);
}

section .title {
	margin-bottom: .5em;
	text-transform: uppercase;
	font-size: 5rem;
	text-shadow: 0.2em 0.2em 0px black;
}

section .content {
	display: grid;
	place-items: center;
}




#home h1 {
	font-size: 2em;
	letter-spacing: .1em;
	margin: 1em;
}
#home p {
	transition: .4s;
	font-size: 1.5em;
}


#sobre p {
	font-size: 1.8em;
	text-align: center;
	margin-bottom: .5em;
}



#projetos .phone {
	height: calc(100vh - var(--headerHeight) - 6em);
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;
}
#projetos .phone .phoneFrame {
	height: 100%;
}
#projetos .phone #screen {
	height: calc(100% - 3.6em);
	width: calc(100% - 2.6em);
	position: absolute;
	border-radius: 1em;
	border: black solid .25em;
}




.social {
	margin: 2em auto;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 5em;
}
.social a {
	border: .1em solid var(--green);
	border-radius: 1em;
	width: 2.2em;
	height: 2.2em;
	display: grid;
	place-items: center;
	font-size: 2.5em;
	transition: .5s;
}
.social a:hover {
	background-color: var(--green);
	border-radius: 2em;
}




footer {
	position: fixed;
	bottom: 1em;
}
footer h3 {
	letter-spacing: .1em;
	text-shadow: 0.2em 0.2em 0px black;
}




@media only screen and (max-width: 1500px) {
	:root {
		--headerHeight: 6.7em;
	}
	body {
		width: 90%;
	}

	header {
		margin-left: -5%;
		padding: 0 5%;
	}

	header .menu-pc .item h1 {
		font-size: 1.5em;
	}

	header .site-title {
		font-size: .8em;
	}


	section .title {
		font-size: 4em;
	}
	#sobre p {
		font-size: 1.3em;
	}

	#projetos .phone {
		height: calc(100vh - var(--headerHeight) - 3.5em);
	}

	#projetos .phone #screen {
		height: calc(100% - 3.5em);
		width: calc(100% - 2.5em);
		border-radius: .6em;
	}
}





@media only screen and (max-width: 1010px) {
	:root {
		--headerHeight: 6em;
	}
	body {
		width: 95%;
	}


	header {
		margin-left: -2.5%;
		padding: 0 2.5%;
		grid-gap: 1em;
		height: var(--headerHeight);
	}
	header .menu-mobile {
		display: grid;
	}
	.items-mobile {
		display: block;
	}
	header .menu-pc {
		display: none;
	}

	header .vicdev-icon {
		padding: 0;
	}
	header .site-title {
		letter-spacing: .1em;
		margin-left: .5em;
		font-size: .7em;
	}

	section .title {
		font-size: 2.5em;
		margin-bottom: .5em;
	}

	#home h1 {
		text-align: center;
	}

	#sobre p {
		font-size: 1.3em;
	}

	#projetos .phone #screen {
		height: calc(100% - 3.8em);
		width: calc(100% - 2.5em);
	}

	.social {
		margin: 1em 0;
		grid-gap: 2em;
	}
}



@media only screen and (max-width: 360px) {
	:root {
		--headerHeight: 5.5em;
	}
	header .site-title {
		font-size: .6em;
	}
}