.wrapper { height: calc(100dvh - 16rem); .cavity { overflow: hidden; position: relative; width: 100%; height: 100%; background-color: black; @media (pointer: fine) { border-radius: var(--space-4); } } }