Css
Css
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
ul {
list-style: none;
}
a {
text-decoration: none;
}
img {
width: 100%;
height: auto;
}
/* colors */
--hue: 10;
/* HSL color mode */
--base-color: hsl(var(--hue) 70% 50%);
--base-color-second: hsl(var(--hue) 100% 80%);
--base-color-alt: hsl(var(--hue) 70% 40%);
--title-color: hsl(var(--hue) 50% 20%);
--text-color: hsl(0 0% 46%);
--text-color-light: hsl(0 0% 98%);
--body-color: hsl(0 0% 98%);
}
body {
font: 400 1rem 'DM Sans', sans-serif;
color: var(--text-color);
background: var(--body-color);
-webkit-font-smoothing: antialiased;
}
.title {
font: 700 1.875rem 'Poppins', sans-serif;
color: var(--title-color);
-webkit-font-smoothing: auto;
}
.button {
background-color: var(--base-color);
color: var(--text-color-light);
height: 3.5rem;
display: inline-flex;
align-items: center;
padding: 0 2rem;
border-radius: 0.25rem;
font: 500 1rem 'DM Sans', sans-serif;
transition: background 0.3s;
}
.button:hover {
background: var(--base-color-alt);
}
.divider-1 {
height: 1px;
background: linear-gradient(
270deg,
hsla(var(--hue), 70%, 50%, 1),
hsla(var(--hue), 100%, 80%, 0.34)
);
}
.divider-2 {
height: 1px;
background: linear-gradient(
270deg,
hsla(var(--hue), 100%, 80%, 0.34),
hsla(var(--hue), 70%, 50%, 1)
);
}
.grid {
display: inline-flex;
gap: 2rem;
}
.pizza1{
position: relative;
border-radius: 20px;
}
.equipe{
border-radius: 20px;
}
.section {
padding: 5rem 0;
}
.section .title {
margin-bottom: 1rem;
}
.section header {
margin-bottom: 4rem;
}
#header {
border-bottom: 1px solid #e4e4e4;
margin-bottom: 2rem;
display: flex;
position: fixed;
top: 0;
left: 0;
z-index: 100;
background-color: var(--body-color);
width: 100%;
}
#header.scroll {
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
}
main {
margin-top: calc(var(--header-height) + 2rem);
}
.logo span {
color: var
}