.home-grid {
  display: grid;
  list-style: none;
  grid-gap: 1.5rem;
  line-height: 0;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-flow: dense;
}
.home-grid li {
  position: relative;
  --cols: 1;
  --rows: 1;

  overflow: hidden;
  background: #000;
  line-height: 0;
}
.home-grid li.highlighted {
  /* background-image: linear-gradient(to bottom, #FF9A9E 0%, #FFC0CB 100%); */
  background: rgb(70,113,252);
background: linear-gradient(90deg, rgba(70,113,252,1) 0%, rgba(0,187,255,1) 25%, rgba(0,255,189,1) 50%, rgba(0,187,255,1) 75%, rgba(70,113,252,1) 100%);
}

.home-grid li:first-child {
  --cols: 2;
  --rows: 2;
}
.home-grid li:nth-child(5) {
  --cols: 2;
}
.home-grid li:nth-child(6) {
  --rows: 2;
}
.home-grid li:nth-child(7) {
  --cols: 2;
}
.home-grid a {
  display: block;
  height: 10rem;
}
.home-grid img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .3s;
}
.home-grid figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  color: #fff;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  line-height: 1;
  text-align: center;
  background: radial-gradient( rgba(0, 0, 0, 0) 54%, rgba(0,0,0,0.6) 100%);
}

.carousel-wrap {
  border: solid var(--color-pink) 0.2rem;
  border-radius: 2rem;
  margin: 2rem 2rem 20svh;
  background-color: #a0827373;
  box-shadow: 0rem 0rem 2rem red;
  max-width: 100rem;
}
.carousel {
  display: flex;
  flex-direction: row;
}

.carousel img {
  width: 50vw;
  height: 40svh;
  object-fit: contain;
  filter: blur(5px);
  transition: all 0.3s ease;
}

.slick-center img {
  filter: none;
}

.slick-slide {
  text-align: center;
}

.main-image {
  flex: 1;
  height: 50vh;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.icons {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
}

.icons div {
  width: 50px;
  height: 50px;
  margin: 10px;
}

.icons img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Automatically fit items into the grid */
  grid-gap: 1.5rem;
  justify-items: center; /* Center items horizontally within their grid cells */
  align-items: baseline; /* Center items vertically within their grid cells */
  margin: 0 auto;
  padding: 0.2rem;
  max-width: 100%;
}

.image-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  color: #fff;
  filter: drop-shadow(5px 5px 28px #000);
}

.image-item img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-item:hover img {
  transform: scale(1.1);
}

.image-item figcaption {
  position: absolute;
  bottom: 1rem;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-family: "Harmonia Sans W01 Bold";
  letter-spacing: 0.1rem;
}
.img-grid-img {
  border-radius: 0.2rem;
}


.image-item a {
  text-transform: uppercase;
  color: #ffffff;
  box-shadow: 5px 5px 10px 1px #000;
  border-radius: 0.5rem;
  padding: 0.2rem;
  letter-spacing: 0.2rem;
  font-family:"Harmonia Sans W01 Bold";
}

.collections-wrap {
  background-color: #5f4c44;
  box-shadow: 0 0 4rem #5f4c44;
  padding: 1rem 0;
  /* border-bottom: solid #542f26 1rem;
  border-top: solid #78615c 1rem; */
  /* background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgb(127, 101, 92) 15%, rgb(127, 101, 91) 85%, rgba(2,0,36,0) 100%); */
}

@media screen and (min-width: 45em) {
  .home-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-grid li {
    grid-column-start: span var(--cols);
    grid-row-start: span var(--rows);
  }
  .home-grid a {
    padding-bottom: 52.65%;
  }

  .grid>.column {
    grid-column: auto;
  }
}



@media only screen and (max-width: 768px) {

  h1, h2, h3, h4, h5 {
    font-size: 1rem;
  }

  h6 {
    font-size: 1rem;
  }

  .text h1, .h1, .intro {
    margin: auto auto 2rem;
    }

    .title-small {
      margin: auto;
      letter-spacing: 0.5rem;
      text-transform: uppercase;
      line-height: 3rem;
      }

  .slick-dotted.slick-slider {
    margin-bottom: 5rem;
  }

  .image-grid {
    grid-template-columns: repeat(2, 2fr);
    margin: auto;
  }

}

