span {
  font-weight: bold;
}
.nome-completo {
  font-size: 2.5rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background-color: var(--nav-footer);
}

nav li {
  margin: 0;
  padding: 20px 30px;
  color: var(--primary-color);
  text-decoration: none;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: var(--nav-hover);
  border-radius: 15%;
  box-shadow: 0 4px 8px rgba(97, 218, 251, 0.2);
}

img.rounded-circle {
  border: 5px solid var(--border);
  max-width: 300px;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.perfil-img {
  max-width: 300px;
  border: 5px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}
.perfil-img:hover {
  transform: scale(1.03);
}

.footer {
  background-color: var(--nav-footer);
  color: var(--white);
  padding: 20px;
  text-align: center;
  margin-top: auto;
}

@media (max-width: 768px) {
  .texto-esquerda {
    padding: 0 1rem;
  }

  .nome-completo {
    font-size: 2rem;
    white-space: normal;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    margin: 0.2rem 0;
  }

  nav a {
    width: 100%;
    max-width: 360px;
    border-radius: 10px;
  }

  .icones {
    justify-content: center;
    gap: 18px;
  }

  .carousel-item {
    height: auto;
    min-height: 260px;
  }

  .carousel-item img {
    height: auto;
  }

  .carousel-card-center {
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.7);
    margin: 1rem auto 0;
    max-width: 90%;
  }
}
