:root { --surface-container-low: #faf3e7; --surface-container-highest: #eae2d2; --surface: #fff8f0; --backdrop-blur: 24px; --primary: #8c4d50; --primary-container: #fcacaf; --on-background: #363227; --nav-height: 4rem; --border-radius: 48px; --small-radius: 24px; --small-border-radius: 8px; --max-content-width: 80rem; --secondary-container: #e0f5cb; --on-secondary-container: #4c5e3e; --on-surface: #363227; --outline-variant: #b9b1a3; --on-surface-variant: #645f52; --grid-cols: 3; } @media (max-width: 1024px) { :root { --grid-cols: 2; } } @media (max-width: 768px) { :root { --grid-cols: 1; } } body { background-color: var(--surface); font-family: "Plus Jakarta Sans", sans-serif; box-sizing: border-box; } h1, h2, h3, h4 { margin: 0; font-family: serif; color: var(--on-background); & > span { font-style: italic; color: var(--primary); } } h1 { font-size: 4rem; line-height: 3.5rem; margin: 1.5rem 0; } h2 { font-size: 3.5rem; } @media (max-width: 768px) { h1 { font-size: 2.5rem; line-height: 2.5rem; } h2 { font-size: 2rem; line-height: 2rem; } h3 { font-size: 1.25rem; } } h3 { font-size: 1.5rem; } h4 { font-size: 1rem; } h5 { font-size: 0.8rem; } p { color: var(--on-background); line-height: 1.5rem; } body > nav, body > footer, body > main > * { box-sizing: border-box; padding: 8rem 2rem; & > div:only-child, &:not(:has(> div:only-child)) { max-width: var(--max-content-width); margin: 0 auto; } } @media (max-width: 768px) { body > nav, body > footer, body > main > * { padding: 4rem 1rem; } } body > nav { padding: 1rem; } svg { height: 1em; width: 1em; } ul { list-style-type: none; padding: 0; margin: 0; } img { color: transparent; } main { transition: opacity 0.15s ease; } #about-us, #featured-delights, #kawiarnia, #kawiarnia-content, #portfolio-grid, #wyroby, #slodkie_stoly, #lody, #wyroby-torty > section { content-visibility: auto; contain-intrinsic-size: 600px; }