.PhoneWrapper { width: 100vw; height: 100vh; position: relative; } .Phone { position: absolute; right: 0; width: 500px; height: 1000px; background-size: cover; } .PhoneFrame { position: absolute; z-index: 999; width: 500px; height: 1000px; pointer-events: none; } .PhoneScreen { overflow: hidden; position: absolute; background-color: black; bottom: 100px; left: 50px; right: 50px; top: 100px; display: flex; flex-direction: column; background-position: center; background-size: cover; background-repeat: no-repeat; border-radius: 20px; } .PhoneAppContainer { height: 90%; width: 100%; display: flex; flex-direction: column; } * { box-sizing: border-box; } *::-webkit-scrollbar-track { box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); background-color: #666; } *::-webkit-scrollbar { width: 3px; background-color: transparent; } *::-webkit-scrollbar-thumb { background-color: #f5f5f5; }