.photo-grid{display:grid;gap:20px;grid-template-columns:repeat(3,1fr)}.photo-grid__item{align-items:flex-end;background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:20px;cursor:pointer;display:flex;min-height:300px;overflow:hidden;width:100%}.photo-grid__item-large{grid-row:span 2}.photo-grid__item[photo-width="2"]{grid-column:span 2}.photo-grid__item[photo-width="3"]{grid-column:span 3}.photo-grid__zoom img{border-radius:20px;box-shadow:var(--shadow);height:auto;max-height:90vh;max-width:90%;overflow:hidden;width:auto}.photo-grid__hover{background:var(--color-body);border-radius:15px;box-shadow:var(--shadow);box-sizing:border-box;margin:10px;opacity:0;padding:20px;transition:var(--transition);width:100%}.photo-grid__item:hover .photo-grid__hover{opacity:1}@media screen and (max-width:1000px){.photo-grid{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:500px){.photo-grid{gap:10px}.photo-grid__item{min-height:150px}.photo-grid__item,.photo-grid__zoom img{border-radius:15px}}