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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  background: #212324;
  color: #fdfdfd;
  text-align: center;
}

h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

h1, h2,
h3, h4 {
  text-wrap: balance;
}

h1 {
  margin-top: 0;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input, button,
textarea, select {
  font: inherit;
}

.nav li {
  list-style-type: none;
  color:#212324;
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
}

.nav li:hover {
  color: #fff;
  cursor: pointer;
}

.nav {
  display:flex;
  overflow: hidden;
  height: 2rem;
  transition: ease-in-out .4s;
}

.nav:hover {
  height: 150px;
  transition: ease-in-out .2s;
}

.nav li {
  background:#fff;
}
.nav li:nth-child(2) {
  background:#c6000a;
}
.nav li:nth-child(3) {
  background:#11a4e6;
}

.nav li:first-child {
  color:#212324!important;
}

.num {
  font-size: 4rem;
  line-height: 4rem;
}

.hamburger {
  position: absolute;
  width:1rem;
  height:1rem;
  left: .5rem;
  top: .5rem;
  background: linear-gradient(
      to bottom, 
      #212324, #212324 20%, 
      white 20%, white 40%, 
      #212324 40%, #212324 60%, 
      white 60%, white 80%, 
      #212324 80%, #212324 100%
    );
  transition: opacity ease-in .4s;
}

.nav:hover .hamburger {
  opacity: 0;
  transition: opacity ease-out .2s;
}

.wrapper {
  max-width: 2450px;
  margin: auto;
}

.grid-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.grid-item {
  aspect-ratio: 1/1;
  width: 33.333%;
  padding: 2rem;
  background-size: cover;
  background-repeat: no-repeat;
}

.grid-item.intro {
  width: 100%;
  aspect-ratio: auto;
}

h2 {
  text-indent: -9999px;
}

@media (min-width:700px) {
  .grid-item {
    width: 25%;
  }
  .grid-item.intro {
    aspect-ratio: 4/1;
  }
}

@media (min-width:1024px) {
  .grid-item {
    width: 20%;
  }
  .grid-item.intro {
    width: 50%;
  }
}

@media (min-width:1280px) {
  .grid-item {
    width: 12.5%;
  }
  .grid-item.intro {
    width: 37.5%;
  }
}

/*@media (min-width:1800px) {
  .grid-item {
    width: 12.5%;
  }
}*/

.wanted {
  filter:grayscale(0.7) brightness(0.4);
}

.filtered .wanted {
  filter:none;
}

.filtered-for-wanted .owned,
.filtered-for-owned .wanted {
  display:none;
}