@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');

body {
	font-family: 'Open Sans', sans-serif;
	background-color: #005A70;
	font-size: 0.85em;
	color: #FFFFFF;
	margin: 0; padding: 0;
}

header {
	background-color: #FFFFFF;
	border-bottom: 3px solid #e30c19;
	height: 67px;
}

.page {
  width: min(2100px, calc(100vw - 2.5em));
  margin: auto;
}

.logo_stark {
	position: absolute;
}
.logo_pearson {
	display: none;
	width: 150px;
	padding: 15px;
}

section.intro {
	font-family: sansation;
	font-size: 2.5em;
	color: #FFFFFF;
	text-align: center;
	padding: 0.75em 0.25em;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	background-color: #005a70;
	gap: 2.5em;
}

.gallery .videos {
	display: flex;
	flex-direction: column;
	min-width: 250px;
	width: 380px;
	font-size: 1.2em;
	border-radius: 18px;
	box-shadow: inset 0 -10px 18px rgba(0, 48, 87, 0.08), 0 12px 30px rgba(0, 33, 51, 0.58);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.gallery .videos:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(0, 33, 51, 0.24);
}

.gallery .videos a {
	text-decoration: none;
}

.gallery .videos h4 {
	color: #005A70;
	margin: 0;
	padding: 5px 20px;
}

.gallery .videos .fach,
.gallery .videos .href {
	color: #5D5E5D;
	margin: 0;
	padding: 0 20px;
}

.video-bottom {
	display: flex;
	flex-direction: column;
	flex: 1;
	background: #fff;
	padding: 0 0 15px 0;
	border-radius: 0 0 18px 18px;
}

.text_column {
    color: #000;
    margin: 0;
    padding: 15px 20px 0 20px;
    font-weight: lighter;
    font-size: 0.9em;
	color: #E30C19;
	display: none;
}

.thumbnail {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	height: 214px;
	overflow: hidden;
	border-radius: 18px 18px 0 0;
	border-bottom: 2px solid #E30C19;
}

.thumbnail--split {
	grid-template-columns: 1fr 1fr;
}

.thumb-text {
	position: absolute;
	top: 28px;
	left: 12px;
	right: 12px;
	color: #fff;
	font-size: 1.5em;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-align: center;
	pointer-events: none;
	transition: transform 220ms ease, filter 220ms ease;
	transform: translateY(0);
	transform-origin: center;
	z-index: 4;
}


.thumb-text--red {
	color: #E30C19;
}

.thumb-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
	isolation: isolate;
}

.thumb-image {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease, filter 220ms ease;
	z-index: 1;
}

.thumb-image--extra {
	object-fit: contain;
	padding: 42px;
	box-sizing: border-box;
	background: #B4B5DC;
}

.thumb-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
	transition: transform 180ms ease, opacity 180ms ease;
	z-index: 5;
}

.thumb-hint {
	position: absolute;
	left: 50%;
	bottom: 20%;
	transform: translateX(-50%) translateY(8px);
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(0, 48, 87, 0.86);
	color: #fff;
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 180ms ease, transform 180ms ease;
	box-shadow: 0 8px 18px rgba(0, 33, 51, 0.22);
	z-index: 6;
}

.thumb-link::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom, rgba(255,255,255,0.14), rgba(255,255,255,0) 26%),
		linear-gradient(to top, rgba(0,48,87,0.18), rgba(0,48,87,0.04) 48%, rgba(0,48,87,0));
	opacity: 1;
	transition: background 180ms ease, opacity 180ms ease;
	pointer-events: none;
	z-index: 2;
}

.thumb-link:hover::after,
.thumb-link:focus-visible::after {
	background: linear-gradient(
		to top,
		rgba(0, 48, 87, 0.42),
		rgba(0, 48, 87, 0.08) 48%,
		rgba(0, 48, 87, 0)
	);
}

.thumb-link:hover .thumb-image,
.thumb-link:focus-visible .thumb-image {
	transform: scale(1.04);
	filter: saturate(1.05);
}

.thumbnail:hover .thumb-text,
.thumbnail:focus-within .thumb-text {
	transform: translateY(-2px) scale(1.04);
	filter: saturate(1.05);
}

.thumb-link:hover .thumb-play,
.thumb-link:focus-visible .thumb-play {
	transform: translate(-50%, calc(-50% - 10px));
}

.thumb-link:hover .thumb-hint,
.thumb-link:focus-visible .thumb-hint {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.thumbnail--split:hover .thumb-link {
	filter: brightness(0.94);
}

.thumbnail--split:hover .thumb-link:hover,
.thumbnail--split:hover .thumb-link:focus-visible {
	filter: brightness(1.02);
	transform: scale(1.015);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
	z-index: 1;
}

.thumb-play--single,
.thumb-play--left, 
.thumb-play--right {
	background-image: url('../_data/img/icon_video_play-overlay.svg');
}

.thumbnail .ggb-sim_img:hover,
.thumbnail .pdf_img:hover {
	cursor: pointer;
}


@media (max-width: 856px) {
	.gallery .videos {
		width: 300px;
	}

	.thumbnail {
		height: 169px;
	}

	.thumb-image--extra,
	.thumbnail .ggb-sim_img,
	.thumbnail .pdf_img {
		padding: 18px;
	}

	.thumb-play {
		width: 78px;
		height: 78px;
	}

	.thumb-hint {
		font-size: 0.5em;
		padding: 7px 12px;
		bottom: 12px;
	}
}

@media (max-width: 480px) {
	section.intro {
		font-size: 1.8em;
	}

}

