.gallery {
max-width: var(--max-width);
columns: 3;
column-gap: 15px;
}
.img-cont {
width: 100%;
/* background: lightgray; */
display: flex;
flex-direction: column;
gap: 10px;
padding: 10px;
margin-bottom: 10px;
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
break-inside: avoid;
overflow: hidden;
transition: all 0.5s ease-in-out;
}
.img-cont:hover img {
transform: scale(0.9) rotate(-2deg);
}
.img-cont img {
width: 100%;
transition: all 0.5s ease-in-out;
}
.img-content {
display: flex;
display: none;
/* opacity: 0; */
flex-direction: column;
justify-content: center;
gap: 10px;
z-index: 10;
transition: all 0.5s ease-in-out;
/* text-wrap: balance; */
}
.gallery {
max-width: var(--max-width);
columns: 3;
column-gap: 15px;
}
.img-cont {
width: 100%;
/* background: lightgray; */
display: flex;
flex-direction: column;
gap: 10px;
padding: 10px;
margin-bottom: 10px;
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
break-inside: avoid;
overflow: hidden;
transition: all 0.5s ease-in-out;
}
.img-cont:hover img {
transform: scale(0.9) rotate(-2deg);
}
.img-cont img {
width: 100%;
transition: all 0.5s ease-in-out;
}
.img-content {
display: flex;
display: none;
/* opacity: 0; */
flex-direction: column;
justify-content: center;
gap: 10px;
z-index: 10;
transition: all 0.5s ease-in-out;
/* text-wrap: balance; */
}