@use "reset"; $background: hsl(15, 20%, 5%); $text: hsl(0, 0%, 100%); $bp-large: 1200px; $bp-mid: 1000px; // video disabled $bp-small: 630px; $bp-tiny: 500px; body { font-size: 22px; background: $background; color: $text; font-family: "Raveo", Inter, Roboto, Arial, "Liberation Sans", sans-serif; } h1 { font-size: 3em; font-weight: bold; margin-bottom: 1rem; font-family: serif; } h2 { font-size: 2em; font-weight: bold; margin-bottom: 2rem; } h3 { font-size: 1.5em; } h4 { font-size: 1.25em; } p { line-height: 1.15em; margin-bottom: 1rem; &:last-child { margin-bottom: 0; } } ul { list-style: disc outside; margin-top: -0.5rem; margin-left: 1em; } li { line-height: 1.15em; } a { color: $text; &:hover { font-style: italic; } } footer { background: $background; color: $text; display: flex; gap: 1rem; flex-direction: column; padding: 4rem 8rem; text-align: center; @media only screen and (max-width: $bp-small) { padding: 4rem 2rem; } & p { margin-bottom: 0; } } header { height: 100vh; box-sizing: border-box; padding: 2.5% 5%; color: $text; background-image: url("/home.webp"); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; @media only screen and (max-width: $bp-small) { text-align: center; background-attachment: scroll; } } .tags { display: flex; gap: 0.5rem 1rem; font-size: 1.75rem; @media only screen and (max-width: $bp-mid) { flex-wrap: wrap; & *:nth-child(2) { display: none; } & *:nth-child(4) { display: none; } & *:nth-child(6) { display: none; } & *:nth-child(8) { display: none; } } @media only screen and (max-width: $bp-small) { display: none; } } section { min-height: 100vh; position: relative; } section[data-scroll] .content { position: absolute; display: flex; flex-direction: column; left: 50%; top: 60%; transform: translate(-50%, -50%); gap: 1rem; background: $background; color: $text; max-width: 800px; margin: auto; padding: 2rem; @media only screen and (max-width: $bp-mid) { left: 10%; right: 10%; transform: translateY(-50%); } @media only screen and (max-width: $bp-small) { width: 100%; box-sizing: border-box; left: 0; right: 0; transform: translate(0, 0); } & p { margin-bottom: 0; } &__header { text-align: center; margin-bottom: 1rem; & h2 { margin-bottom: 1rem; &.no-mb { margin-bottom: 0; } } } } .bg { overflow: hidden; } .bg img { height: 100%; } .bg video { height: 100%; } .legal { max-width: 1000px; margin: auto; padding: 8rem 2rem 4rem 2rem; display: flex; flex-direction: column; gap: 4rem; & h3 { margin-bottom: 2rem; } } .producteur { background-image: url("/home.webp"); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; & .blur { backdrop-filter: blur(40px) brightness(0.7) saturate(0.8) sepia(0.2); display: flex; justify-content: center; width: 100%; min-height: 100vh; } & .content { padding: 4rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; justify-items: center; min-height: 75vh; gap: 4rem; @media only screen and (max-width: $bp-large) { grid-template-columns: 1fr; } @media only screen and (max-width: $bp-tiny) { padding: 2rem; } } & .text { display: flex; flex-direction: column; gap: 4rem; max-width: 800px; } & img { box-shadow: 0 0 150px $background; width: 100%; } }