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

/* Reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Configurações Gerais */

* {
	font-family: "Poppins", sans-serif;
	line-height: 1.2;
}

/* Configurando a largura máxima */
.secoes {
	max-width: 768px;
	margin: auto;
}
/* Paleta de cores */
:root {
	--cor1: #C8C8C8;
	--cor2: #282828;
	--cor3: #f5f5f5;
	--cor4: #7F72A8;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

a {
	text-decoration: none;
	color: black;
	font-weight: bolder;
}

p {
	padding: 15px;
	text-align: center;
}

/* Configurações do cabeçalho */
.header {
	width: 100%;
	height: 15vh;
	background: url('../imagens/img1.jpg') no-repeat center center;
	background-size: cover;
}

/* Configurações do botão de menu */

nav {
	position: sticky;
	top: -1%;
	width: 100%;
	background-color: black;
	z-index: 1;
}

nav div {
	display: flex;
	justify-content: center;
}
nav button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 5vh;
	margin: 5px ;
	border: 1px solid lightgray;
	background-color: black;
	cursor: pointer;
 font-family: "Poppins", sans-serif;
}

.linha {
	background-color: white;
	display: block;
	margin: 1px;
	width: 16px;
	height: 3px;
	transform-origin: center;
	transition: 0.5s;
}

button.ativar .linha:nth-child(1){
	transform: translateY(2px) rotate(-45deg);
}

button.ativar .linha:nth-child(3){
	transform: rotate(45deg);
	position: absolute;
}

button.ativar .linha:nth-child(2){
	width: 0;
}

.div-menu {
	position: sticky;
	top: 4.7%;
	z-index: 1;
}

div .menu {
	visibility: hidden;
	position: absolute;
	background-color: rgba(255, 255, 255, 0.89);
	width: 100%;
	height: 0;
	transition: .7s;
	text-align: center;
	overflow: hidden;
}

.menu.mostrar {
	visibility: visible;
	height: 89vh;
}

div .menu li {
	color: black;
	padding: 15px 0;
	cursor: pointer;
}

.menu li:hover {
	background-color: var(--cor2);
	color: white;
}

.menu li a {
	text-decoration: none;
	color: inherit;
 font-family: "Poppins", sans-serif;
}

/* Configurações da seção perfil */

main {
	width: 100%;
	background-color: white;
	min-height: 1200px;
}

main h1 {
	font-size: 2rem;
	text-align: center;
	margin: 10px;
	font-weight: bolder;
}

main .perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin: 50px auto;
  color: black;
  text-align: center; 
}

section .fotoPerfil {
  margin: 15px;
  border: 3px solid black;
  border-radius: 50%;
  background-color: black;
}

section .fotoPerfil:hover {
	transform: translate(2px, -5px) rotate(10deg);
}

/* Configurações da seção Sobre Mim */

#sobreMim {
	display: none;
	text-align: center;
}

#sobreMim h1 {
	font-size: 2rem;
	text-align: center;
	margin: 100px auto 30px auto;
	font-weight: bolder;
}

#sobreMim article {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
}

#sobreMim ol {
  background-color: var(--cor3);
  border-radius: 8px;
  box-shadow: 1px 1px 1px 1px var(--cor1);
  margin: 10px;
}

#sobreMim ol li {
	text-align: left;
	padding: 20px;
	margin: 10px;
}

#sobreMim ol li span {
	font-weight: bold;
	color: black;
	padding: 10px;
	border-radius: 8px;
	background-image: linear-gradient(to right, var(--cor4), transparent);
	
}

/* Configurações da seção Formação */

#formatura {
	display: none;
	text-align: left;
}

#formatura h1 {
	font-size: 2rem;
	text-align: center;
	margin: 100px auto 30px auto;
	font-weight: bolder;
}

#formatura article {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
	height: 50vh;
}

#formatura article ul {
	list-style-type: disc;
	padding: 20px 30px;
	background-color: var(--cor3);
	margin: 10px;
	border-radius: 8px;
	box-shadow: 1px 1px 1px 1px var(--cor1);
}

#formatura .lista {
	list-style-type: none;
}

.lista span {
	background-image: linear-gradient(to right, var(--cor4), transparent);
	padding: 10px;
	border-radius: 5px;
	color: black;
	font-weight: bold;
}

/* Configurações da seção Projetos */

#projetos {
	display: none;
}

#projetos ul .hidden img {
	display: block;
	margin: auto;
}

#projetos h1 {
	font-size: 2rem;
	text-align: center;
	margin: 100px auto 30px auto;
	font-weight: bolder;
}

#projetos ul .hidden h2 {
	display: block;
	margin: 50px auto 0 auto;
	text-align: center;
	padding: 5px;
	font-weight: bold;
}

.linkRepositorio {
	background-color: var(--cor2);
	color: white;
	padding: 10px;
	margin: 20px;
	border-radius: 8px;
}

.linkRepositorio a {
	color: white;
}

/* Configurações das animações */

.hidden {
	margin-bottom: 150px;
	opacity: 0;
	filter: blur(15px);
	transition: all .5s;
	transform: translateX(-100%);
}

.show {
	opacity: 1;
	filter: blur(0);
	transition: all 1.5s;
	transform: translateX(0%);
}

/* Configurações de Contato */

#contato {
	display: none;
	position: relative;
	top: 40vh;
	max-width: 700px;
	margin: 20px;
	background-color: var(--cor3);
	color: var(--cor2);
	border-radius: 8px;
	border: 1px solid lightslategray;
	box-shadow: 1px 1px 1px 1px var(--cor1);
  }

  #contato h1 {
	margin: 10px;
  }
  
  fieldset {
	border: none;
  }
  
  span {
	display: flex;
	flex-direction: row;
  }
  
  input, textarea {
	width: 100%;
  }
  
  .enviar {
	width: 30vw;
	display: block;
	margin: 5px auto;
	background-color: var(--cor2); 
	color: white;
	border-radius: 3px;
	padding: 5px;
  }
  
  .enviar:hover{
	background-color: white;
	color: black;
  }
  input, textarea, label {
	margin: 10px;
  }
  .mensagem {
	display: flex;
	flex-direction: row;
	align-items: center;
  }


  /* Configurações do rodapé */

footer {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 5vh;
	padding: 6px 0;
	background-color: black;
}

footer p {
	font-style: italic;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bolder;
	color: white;
	padding: 10px;
}
