:root {
  --branco: #fff;
  --preto: #000;
  --linear: linear-gradient(135deg, #7857fe 0%, #2af2fd 100%);
  --main-color: #7857fe;
  --color-1: #141414;
  --color-2: #a3a3a3;
  --color-3: #525252;
  --color-4: #8f8f8f;
  --color-5: #f5f5f5;
  --cinza: #cccccc;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-preto-300: 0 5px 15px rgba(0, 0, 0, 0.3);
  --fundo: var(--branco);
  --gradiente-texto: linear-gradient(135deg, #73fe57 0%, #2af2fd 100%);
  --borda-arredondada: 12px;
  --verde-primario: #2E8B57;
  /* SeaGreen */
  --verde-secundario: #3CB371;
  /* MediumSeaGreen */
  --verde-claro: #90EE90;
  /* LightGreen */
  --verde-escuro: #006400;
  /* DarkGreen */
  --verde-azulado: #20B2AA;
  /* LightSeaGreen */
  --texto-branco: #FFFFFF;
  --texto-preto: #333333;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  /* background-color: var(--verde-claro); */
  color: var(--texto-preto);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 10px;
  margin-top: 2rem;
}

h1 {
  color: var(--verde-escuro);
  border-bottom: 2px solid var(--verde-azulado);
  padding-bottom: 0.5rem;
}

.destaque {
  color: var(--verde-primario);
  font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
}

ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 100px;
  box-sizing: border-box;
}

.subtitulo {
  font-size: 8rem;
  line-height: 1;
  text-transform: uppercase;
  word-break: break-all;
  max-width: 4ch;
  background: var(--gradiente-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.introducao,
.experiencia,
.formacao,
.footer {
  animation: fadeIn 0.8s ease-out forwards;
}

.projeto,
.faculdade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.projeto.animate,
.faculdade.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Delay para animação em cascata */
.projeto:nth-child(1) {
  transition-delay: 0.1s;
}

.projeto:nth-child(2) {
  transition-delay: 0.2s;
}

.projeto:nth-child(3) {
  transition-delay: 0.3s;
}

.faculdade:nth-child(1) {
  transition-delay: 0.1s;
}

.faculdade:nth-child(2) {
  transition-delay: 0.2s;
}

.faculdade:nth-child(3) {
  transition-delay: 0.3s;
}

@media (max-width: 800px) {
  .subtitulo {
    font-size: 3rem;
    text-transform: capitalize;
    max-width: initial !important;
  }

  body {
    margin: 0;
  }
}

@media (max-width: 600px) {
  .subtitulo {
    font-size: 2.5rem;
  }
}