body {
  margin: 0 auto;
  padding: 0;
  max-width: 700px;
  background-color: #010101;
  color: #f2f2f2;
  font-family: 'Clash Grotesk', sans-serif;
}

.header-cv {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  flex-direction: column;
}

.title-image {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.title-image.reverse {
  flex-direction: row-reverse;
}

.title-image h1 {
  font-family: 'Comic Sans MS', cursive, sans-serif;
  font-size: 3rem;
  margin: 0;
  line-height: 1.2;
}

.title-image .word { display: inline-block; margin-right: 10px; }
.red { color: #ff4b5c; }
.green { color: #4bffb3; }
.blue { color: #4bc6ff; }

.title-image img {
  width: 350px;
  height: 350px;
  border-radius: 10%;
  object-fit: cover;
}

.music-toggle {
  margin-top: 30px;
  padding: 10px 16px;
  font-size: 1.2rem;
  border: none;
  border-radius: 20px;
  background-color: #4bc6ff;
  color: #010101;
  cursor: pointer;
}

/* SOBRE */
.about {
  padding: 40px 20px;
}
.about h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}
.about p {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* HABILIDADES */
.skills {
  text-align: center;
  padding: 40px 20px;
}
.skills h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 30px;
}
.skills ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}
.skills li {
  margin-bottom: 30px;
}
.skill-title {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 10px;
  opacity: 1;
}
.stars { display: inline-block; }
.star {
  display: inline-block;
  opacity: 0;
  transform: scale(0.8);
  animation: star-pop 0.8s ease forwards;
}
.stars .star:nth-child(1) { animation-delay: 0.2s; }
.stars .star:nth-child(2) { animation-delay: 1s; }
.stars .star:nth-child(3) { animation-delay: 1.8s; }
.stars .star:nth-child(4) { animation-delay: 2.6s; }
.stars .star:nth-child(5) { animation-delay: 3.4s; }

/* GIFS */
.gif-skills, .gif-footer {
  text-align: center;
  margin: 40px 0;
}
.gif-skills img, .gif-footer img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* TIMELINE */
.timeline {
  width: 100%;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}
.timeline-block {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 60px;
}
.timeline-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.timeline-content:nth-child(even) {
  flex-direction: row-reverse;
}
.timeline-content img {
  width: 40%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
}
.timeline-content p {
  width: 40%;
  font-size: 1.2rem;
  text-align: center;
  margin: 0;
}

/* INSTAGRAM */
.instagram-contact{
  text-align: center;
  margin: 60px 0 40px;
  padding: 20px;
}
.instagram-contact h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 40px;
}
.insta-button {
  background: linear-gradient(90deg, #FF0040, #ED1AD1);
  padding: 12px 16px;
  border: none;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}
.insta-button:hover {
  opacity: 0.85;
}

/* Animações */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
@keyframes star-pop {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

/* Responsivo */
@media (max-width: 768px) {
  .timeline-content {
    flex-direction: column !important;
  }
  .timeline-content img,
  .timeline-content p {
    width: 100%;
  }
  .title-image,
  .title-image.reverse {
    flex-direction: column;
    text-align: center;
  }
  .title-image img {
    width: 250px;
    height: 250px;
  }
}
