section{padding-top:50px;.cont { display: none; margin-top: -15px; overflow: hidden; width: 100%; transition: height linear; .theater-margins { margin: 20px 7.5% 0; box-sizing: border-box; @media (max-width: 850px) { margin: 0 -2.75vw 0; } .theater-imgs { display: flex; flex-wrap: wrap; justify-content: center; a { margin: 4px; position: relative; max-height: 450px; &:last-child { max-width: max(50%, 780px); } } img { position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); width: 100%; height: 100%; min-height: 100%; object-fit: cover; } } } }}