/*
 * Copyright (C) 2026 Fluxer Contributors
 *
 * This file is part of Fluxer.
 *
 * Fluxer is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Fluxer is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Fluxer. If not, see <https://www.gnu.org/licenses/>.
 */

.mediaContainer {
	display: flex;
	height: 100%;
	width: 100%;
	align-items: center;
	justify-content: center;
}

.mediaContextMenuWrapper {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
}

.audioPlayerContainer {
	width: 100%;
	max-width: 672px;
	padding: 0 32px;
}

.audioPlayer {
	width: 100%;
}

.videoPlayerContainer {
	display: flex;
	height: 100%;
	width: 100%;
	align-items: center;
	justify-content: center;
}

.videoPlayer {
	max-width: 100%;
	max-height: 100%;
}

@media (max-width: 768px) {
	.videoPlayerContainer {
		width: 100%;
		height: auto;
		max-height: 100%;
		aspect-ratio: auto;
	}

	.videoPlayer {
		width: 100%;
		height: auto;
		max-height: 100%;
		border-radius: 0;
	}
}

.gifvImage {
	max-height: 100%;
	max-width: 100%;
	user-select: none;
	-webkit-user-select: none;
	object-fit: contain;
}

.gifvVideo {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.image {
	max-height: 100%;
	max-width: 100%;
	user-select: none;
	-webkit-user-select: none;
	object-fit: contain;
}
