﻿* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-image: url(/assets/bg.avif);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	/* Темный фон для десктопа */
	height: 100dvh;
	width: 100vw;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

/* Эмулятор экрана телефона */
.mobile-container {
	width: 100%;
	height: 100%;
	/* Ограничиваем пропорции как у телефона (9:16) */
	max-height: 100dvh;
	aspect-ratio: 9 / 16;

	position: relative;

	/* Включаем вертикальный скролл с прилипанием */
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;

	/* Убираем скроллбар */
	scrollbar-width: none;
	/* Firefox */
}

.mobile-container::-webkit-scrollbar {
	display: none;
	/* Chrome/Safari */
}

/* Стили для изображений-слайдов */
.slide-img {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	scroll-snap-align: start;
	/* Слайд прилипает к верху */
	flex-shrink: 0;
}

.slide-img img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 0 100px 20px rgba(0, 0, 0, 0.5);
}