body {
  height: auto;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.gallery {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  width: 1128px;
  justify-self: center;
}

.gallery-item {
  width: 360px;
  height: 200px;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.04);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
}

.basicLightbox__placeholder {
  background-color: rgba(46, 47, 66, 0.8);
}

.basicLightbox__placeholder > img:first-child:last-child {
  width: 1112px;
  max-height: 640px;
  object-fit: cover;
  border-radius: 8px;
}
