@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap"); *, *:before, *:after { box-sizing: border-box; } body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; } body { scroll-behavior: smooth; line-height: 1.5; background-color: #FFF; } img { max-width: 100%; display: block; } a { color: inherit; font-weight: bold; } input, button, textarea, select { font: inherit; } button { border: 1px solid; background-color: transparent; } body { font-family: "DM Sans", sans-serif; } .responsive-container { max-width: 1080px; width: 90%; margin-left: auto; margin-right: auto; } .header { border-bottom: 1px solid #d0d0d0; min-height: 60px; padding-top: 0.5rem; padding-bottom: 0.5rem; display: -webkit-box; display: flex; -webkit-box-pack: center; justify-content: center; } .header-content { display: -webkit-box; display: flex; width: 100%; max-width: 2000px; padding-left: 1.25rem; padding-right: 1.25rem; -webkit-box-align: center; align-items: center; -webkit-box-pack: justify; justify-content: space-between; } .header-navigation { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; } .header-navigation a { margin-left: 1.5rem; text-decoration: none; font-size: 1rem; } .link-button { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; background-color: #000; border-radius: 0.375rem; padding: 0.5em 1.25em; color: #fff; } .link-button i { font-size: 1.25rem; margin-left: 0.5rem; } .logo { font-size: 1.25rem; font-weight: 700; } main { padding-top: 2rem; padding-bottom: 6rem; } .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; } .grid-column { display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; } .grid-column > * + * { margin-top: 2rem; } .product { border-radius: 0.25rem; text-decoration: none; font-weight: 400; -webkit-transition: .15s ease; transition: .15s ease; overflow: hidden; } .product:hover, .product:focus { outline: none; box-shadow: 0 0 0 0.25rem pink; } .product:hover .product-content, .product:focus .product-content { border-color: transparent; } .product-image { border-radius: 0.25rem 0.25rem 0 0; overflow: hidden; } .product-content { padding: 1rem; border-left: 1px solid #dedede; border-right: 1px solid #dedede; border-bottom: 1px solid #dedede; border-radius: 0 0 0.25rem 0.25rem; display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: justify; justify-content: space-between; -webkit-transition: .15s ease; transition: .15s ease; background-color: #FFF; } .product-action { color: #000; width: 2.5rem; height: 2.5rem; border-radius: .25rem; font-size: 1.25rem; border: none; display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; cursor: pointer; -webkit-transition: .15s ease; transition: .15s ease; } .product-action:hover { background-color: #ebebeb; } .product-info { display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; } .product-title { font-size: 1.125rem; line-height: 1.25; } .product-price { margin-top: .25rem; } .credits { display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -webkit-box-pack: center; justify-content: center; text-align: center; margin-top: 10rem; color: #777; font-size: .875rem; } .credits a { display: block; } @media all and (max-width: 600px) { .grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; } .grid-column > * + * { margin-top: 1.5rem; } }