0% found this document useful (0 votes)
5 views

Css

Uploaded by

Rafael Harissis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Css

Uploaded by

Rafael Harissis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

/*==== RESET ============================ */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

ul {
list-style: none;
}

a {
text-decoration: none;
}

img {
width: 100%;
height: auto;
}

/*==== VARIABLES ============================ */


:root {
--header-height: 4.5rem;

/* 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%);
}

/*=== BASE ============================ */


html {
scroll-behavior: auto;
}

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)
);
}

/*==== LAYOUT ============================ */


.container {
margin-left: 1.5rem;
margin-right: 1.5rem;
}

.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;
}

.section header strong {


color: var(--base-color);
}

#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 ============================ */


.logo {
font: 700 1.31rem 'Poppins', sans-serif;
color: var(--title-color);
}

.logo span {
color: var
}

You might also like