Shopping cart

media screen

media navigation

* { margin: 0; padding: 0; box-sizing: border-box; } body { min-block-size: 100vh; /* overflow: hidden; */ display: grid; padding: 1em; place-content: center; font-family: system-ui; background: repeating-linear-gradient( 45deg, #ededed, #f0f0f0 10px, #e6e6e6 10px, #dadada 20px ); } main { inline-size: clamp(360px, 96vw, 830px); aspect-ratio: 16 / 9; border-radius: 0.67em; display: grid; container-type: inline-size; grid-template-rows: [screen-start] repeat(5, 1fr) [nav-desktop] 2fr [screen-end nav-mobile] 2fr; grid-template-columns: [screen-start] 1fr [screen-end]; gap: 0.5rem; } main > * { border-radius: inherit; text-align: center; place-content: center; } section { grid-area: screen; background-color: hsl(199 77 52); border: 3px solid gray; font-size: clamp(1.875rem, -0.0107rem + 6.2857vw, 3.25rem); color: #ededed; } nav { grid-row-start: nav-desktop; grid-column: screen; outline: 3px dashed hsl(199 77 52); outline-offset: -4px; margin-inline: 0.5rem; /* decorative */ margin-block-end: 0.5rem; /* decorative */ font-size: clamp(1.125rem, -0.2464rem + 4.5714vw, 2.125rem); color: #666; background: hsl(170 3 98); @container (max-width: 680px) { margin: 0; grid-row-start: nav-mobile; } }

Subscribe our NewsletterSubscribe our NewsletterSubscribe our NewsletterSubscribe our Newsletter
Subscribe our Newsletter
Sale 20% off all store

Subscribe our Newsletter

Your experience on this site will be improved by allowing cookies Cookie Policy