﻿/* Kép- és videómegjelenítés. */

.media-thumb {
	max-width: 100%
}

.fullScreenVideo {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

.video-wrapper {
	position: relative;
	width: 100%;
	height: 100vh; /* teljes képernyő magasság */
	overflow: hidden;
	background: black;
}

.background-video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	height: 100%;
	min-width: 100%;
	transform: translate(-50%, -50%);
	object-fit: cover;
	filter: blur(20px) brightness(0.7);
	z-index: 1;
}

.foreground-video {
	position: relative;
	z-index: 2;
	max-height: 100%;
	max-width: 100%;
	height: 100%;
	margin: auto;
	display: block;
	object-fit: contain;
}

.image-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}

.background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(10px);
	z-index: -1;
}

.foreground-image {
	max-width: 100%;
	max-height: 100%;
	height: 100%;
	margin: auto;
	object-fit: cover;
	object-position: center;
}

.goodwrong-media {
	max-width: 100%;
	max-height: 30vh;
	width: auto;
	height: auto;
	margin: 0 auto 0 auto;
	display: block;
}
