header {
  height: auto;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 10;
  background-color: #f4f4f4;
  box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.3);
}

header .content {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 5px 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

header .logo {
  width: 100px;
}

header .logo img {
  width: 100%;
  height: auto;
}

header ul {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

header ul li {
  background: #313482;
  border-radius: 8px;
  padding: 8px 14px;
  transition: all 0.3s ease;
}

header ul li a {
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
}

header ul li:hover {
  filter: brightness(0.9);
}

header ul li:active {
  background: rgb(112, 28, 247);
}

header .floor {
  width: 100%;
  height: 10px;
  background: #313482;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  header .content {
    flex-direction: column;
    align-items: center;
  }

  header ul {
    justify-content: center;
    gap: 0.5rem;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  header ul li {
    padding: 5px 9px;
  }

  header ul li a {
    font-size: 0.85rem;
  }

  header .logo {
    width: 80px;
  }
}
