MINHA LISTA NAO APARECE
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles/style.css">
<link rel="stylesheet" href="styles/reset.css">
<script src="main.js"></script>
<title>AluraBooks</title>
</head>
<body>
<header class="cabecalho">
<div class="container">
<input type="checkbox" id="menu" class="container_botao">
<label for="menu">
<span class="cabecalho_hamburguer" onclick="clickMenu"></span>
</label>
<img src="imagens/Menu.png" alt="Barra do menu" class="img">
<ul class="lista">
<li class="lista_menu">
Categorias
</li>
<li class="lista_menu">
PROGRAMAÇÃO
<a class="menu_link" href="#"></a>
</li>
<li class="lista_menu">
FRONT-END
<a class="menu_link" href="#"></a>
</li>
<li class="lista_menu">
INFRAESTRUTURA
<a class="menu_link" href="#"></a>
</li>
<li class="lista_menu">
BUSINESS
<a class="menu_link" href="#"></a>
</li>
<li class="lista_menu">
DESIGN & UX
<a class="menu_link" href="#"></a>
</li>
</ul>
<img src="imagens/Logo.png" alt="Logo da Alura" class="img">
</div>
<div class="container">
<a href="#"><img src="imagens/Favoritos.png" alt="Meus favoritos" class="img"></a>
<a href="#"><img src="imagens/Group.png" alt="Sacola de compras" class="img"></a>
<a href="#"><img src="imagens/Usuario.png" alt="Login usuario" class="img"></a>
</div>
</header>
</body>
</html>
:root {
--cor-fundo: #EBECEE;
--cor-fundo-header: #FFF;
}
body {
background-color: var(--cor-fundo);
}
.cabecalho {
background-color: var(--cor-fundo-header);
display: flex;
justify-content: space-between;
}
.lista_menu {
display: none;
position: absolute;
top: 100%;
width: 60vw;
}
.container {
display: flex;
align-items: center;
}
.img {
padding: 1em;
}
.container_botao:checked~.lista_menu {
display: block;
}