.collections { height: calc(100vh - 56px); background-image: url('../../assets/collections/museum_background.png'); background-position: center; background-size: 100% 100%; } .glass-box { width: 55vw; height: 40vh; position: fixed; left: calc(50vw - (55vw / 2)); bottom: 36vh; } ion-slides { width: 100%; height: calc(100vh - 56px); ion-slide { height: 100%; display: block; position: relative; width: 100%; opacity: 0; &.swiper-slide-active { animation: fadeUp 0.5s forwards; animation-delay: 0.2s; } } @keyframes fadeUp { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0vh); } } .box-heading { position: absolute; left: 25vw; width: 50vw; background-color: rgba(white, 0.1); border-radius: 7px; overflow: hidden; padding: 15px; top: 58vh; h5 { margin: 0; font-size: 1rem; font-weight: 500; color: rgb(63, 63, 63); } p { margin: 0; font-size: 0.8rem; line-height: 1.5; color: rgb(93, 93, 93); } } img { position: absolute; left: 40vw; bottom: 50vh; object-fit: contain; object-position: bottom; &.bat { width: 20.5vw; height: 20.5vh; &.inverted { left: 42vw; } } &.ball { width: 10vw; height: 10vh; left: 45vw; } } }