@use '../NewLightboxStyles.scss' as newstyles; .exploreView-container { width: 100%; height: 100%; border-radius: 20px; position: relative; // transform: scale(1); background: newstyles.$gray-l1; border-top: newstyles.$standard-border; border-color: newstyles.$gray-l2; border-radius: 0px 0px 20px 20px; transform-origin: 50% 50%; overflow: hidden; &.dark { background: newstyles.$black; } &.light, &.default { background: newstyles.$gray-l1; } .exploreView-doc { width: 60px; height: 80px; position: absolute; background: newstyles.$blue-l2; // opacity: 0.8; transform-origin: 50% 50%; transform: translate(-50%, -50%) scale(1); cursor: pointer; transition: 0.2s ease; overflow: hidden; font-size: 9px; padding: 10px; border-radius: 5px; &:hover { transform: translate(calc(-50% * 1.125), calc(-50% * 1.125)) scale(1.5); } } }