.main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  margin: 0 auto;
  flex-direction: revert;
  gap: 7px;
}

.text-warning {
  color: #d95323;
}

.item:nth-child(4),
.item:nth-child(14) {
  grid-row: span 2;
}

.item:nth-child(6),
.item:nth-child(18) {
  grid-column: span 2;
}
.item:nth-child(7),
.item:nth-child(15),
.item:nth-child(24) {
  grid-row: span 2;
  grid-column: span 2;
}

@media (max-width: 750px) {
  .main .item {
    grid-row: span 1;
    grid-column: span 1;
  }
}

.item {
  overflow: hidden;
}

.item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  transition: transform 300ms ease-in-out;
}

.item:hover img {
  transform: scale(1.1);
  z-index: -1;
}
.crslCstm {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #000;
  padding: 24px;
}

.crslCstm img {
  height: calc(100vh - 48px);
  margin: 0 auto;
}

.crslCstm .carousel-caption {
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
  border-radius: 24px;
}

.crslCstm .carousel-item {
  text-align: center;
}

.closeCarousel {
  position: absolute;
  inset: 14px 14px auto auto;
  z-index: 999;
  background-color: #fff;
  border-radius: 50px;
  line-height: 1;
  text-decoration: none;
  inset: ;
  aspect-ratio: 1/1;
  width: 31px;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
