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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  padding: 75px;
}

h2 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 30px;
}

p {
  font-size: 1.8rem;
  max-width: 900px;
  text-align: center;
  line-height: 1.5;
}

section {
  display: grid;
  place-items: center;
  height: 100vh;
  text-align: center;
}

/* EFEITO DIGITAÇÃO */
#typing-text {
  font-size: 1.5rem;
  max-width: 900px;
  text-align: center;
  line-height: 1.6;
  white-space: pre-line;
  min-height: 140px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

#typing-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #fff;
  transition: width 2s ease;
}

#typing-text.finished::after {
  width: 100%;
}

#typing-text.finished {
  border: 2px solid #fff;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
}

#cursor {
  display: inline-block;
  width: 10px;
  height: 24px;
  background-color: #fff;
  animation: blink 1.7s step-end infinite;
  margin-left: 4px;
}


/* ENTRADA ANIMADA */
.hidden {
  opacity: 0;
  filter: blur(20px);
  transform: translateX(-100px);
  transition: all 1s ease-out;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

/* ICONES */
.avatar {
  height: 120px;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.icon-wrapper:hover {
  transform: scale(1.1);
}

.icon-wrapper:hover .avatar {
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000;
  color: #fff;
  font-size: 0.9rem;
  padding: 5px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-weight: 600;
  white-space: nowrap;
}

.icon-wrapper:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-8px);
}

.logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  padding: 10px 0;
  text-align: center;
  border-top: 1px solid #000000;
  z-index: 10;
}

footer h2 {
  font-size: 0.9rem;
  color: #857e7e;
  margin: 0;
  font-weight: 300;
}
.icon-wrapper.hidden {
  opacity: 0;
  filter: blur(20px);
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
}

.icon-wrapper.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

/* Delay progressivo para cada ícone */
.logos div:nth-child(1) {
  transition-delay: 0ms;
}
.logos div:nth-child(2) {
  transition-delay: 200ms;
}
.logos div:nth-child(3) {
  transition-delay: 400ms;
}
.logos div:nth-child(4) {
  transition-delay: 600ms;
}
.logos div:nth-child(5) {
  transition-delay: 800ms;
}
.logos div:nth-child(6) {
  transition-delay: 1000ms;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: transparent;
}
.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.social-links a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1);
  color: #ccc;
}

.social-links i {
  font-size: 1.4rem;
}
.main-image {
  width: 200px; /* ou ajuste conforme quiser */
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2); /* borda opaca branca */
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: transform 1.5s ease;
}

.main-image:hover {
  transform: scale(4.05);
}
.links-folder {
  display: flex;
  gap: 16px; /* diminui o espaçamento entre os links */
  justify-content: center;
  margin-top: 10px;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 8px 16px;
  border: 1px solid #fff;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
