.cabecalho {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  background: linear-gradient(90deg, var(--deep-blue) 0%, var(--legacy-blue) 58%, var(--purple) 100%);
  color: var(--white);
}

.conteiner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cabecalho__menu {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("/assets/img/menu.svg");
  background-position: center;
  background-repeat: no-repeat;
}

.cabecalho-imagem,
.conteiner__imagem {
  display: block;
  width: 60px;
  height: 60px;
  padding: 14px;
  object-fit: contain;
}

#logo,
.conteiner-titulo,
.opcoes,
.conteiner__texto,
.conteiner__botao,
.opcoes__botao {
  display: none;
}

.cabecalho-lista {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 0;
  background: var(--deep-blue);
  color: var(--white);
  list-style: none;
  box-shadow: 0 18px 32px rgba(15, 28, 22, 0.18);
}

.conteiner__botao:checked ~ .cabecalho-lista,
.opcoes__botao:checked ~ .cabecalho-lista {
  display: block;
}

.cabecacalho-lista-titulo,
.cabecalho-lista-item,
.cabecalho-lista-fechar {
  padding: 14px 18px;
}

.cabecalho-lista-fechar {
  text-align: right;
}

.cabecalho-lista-fechar label {
  cursor: pointer;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cabecacalho-lista-titulo {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.menu__lista-item,
.opcoes__link {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.cabecalho-lista-item:hover,
.opcoes__item:hover,
.cabecalho-lista-fechar:hover {
  background: rgba(255, 255, 255, 0.1);
}

.opcoes__item {
  list-style: none;
  cursor: pointer;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.conteiner__link {
  text-decoration: none;
}

.cabecalho-acoes {
  gap: 8px;
}

.cabecalho-acoes .cabecalho-imagem {
  display: inline-block;
  width: auto;
  height: 56px;
  padding: 12px;
  object-fit: contain;
}

.cabecalho-imagem--professor {
  height: 60px;
}

@media screen and (min-width: 1024px) {
  #logo {
    display: block;
  }

  .cabecalho__menu {
    display: none;
  }

  .conteiner-titulo {
    display: block;
    margin: 0;
    color: var(--white);
    font-size: 30px;
    font-weight: 400;
  }

  .opcoes {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }

  .opcoes__item {
    padding: 24px 28px;
  }

  .opcoes > .cabecalho-lista {
    left: auto;
  }

  .opcoes__botao:checked ~ .cabecalho-lista {
    width: auto;
  }

  .cabecalho-lista-fechar {
    display: none;
  }

  .margen-direita {
    margin-left: 30px;
  }
}

@media screen and (min-width: 1728px) {
  .cabecalho {
    padding: 0 32px;
  }

  .conteiner__link {
    display: flex;
    align-items: center;
    color: var(--white);
  }

  .conteiner__texto {
    display: block;
    margin: 0;
    padding-right: 12px;
    color: var(--white);
    font-size: 14px;
  }
}
