:root {
  /* Paleta de Cores */
  --primeira: #3e4095; /* Cor principal */
  --segunda: #f58634; /* Cor secundária */
  --terceira: #38397a; /* Cor terciária */
  --background-primeira: #eeeeee; /* Cor de fundo geral */
  --background-segunda: #eeeeee; /* Cor de fundo geral */
  --text-color: #ffffff; /* Cor do texto principal */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
  padding-top: 80px;
}

.header {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--text-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Define uma altura fixa */
  display: flex;
  align-items: center; /* Centraliza o conteúdo verticalmente */
  padding-inline: 16px;
  z-index: 1000; /* Garante que fique sobre outros elementos */
}

.header .nav {
  max-width: 1280px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 48px;
}

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-list a {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  padding-block: 16px;
  text-decoration: none;
}

.hamburger {
  display: none;
  border: none;
  background: none;
  border-top: 3px solid var(--tertiary-color);
  cursor: pointer;
}
.hamburger::before,
.hamburger::after {
  content: " ";
  display: block;
  width: 30px;
  height: 3px;
  background: var(--tertiary-color);
  margin-top: 5px;
  position: relative;
  transition: 0.3s;
}

@media (max-width: 750px) {
  .hamburger {
    display: block;
    z-index: 1;
  }
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--background-color);
    clip-path: circle(100px at 90% -15%);
    transition: 1s ease-out;

    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 0;
    pointer-events: none;
  }
  .nav-list a {
    font-size: 24px;
    opacity: 0;
  }
  .nav-list li:nth-child(1) a {
    transition: 0.5s 0.2s;
  }

  .nav-list li:nth-child(2) a {
    transition: 0.5s 0.4s;
  }

  .nav-list li:nth-child(3) a {
    transition: 0.5s 0.6s;
  }

  /*Estilos ativos*/
  .nav.active .nav-list {
    clip-path: circle(1500px at 90% -15%);
    pointer-events: all;
  }
  .nav.active .nav-list a {
    opacity: 1;
  }
  .nav.active .hamburger {
    position: fixed;
    top: 26px;
    right: 16px;
    border-top-color: transparent;
  }
  .nav.active .hamburger::before {
    transform: rotate(135deg);
  }
  .nav.active .hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }
}
