.wrap{position:relative}.img{z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%;background-position:50%;background-size:cover;background-repeat:no-repeat}@supports (background-attachment:fixed){.img{background-attachment:fixed}}.gallery{padding-top:4rem;display:grid;width:70%;margin:auto;gap:10px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-auto-rows:250px;grid-auto-flow:dense}.gallery-item{img{width:100%;height:100%;background-position:50%;object-fit:cover}@media (min-width:480px){&:first-child{grid-area:1/1/span 2/span 2}}}.gallery-item.wide{grid-column:span 2}