* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #0F6292 0%, #1B262C 100%);
  color: #FFF;
}

body::-webkit-scrollbar {
  background: transparent;
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #222;
}

body::-webkit-scrollbar-thumb {
  background: #0F6292;
  border-radius: 8px;
}

a {
  text-decoration: none;
  color: #FFF;
  transition: color 0.3s;
}

a:hover {
  color: #4FD1C5;
}

header {
  position: absolute;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  min-height: 6.5rem;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

header>nav>ul {
  display: flex;
  gap: 2.5rem;
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: uppercase;
  list-style: none;
}

li {
  transition: transform 0.3s, color 0.3s;
}

li:hover {
  transform: scale(1.15);
  color: #4FD1C5;
}

.barra_de_pesquisa {
  height: 2.5rem;
  max-width: 22rem;
  width: 100%;
  border-radius: 2.5rem;
  background: #FFF;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0 1rem;
  margin: 1rem auto;
}

.texto_da_pesquisa {
  border: none;
  background: none;
  font-size: 1rem;
  width: 100%;
  height: 100%;
  padding-left: 0.5rem;
  font-family: inherit;
  color: #222;
}

.texto_da_pesquisa::placeholder {
  color: #888;
  font-family: inherit;
  opacity: 1;
}

.icone {
  width: 2rem;
  height: 2rem;
  margin-left: 0.5rem;
  object-fit: contain;
}

.perfil {
  background-image: url("imagens/user.png");
  background-size: cover;
  background-position: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #4FD1C5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: inline-block;
}

@media (max-width: 900px) {
  header > nav > ul {
    gap: 1.2rem;
    font-size: 1rem;
  }
  .barra_de_pesquisa {
    max-width: 14rem; /* Tamanho intermediário para telas menores */
  }
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em 1em;
    min-height: unset;
  }

  header>nav>ul {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    margin-top: 0.5rem;
  }

  .barra_de_pesquisa {
    max-width: 100%;
    margin-top: 0.5rem;
  }
}