/* * Element defaults: the page background, the body type, the fade-in, and the two small resets the site * needs. Anything with a class name belongs in components.css instead. */ html { scroll-behavior: smooth; /* Nothing on this site is meant to scroll sideways. */ overflow-x: hidden; } body { background-color: var(--color-bakery-50); color: var(--color-bakery-900); font-family: var(--font-sans); overflow-x: hidden; opacity: 0; animation: fadeIn 0.5s ease-in forwards; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body { animation: none; opacity: 1; } } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } ::selection { background-color: var(--color-bakery-300); color: var(--color-bakery-900); }