:root {
	--iphone-width: 450px;
	--iphone-height: 956px;
}

* {
	box-sizing: border-box;
}

html {
	height: 100vh;
	width: 100vw;
	max-width: var(--iphone-width);
	max-height: var(--iphone-height);
	margin: 0;
	padding: 0;
}

body {
	inset: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	position: fixed;
	width: 100%;
	height: 100%;
	background: #ffffff;
}

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.3s ease-out;
}

#preloader.hidden {
	opacity: 0;
	pointer-events: none;
}

.spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
