
<>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins'sans-serif;
font-weight: 600; /* Set default font weight to bold */
}
header {
background-color: black;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
width: 100%;
z-index: 1000;
}
.logo {
display: flex;
align-items: center;
text-decoration: none;
}
.logo img {
height: 40px; /* Small size */
width: auto;
margin-right: 10px; /* Gap between logo and text */
}
.menu {
display: flex;
gap: 30px;
}
.menu a {
color: white;
text-decoration: none;
font-size: 16px;
font-weight: 600; /* Ensure menu links are bold */
}
.menu a:hover {
text-decoration: underline;
}
.menu a:active {
color: yellow; /* Change color to yellow when touched */
}
.hamburger {
display: none;
cursor: pointer;
}
.hamburger i {
font-size: 28px;
color: white;
}
/* Mobile s */
@media screen and (max-width: 768px) {
.menu {
display: none;
flex-direction: column;
background-color: black;
position: absolute;
top: 70px;
right: 0;
width: 200px;
padding: 10px 0;
border-left: 0px solid white;
}
.menu a {
padding: 10px 20px;
border-bottom: 0px solid white;
}
.menu.show {
display: flex;
}
.hamburger {
display: block;
}
}
>
menu
Pizza Club