.content-entry {
	display: flex;
	min-height: 20rem;
	border-radius: 1rem;
	background-color: black;
	margin: 2rem;
	padding: 1rem;
	border: 1px solid #444;
	position: relative; /* needed to be displayed above a video */
}

.content-entry-block {
	flex: 1;
	margin: auto 1rem;
}

.content-entry-block ul {
	padding-left: 1.5em;
}

.content-entry-block li {
	margin: 0.5em 0;
}

.content-entry-image {
	flex: 1;
	margin: 1rem;
	background-size: cover;
	background-position: center; 
}

.main-video {
	white-space: nowrap; /* needed to make sure main-video-margin and video are on the same line */
	-webkit-mask-image: linear-gradient(black, black, black, black, black, transparent);
	mask-image: linear-gradient(black, black, black, black, black, transparent);
	overflow: hidden;
	margin-bottom: -5rem;
}

/* This block serves to compute the video margin as max(50vw - 25rem, 0) to keep it centered */
.main-video .main-video-margin {
	display: inline-block;
	margin-left: -25rem;
	width: 50vw;
	max-width: 25rem;
}

.main-video video {
	width: 100vw; /* makes the width take at least the whole viewport */
	min-width: 50rem; /* overflow if the viewport is not wide enough (typically on vertical smartphone) */
}

.main-video:not(:hover) .video-pause {
	display: none !important;
}

.video-button {
	position: absolute;
	top: 0;
	margin-top: 18%;
	left: calc(50% - 4rem);
	width: 8rem;
	height: 8rem;
	filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, 0.8));
}

.video-button svg * {
	stroke: lightgray;
}

.video-button svg path, .video-button svg rect {
	fill: lightgray;
}

.video-button:hover {
	cursor: pointer;
}

.video-button:hover svg * {
	stroke: white;
}

.video-button:hover svg path, .video-button:hover svg rect {
	fill: white;
}

.copyright {
	font-size: 0.65em;
	color: gray;
	padding: 0.5rem;
	width: 100%;
	text-align: center;
}

@media only screen and (max-width: 50rem) {
	.content-entry {
		display: block;
	}
	
	.content-entry-image {
		padding-top: 40%;
	}
	
	.global-bar-content {
		font-size: 0.75rem;
	}
	
	.content-entry {
		margin-right: 0.5rem;
		margin-left: 0.5rem;
		padding: 0;
	}
}
