.rotation-menu button padding: 10px 16px; border: none; background: white; text-align: left; cursor: pointer; transition: background 0.2s;

if (typeof DeviceOrientationEvent !== 'undefined' && typeof DeviceOrientationEvent.requestPermission === 'function') // iOS requires permission rotateBtn.addEventListener('click', async () => await DeviceOrientationEvent.requestPermission(); );

this.rotateScreen(degrees);

.rotate-icon width: 20px; height: 20px; fill: white;