#projetos {
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
  position: relative;
}

#projetos .conteudo {
  max-width: 40%;
  padding: .5em 1em;
  text-align: center;
}

#projetos .conteudo h3 {
  color: #fff;
  font-size: 3rem;
  margin: 0;
}

#projetos .conteudo p {
  color: #fff;
  font-size: 1em;
  line-height: 1.5;
  text-align: center;
  border-bottom: 1px #efebed solid;
  padding-bottom: 1.5em;
}

.carrossel-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 5%;
  width: 50%;
}

.carrossel-container {
  width: 70%;
  overflow: hidden;
}

.carrossel-trilho {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.carrossel-trilho a figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carrossel-trilho a img {
  width: 9em;
  height: auto;
  margin-inline: 0.1em;
  border-radius: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.carrossel-trilho a img:hover {
  transform: scale(1.05);
}

.carrossel-botao {
  background-color: transparent;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  color: #ffffff;
  transition: color 0.2s;
}

.carrossel-botao:hover {
  color: #2b035d;
}

.carrossel-trilho a figcaption {
  color: #ffffff;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  text-align: center;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}


#starfield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none; /* Isso impede que ele capture cliques */
}