@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Icons by FontAwesome (https://fontawesome.com) */

/* Paleta de Cores */
:root {
  --color-background: #f0f4f8;
  --color-text: #333333;
  --color-azul: #007acc;
  --color-azul-hover: #006bba;
  --color-white: #ffffff;
  --color-box-shadow: rgba(0, 0, 0, 0.1);
  --color-quote-background: #ffebee;
  --color-laranja: #ff6347;
  --color-quote-text: #555555;
  --color-laranja-hover: #ff4500;
  --color-box-shadow-hover: rgba(0, 0, 0, 0.2);
}

/* Formatações básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

p {
  font-weight: 300;
}

article {
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: default;
  margin: 1rem 0;
  width: 100%;
}

h3 {
  color: var(--color-azul);
  margin-bottom: 1rem;
  font-size: 28px;
}

h3 i {
  margin-right: 0.4rem;
}

body {
  background-color: var(--color-background);
}

.artigo-icone {
  margin-right: 0.5rem;
  font-size: 1.1rem;
  color: var(--color-laranja);
}

/* Cabeçalho */
header {
  background-color: var(--color-azul);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  padding: 2rem;
  animation: slideIn 1s ease-in-out;
}

header h1 {
  color: var(--color-white);
  font-size: 42px;
}

header p {
  color: var(--color-white);
  margin-top: 0.6rem;
  font-size: 1.2rem;
  font-weight: 300;
}

.header_footer-icons {
  color: var(--color-white);
  font-size: 1.6rem;
  padding: 0.8rem;
  margin-top: 0.6rem;
  transition: all 0.4s ease;
  text-shadow: 1px 1px 1px var(--color-text);
}

.header_footer-icons:hover {
  color: var(--color-laranja);
}

/* Barra de Navegação */
nav {
  position: sticky;
  background-color: var(--color-azul);
  top: 0;
  z-index: 100;
  animation: slideIn 1s ease-in-out;
}

nav ul {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  list-style: none;
  margin-top: 0;
  gap: 2rem;
}

nav ul li a {
  display: inline-block;
  background-color: transparent;
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 0.7rem;
  transition: all 0.4s ease;
  border-radius: 5px;
}

nav ul li a:hover {
  transform: scale(1.01) translateY(-5px);
  background-color: var(--color-laranja);
  box-shadow: 1px 1px 1px var(--color-text);
}

nav ul li a i {
  padding: 0 0.3rem;
}

/* Conteúdo Principal */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 80%;
  background-color: var(--color-white);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  border-left: 5px solid var(--color-azul);
  border-right: 5px solid var(--color-azul);
  animation: slideIn 1s ease-in-out;
}

h2 {
  color: var(--color-azul);
  font-size: 40px;
  padding: 2rem 0;
}

#introducao {
  margin-top: 2.5rem;
  padding: 0 12rem;
  animation: slideIn 1s ease-in-out;
}

#introducao p {
  font-weight: 300;
  padding-bottom: 2.5rem;
  font-size: 1.2rem;
}

/* Seção Currículo */
#curriculo {
  padding-bottom: 3rem;
}

#curriculo div {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#curriculo div article {
  display: flex;
  flex-direction: column;
}

#curriculo div article:hover {
  transform: translateY(-5px);
}

#curriculo div article h4 {
  color: var(--color-azul);
  padding-bottom: 0.4rem;
}

#curriculo div article span {
  padding: 1rem 1rem 0.6rem 1rem;
  text-align: left;
}

.gradient-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    #007acc,
    rgba(0, 0, 0, 0)
  );
  margin: 40px 0;
}

#formacao {
  width: 100%;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  cursor: default;
  margin: 1rem 0;
}

#formacao:hover {
  transform: translateY(-5px);
}

#formacao span {
  font-weight: 700;
  color: var(--color-azul);
}

.artigo-habilidades {
  margin: 0.5rem;
  padding: 1rem;
}

/* Seção Projetos */
#projetos {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 2rem;
  padding-bottom: 3.5rem;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(3, auto);
}

#projetos h2 {
  grid-column: 1 / 3;
  grid-row: 1 / 1;
}

.artigo-projetos {
  display: flex;
  width: 400px;
  height: 450px;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--color-laranja);
  background-color: var(--color-background);
  transition: all 0.2s ease;
}

.artigo-projetos:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.08);
}

.artigo-projetos:nth-child(1) {
  grid-column: 1 / 1;
  grid-row: 2 / 2;
}

#projetos img {
  width: 100px;
}

#projetos h4 {
  color: var(--color-azul);
  padding: 1rem;
  font-size: 20px;
}

#projetos p {
  padding-bottom: 1rem;
}

#projetos div span {
  display: inline-block;
  background-color: var(--color-laranja);
  color: var(--color-white);
  font-size: 1rem;
  margin: 0 0.2rem;
  padding: 0.4rem 0.6rem;
  transition: all 0.4s ease;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
}

#projetos a {
  display: inline-block;
  text-decoration: none;
  background-color: var(--color-azul);
  color: var(--color-white);
  font-size: 1rem;
  margin: 1.2rem 0;
  padding: 0.6rem 0.8rem;
  transition: all 0.4s ease;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
}

#projetos a:hover {
  background-color: var(--color-azul-hover);
  transform: scale(1.05);
}

/* Seção Depoimentos */
#depoimentos {
  padding-bottom: 2rem;
}

.artigo-depoimentos {
  width: 90%;
  display: grid;
  justify-items: left;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, auto);
  transition: all 0.2s ease;
  border: 2px solid var(--color-azul);
}

.artigo-depoimentos:hover {
  transform: scale(1.04) translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.08);
}

.artigo-depoimentos h5 {
  color: var(--color-azul);
  padding: 0 2rem;
  font-size: 1.2rem;
  align-self: center;
}

.artigo-depoimentos p {
  align-self: self-start;
  text-align: left;
  padding-left: 2rem;
}

.artigo-depoimentos span {
  align-self: self-end;
  padding: 0.4rem 2rem;
}

.artigo-depoimentos img {
  width: 100px;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  grid-column: 1 / 1;
  grid-row: 1 / 4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.artigo-depoimentos h5 {
  grid-row: 1 / 1;
}

/* Seção Publicações */
#publicacoes {
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(2, auto);
  padding-bottom: 3rem;
}

#publicacoes h2 {
  grid-column: 1 / 4;
  grid-row: 1 / 1;
  margin-bottom: 1rem;
}

.artigo-publicacoes {
  width: 315px;
  height: 415px;
  padding: 0;
  margin: 0 2rem;
  border: 3px solid var(--color-azul);
  transition: all 0.2s ease;
}

.artigo-publicacoes:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.08);
}

.img-publicacoes {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 6px 6px 0 0;
  border-bottom: 3px solid var(--color-azul);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.artigo-publicacoes h3 {
  margin: 0.8rem 0;
  font-size: 18px;
}

.artigo-publicacoes p {
  padding: 0 1rem;
}

.artigo-publicacoes a {
  display: block;
  width: 50%;
  background-color: var(--color-laranja);
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 0.7rem;
  transition: all 0.4s ease;
  border-radius: 5px;
  margin: 1rem auto;
}

.artigo-publicacoes a:hover {
  transform: scale(1.01) translateY(-5px);
  background-color: var(--color-laranja-hover);
  box-shadow: 1px 1px 1px var(--color-text);
}

#posicao-botao-publicacoes-2 {
  margin-top: 2.5rem;
}

#posicao-botao-publicacoes-3 {
  margin-top: 2.5rem;
}

/* Seção Contato */
#contato {
  padding-bottom: 2rem;
}

#contato form {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  width: 40%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid var(--color-azul);
  margin-bottom: 1rem;
}

#contato input,
textarea {
  outline: none;
  border: 2px solid transparent;
  background-color: var(--color-background);
  padding: 0.6rem 0.2rem 0.6rem 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
  width: 100%;
  transition: all 0.2s ease;
  font-size: 1rem;
}

#contato input:focus,
#contato textarea:focus {
  border: 2px solid var(--color-azul);
}

#contato textarea {
  resize: none;
}

form div {
  position: relative;
  width: 100%;
}

.icone-contato {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-azul);
}

#icone-textarea {
  position: absolute;
  left: 10px;
  top: 23px;
  transform: translateY(-50%);
  color: var(--color-azul);
}

form button {
  width: 50%;
  background-color: var(--color-laranja);
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 0.7rem;
  transition: all 0.4s ease;
  border-radius: 5px;
  border: none;
  margin: auto;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
}

form button:hover {
  transform: scale(1.01) translateY(-5px);
  background-color: var(--color-laranja-hover);
  box-shadow: 1px 1px 1px var(--color-text);
}

/* Rodapé */
footer {
  background-color: var(--color-azul);
  display: flex;
  justify-content: center;
  animation: slideIn 1s ease-in-out;
  position: relative;
}

.paragrafo-rodape {
  position: absolute;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  bottom: 0;
  padding: 0.6rem;
}

footer div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 25%;
  padding: 2rem 0;
}

footer div p {
  color: var(--color-white);
}

footer #links-rodape a {
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  margin-bottom: 0.4rem;
  transition: all 0.2s ease;
}

footer #links-rodape a:hover {
  border-bottom: 1px solid var(--color-white);
}

footer div h3 {
  color: var(--color-white);
}

#redes {
  display: flex;
  flex-direction: column;
}

#redes div {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: self-start;
  padding: 0;
}

#redes a {
  color: var(--color-white);
  font-size: 1.6rem;
  padding: 0 1rem;
  transition: all 0.4s ease;
  text-shadow: 1px 1px 1px var(--color-text);
}

#redes a:hover {
  color: var(--color-laranja);
}

/* Animação de Entrada */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
