*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: #000;
  font: 400 16px/1.5625 Poppins, sans-serif;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #8eaf9d; outline-offset: 4px; }

.page { max-width: 1140px; margin: 0 auto; }
.pattern { height: 310px; background: url("assets/pattern-qeeboo.jpg") center top / cover no-repeat; }
.pattern--top { margin-bottom: 25px; }
.pattern--bottom { margin-top: 50px; }

.intro { margin: 10px 8px 65px; padding-top: 10px; text-align: center; }
.intro h1 { margin: 0; }
.intro__logo { width: min(450px, 100%); margin: 0 auto; }
.intro p { margin: 20px 0 0; }

.collection-image { margin: 10px 8px 30px; }
.collection-image img { width: 100%; }

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4%;
  row-gap: 70px;
  padding: 0 8px;
}

.product { min-width: 0; text-align: center; }
.product__image { display: block; }
.product__image img { width: 100%; max-width: 400px; margin: 0 auto; }
.product h2 { margin: 30px 0 0; font-size: 32px; line-height: 1.25; font-weight: 500; }
.product h2 a { text-decoration: none; }
.product h2 a:hover { text-decoration: underline; }
.product__designer { margin: 0 0 20px; font-weight: 200; }
.product__description { margin: 20px 0 0; }

.collection-description { margin: 35px 8px; text-align: center; }
.products--final { margin-top: 60px; }

@media (max-width: 767px) {
  .intro { margin: 25px 20px 75px; }
  .intro p { line-height: 1.5; }
  .collection-image { margin: 0 8px 30px; }
  .products { grid-template-columns: 1fr; row-gap: 25px; }
  .product__description { padding: 0 12px; }
  .collection-description { margin: 35px 20px; }
  .products--final { margin-top: 35px; }
}
