<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width", initial-scale="1.0">
<title>AluraBooks</title>
<link rel="stylesheet" href="reset.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https: //fonts.googleapis.com/css2?family= Inter:wght@400;700 & family= Poppins:wght@300;400;500;700 & family= Sigmar & family= Ubuntu : wght@300 & display=swap" rel="folha de estilo">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="cabeçalho">
<div class="container">
<input type="checkbox" id="menu" class="container__botao">
<label for="menu"></label>
<span class="cabeçalho__menu-hamburguer container__imagem"></span>
</label>
<ul class="lista-menu">
<li class="lista-menu_titulo">Categorias</li>
<li class="lista-menu__item">
<a href="#" class="lista-menu__link">Programção</a>
</li>
<li class="lista-menu__item">
<a href="#" class="lista-menu__link">Front-end</a>
</li>
<li class="lista-menu__item">
<a href="#" class="lista-menu__link">Infraestrutura</a>
</li>
<li class="lista-menu__item">
<a href="#" class="lista-menu__link">Business</a>
</li>
<li class="lista-menu__item">
<a href="#" class="lista-menu__link">Design & UX</a>
</li>
</ul>
<img src="img/Logo.svg" alt="logo da AluraBooks">
</div>
<div class="container"
<a href="#"><img src="img/Favoritos.svg" alt="Favoritos" class="container__imagem"></a>
<a href="#"><img src="img/Compras.svg" alt="carrinho de Compras" class="container__imagem"></a>
<a href="#"><img src="img/Usuario.svg" alt="meu perfil" class="container__imagem"></a>
</div>
</header>
</body>
</html>
.cabeçalho__menu-hamburguer{
width: 24px;
height: 24px;
background-image: url(../img/Menu.svg);
background-repeat: no-repeat;
background-position: center;
display: inline-block;
}
.cabeçalho{
background-color: var(--branco);
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
.container{
display: flex;
align-items: center;
}
.container__imagem{
padding: 1em;
}
.lista-menu{
display: none;
position: absolute;
top: 100%;
width: 60vw;
}
.container__botao:checked ~.lista-menu{
display: block
}
.lista-menu_titulo,.lista-menu__item{
padding: 1em;
background-color: var(--branco);
}
.lista-menu_titulo{
color: var(--laranja);
font-weight: 700;
}
.lista-menu__link{
background: var(--azul-degrade);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
backgroud clip: text;
text-transform : uppercase
}
.container__botao{
display: none;
}
@import url(styles/header.css);
:root {
--cor-de-fundo: #EBECEE;
--branco: #FFFFFF;
--laranja:#EB9B00;
--azul-degrade: linear-gradient(97.54deg, #002F52 35.49%, #326589 165.37%);
--fonte-principal: poppins;
}
body{
background-color: var(--cor-de-fundo);
font-family: var(--fonte-principal);
font-size: 16px;
font-weight: 400;
}