html {
    background-color: #000;
    color: rgb(245, 245, 245);
}

.wrapper {
    max-width: 935px;
    width: 100%;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-gap: 4px;
    line-height: 0;
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 768px) {
    .grid {
        grid-gap: 3px;
    }
};

.grid__item {
    display: block;
}

.grid__item img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}

img {
    max-width: 100%;
}