.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--preto);
  z-index: 1000;
}

.logoMackenzie {
  width: clamp(6.25rem, 10vw, 12rem);
  height: auto;
  max-width: 100%;
}

.home_menuHamburger {
  display: none;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3.5vw, 10rem);
  padding: 0;
}

.botaoLoginMenu {
  color: var(--branco);
  background: transparent;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.botaoLoginMenu:hover {
  color: var(--vermelho);
  transition: 0.2s ease-in-out;
}

.cadastro a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--preto);
  background-color: var(--branco);
  width: clamp(4rem, 8vw, 6rem);
  height: 2rem;
  font-weight: bold;
  border-radius: 0.375rem;
}

.sair {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--preto);
  background-color: var(--branco);
  width: clamp(4rem, 8vw, 6rem);
  height: 2rem;
  font-weight: bold;
  border-radius: 0.375rem;
}

.sair:hover {
  background: var(--vermelho);
  color: var(--branco);
  transition: 0.2s ease-in-out;
}

.cadastro a:hover {
  background: var(--vermelho);
  color: var(--branco);
  transition: 0.2s ease-in-out;
}

a:hover {
  color: var(--vermelho);
  transition: 0.2s ease-in-out;
}

.tituloPrincipalComImg {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: var(--branco);
  gap: 1rem;
  padding: 0 2vw;
}

.fotoSol {
  width: clamp(12rem, 25vw, 25rem);
  margin-bottom: 1rem;
  margin-right: 6.25rem;
}

/* home logado*/

.nome_logado {
  text-decoration: none;
  color: var(--branco);
  font-weight: bold;
  display: block;
}

.access_profile {
  text-decoration: none;
  color: var(--branco);
  font-weight: bold;
  font-size: small;
  display: block;
}

.divconta:hover a {
  color: var(--vermelho);
  transition: 0.2s ease-in-out;
}

.sair {
  text-decoration: none;
  color: var(--vermelho);
  font-weight: bold;
  display: block;
}

.menu-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-hamburger img {
  width: 1.875rem;
  height: 1.875rem;
}

/* menu suspenso */

.menu_suspenso {
  display: none;
}

.visivel {
  display: block;
}

.access_profile {
  list-style: none;
  background-color: var(--branco);
  border: 1px solid #ccc;
  border-radius: 5px;
  position: absolute;
  min-width: 12.5rem;
}

.access_profile li {
  padding: 10px;
  cursor: pointer;
}

.access_profile li:hover {
  background-color: var(--cinza-claro);
}

#conta {
  position: relative;
}

.divWiki {
  position: relative;
  display: inline-block;
}

.menu_suspenso_wiki {
  display: none;
  position: absolute;
  background-color: var(--branco);
  color: var(--vermelho);
  text-decoration: none;
  min-width: 160px;
  border: 1px solid #ccc;
  border-radius: 8px;
  z-index: 1;
}

.menu_suspenso_wiki li {
  list-style: none;
  padding: 10px;
  text-align: left;
}

.menu_suspenso_wiki li a {
  color: var(--vermelho);
  text-decoration: none;
}

.menu_suspenso_wiki li a:hover {
  background-color: var(--cinza-claro);
}

.divWiki:hover .menu_suspenso_wiki {
  display: block;
}


@media (max-width: 767px) {
  .menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--branco);
    position: absolute;
    top: 2.725rem;
    right: 0;
    z-index: 1000;
    padding: 1rem 0.75rem;
    border-radius: 10px;
    margin-right: 0.5rem;
    width: 12rem;
    gap: 0;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
  }

  .menu a {
    display: block;
    width: 100%;
    text-align: left;
    color: var(--preto);
    font-weight: bold;
  }

  .menu a:hover {
    color: var(--vermelho);
  }

  .logoMackenzie {
    display: none;
  }

  .home_menuHamburger {
    display: flex;
  }

  .menu-hamburger {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
  }

  #userActions {
    display: contents;
  }

  #userActions a,
  #userActions button,
  #userActions div {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: bold;
    font-size: 1rem;
    color: var(--preto);
    background: none;
    border: none;
    cursor: pointer;
  }

  #userActions a:hover,
  #userActions button:hover {
    color: var(--vermelho);
  }

  .access_profile {
    position: absolute;
    top: 2.75rem;
    right: 0.5rem;
    background-color: var(--branco);
    border: 1px solid #ccc;
    border-radius: 8px;
    min-width: 9.5rem;
    padding: 0.5rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .access_profile li {
    padding: 0.4rem 0.75rem;
    font-size: 0.95rem;
    width: 100%;
    text-align: left;
  }

  .access_profile li:hover {
    background-color: var(--cinza-claro);
  }
}

@media (max-width: 921px) {
  .menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--branco);
    position: absolute;
    top: 2.725rem;
    right: 0;
    z-index: 1000;
    padding: 1rem 0.75rem;
    border-radius: 10px;
    margin-right: 0.5rem;
    width: 12rem;
    gap: 0;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
  }

  .menu a {
    display: block;
    width: 100%;
    text-align: left;
    color: var(--preto);
    font-weight: bold;
  }

  .menu a:hover {
    color: var(--vermelho);
  }

  .logoMackenzie {
    display: none;
  }

  .home_menuHamburger {
    display: flex;
  }

  .menu-hamburger {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
  }

  #userActions {
    display: contents;
  }

  #userActions a,
  #userActions button,
  #userActions div {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: bold;
    font-size: 1rem;
    color: var(--preto);
    background: none;
    border: none;
    cursor: pointer;
  }

  #userActions a:hover,
  #userActions button:hover {
    color: var(--vermelho);
  }

  .access_profile {
    position: absolute;
    top: 1.2rem;
    right: 0.5rem;
    background-color: var(--branco);
    border: 1px solid #ccc;
    border-radius: 8px;
    min-width: 9.5rem;
    padding: 0.5rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .access_profile li {
    padding: 0.4rem 0.75rem;
    font-size: 0.95rem;
    width: 100%;
    text-align: left;
  }

  .access_profile li:hover {
    background-color: var(--cinza-claro);
  }
}