:root {
  --bg-color: #151a28;            /* Fundo geral */
  --balloon-color: #0e111b;       /* Fundo dos balões */
  --highlight-color: #9333ea;     /* Roxo vibrante */
  --accent-color: #bcafc9;        /* Roxo suave */
  --text-color: #ffffff;          /* Texto branco */
}

body {
  color: var(--text-color);
  background-color: var(--bg-color);
  font-family: 'Lexend', sans-serif;
  animation: fadeIn 1s ease-in;
}

html {
  scroll-behavior: smooth;
}

ul {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  padding: 16px;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

nav a {
  position: relative;
}

nav a:hover {
  color: var(--highlight-color);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--highlight-color);
  transition: width 0.3s ease-in-out;
}

nav a:hover::after {
  width: 100%;
}

header img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid var(--text-color);
  transition: all 0.3s ease-in-out;
}

header img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--highlight-color);
}

.center {
  text-align: center;
}

footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

footer a {
  margin: 20px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

footer img {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease-in-out;
}

footer img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 5px var(--highlight-color));
}

footer p {
  margin: 2px;
}

.container {
  padding: 0px 50px;
}
h1, h2{
    color: white;
}
h3 {
  color: var(--highlight-color);
}

.balao {
  background-color: var(--balloon-color);
  border: 1px solid #f7db63;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  box-shadow: 0 0 15px var(--accent-color);
  color: var(--text-color);
  transition: transform 0.3s ease;
}

.balao:hover {
  transform: scale(1.02);
}

.cert-link {
  color: var(--text-color);
  background-color: transparent;
  border: 1px solid var(--highlight-color);
  padding: 6px 12px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 8px;
  transition: all 0.3s ease-in-out;
}

.cert-link:hover {
  background-color: #838080;
  color: rgb(255, 255, 255);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.scroll-animate.visible {
  animation: slideUp 0.6s ease-out forwards;
}

@media (max-width: 768px) {
  ul {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  .container {
    padding: 0px 20px;
  }

  header img {
    width: 120px;
    height: 120px;
  }

  footer {
    flex-direction: column;
    align-items: center;
  }

  footer a {
    margin: 10px 0;
  }

  footer img {
    width: 35px;
    height: 35px;
  }
}
