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

html {
  scroll-behavior: smooth;
}

/*  Navbar */
.navbar-container {
  width: 100%;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  position: fixed; /* Mudei de absolute para fixed */
  top: 0;
  z-index: 1000; /* Valor alto para garantir prioridade */
}

.navbar-container ul li a {
  text-decoration: none; /* Remove o sublinhado padrão */
  color: inherit;
}

.navbar-container > ul {
  display: flex;
  list-style: none;
}

.navbar-container > ul > li {
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 40px;
  color: white;
  letter-spacing: 0.1rem;
  opacity: 50%;
  transition: opacity 0.8s;
}

.navbar-container > ul > li:hover {
  opacity: 100%;
  cursor: pointer;
}

/* Novos estilos para o menu hamburger */
.hamburger-menu {
  display: none;
  cursor: pointer;
  position: absolute;
  right: 30px;
  top: 30px;
  z-index: 1001;
}

.hamburger-icon {
  width: 30px;
  height: 3px;
  background-color: white;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  top: 8px;
}

/* Quando o menu está aberto (transforma em X) */
.hamburger-menu.active .hamburger-icon {
  background-color: transparent;
}

.hamburger-menu.active .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.hamburger-menu.active .hamburger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/*  video */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Fica atrás do conteúdo do showcase */
  overflow: hidden;
}

#myVideo {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/*  Showcase */
.showcase-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative; /* Referência para o vídeo */

  /*  overlay */
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: color;
}

.showcase-container > h1,
.showcase-container > p {
  position: relative; /* Garante que fiquem acima do vídeo */
  z-index: 1; /* Texto acima do vídeo */
}

.showcase-container > h1 {
  font-weight: 600;
  font-size: 4rem;
}

.showcase-container > p {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.25rem;
  color: #eee;
  border-bottom: 1.5px solid white;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
  letter-spacing: 0.15rem;
  margin-top: 20px;
}

.about-me-content {
  display: flex;
  align-items: center;
  margin-top: 80px;
}

.about-me-content > img {
  margin-right: 50px;
}

.about-me-text > p {
  color: white;
  line-height: 2rem;
}

.buttons-container {
  display: flex;
  flex-direction: row;
  margin-left: 365px;
  margin-top: 30px;
  gap: 15px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
  gap: 60px;
}

.skill-item-group1,
.skill-item-group2 {
  display: flex;
  justify-content: center; /* Centraliza os ícones na linha */
  gap: 70px; /* Espaçamento entre os ícones */
  flex-wrap: wrap; /* Permite quebra de linha se não couber */
}

.skill-item-group1 > i,
.skill-item-group2 > i,
.skill-item-group2 > img {
  font-size: 6rem;
  width: 96px; /* Padroniza o tamanho (opcional) */
  height: 96px; /* Para ícones de imagem (como Figma) */
}

.skill-item-group2 .devicon-github-original-wordmark {
  color: black; /* Ou a cor que preferir */
}

/* Projetos */
.project-content {
  width: 100%;
  margin-top: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project-content .project-item:nth-child(2) img,
.project-content .project-item:nth-child(4) img {
  order: 2;
  margin-left: 50px;
}

.project-content .project-item:nth-child(2),
.project-content .project-item:nth-child(4) {
  text-align: right;
}

.project-item {
  /* width: 950px; */
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  margin-top: 40px;
}

.project-item img {
  width: 300px;
  height: 300px;
  border-radius: 15px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.project-item a {
  border-radius: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.project-item:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.project-text {
  max-width: 600px;
  margin-left: 50px;
}

.project-item p {
  color: #fff;
  opacity: 75%;
  line-height: 29px;
}

.project-item h3 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
}

/* Formulario */
.contact-form {
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form .form-input {
  margin-bottom: 20px;
}

.mensagem-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  display: none; /* Inicialmente escondido */
}

.mensagem-status {
  margin-top: 15px;
  text-align: center; /* Centraliza o texto */
  font-size: 14px;
  display: none; /* Inicialmente escondido */
}

.mensagem-status.sucesso {
  color: #28a745; /* Verde para sucesso */
  display: block;
}

.mensagem-status.erro {
  color: #dc3545; /* Vermelho para erro */
  display: block;
}

.mensagem-status::before {
  margin-right: 8px;
  font-size: 16px;
}

.mensagem-status.sucesso::before {
  content: "✓"; /* Símbolo de check */
}

.mensagem-status.erro::before {
  content: "✗"; /* Símbolo de X */
}
.footer-container {
  width: 100%;
  background-color: black;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

/* Estilo do botão Voltar ao Topo - Versão Aprimorada */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px; /* Aumentei o tamanho */
  height: 60px; /* Aumentei o tamanho */
  border-radius: 50%; /* Já é totalmente redondo com 50% */
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 32px; /* Aumentei o tamanho da seta */
  display: none;
  opacity: 0.8;
  transition: all 0.3s ease;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#back-to-top:hover {
  opacity: 1;
  transform: scale(1.1);
  background-color: #444; /* Cor levemente diferente no hover */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Seta mais estilizada */
#back-to-top::before {
  content: "↑";
  display: block;
  margin-top: -4px; /* Ajuste fino para centralizar perfeitamente */
}
/* utilites */
.section-container {
  width: 100%;
  background-color: #111;
}

.section-content {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-title {
  font-weight: 600;
  font-size: 3rem;
  letter-spacing: 0.15rem;
  color: #fff;
  text-transform: uppercase;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
  border-bottom: 1.5px solid white;
  text-align: center;
  width: fit-content;
  margin: auto;
}

.form-input {
  border: none;
  border-radius: 10px;
  background-color: #202020;
  padding: 20px;
  color: rgba(255, 255, 255, 0.5);
  resize: none;
}

.form-input:focus {
  outline: 1px solid #202020;
}

.form-button {
  border: none;
  padding: 20px;
  border-radius: 10px;
  background-color: black;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
}

.form-button:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
  cursor: pointer;
}
