html {
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	cursor: default;
	-webkit-tap-highlight-color: transparent;
}
a,
body,
div,
footer,
h1,
h2,
header,
html,
img,
li,
nav,
p,
span,
ul {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 100%;
}

li,
ul {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

a,
img,
picture,
svg,
video {
	display: block;
}

img,
svg,
video {
	width: 100%;
	height: auto;
}

body {
	color: #000;
	background-color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}

#main {
	min-height: calc(100vh - 120px);
}

a {
	transition: opacity 250ms;
}

a:hover {
	opacity: 0.5;
}

#nav {
	position: absolute;
	top: 10px;
	left: 20px;
	right: 20px;
	z-index: 2;
}

#nav ul {
	display: flex;
}

#nav ul li {
	padding-right: 40px;
}

#nav li div.on {
	font-style: italic;
	cursor: default;
	pointer-events: none;
}

#main {
	position: relative;
	padding-top: 40px;
	padding-right: 20px;
	padding-left: 20px;
}

#h-1-ul {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

@media screen and (max-width: 600px) {
	#h-1-ul {
		flex-direction: column;
	}
}

#h-1-ul:after {
	content: '';
	flex: auto;
	width: calc(50% - 20px);
}

.h-1-li {
	flex: 1 0 calc(50% - 20px);
	max-width: 50%;
}

@media screen and (max-width: 600px) {
	.h-1-li {
		max-width: 100%;
	}
}

.h-1-li .video-w {
	position: relative;
	margin-bottom: 10px;
}

.h-1-li .video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: opacity 250ms;
	background: rgba(10, 10, 10, 0.05);
	opacity: 0;
	pointer-events: none;
}

.h-1-li .video-w:hover > .video-overlay {
	opacity: 1;
	z-index: 1;
}

.h-1-li a.video:hover {
	opacity: 1;
}

.h-1-li a,
#footer a {
	display: inline-block;
}

#copyright {
	padding-top: 40px;
	padding-left: 20px;
	padding-bottom: 20px;
	padding-right: 20px;
}

.video-preview {
	position: relative;
	cursor: zoom-in;
	transition: z-index 250ms 0ms, transform 250ms ease-in-out;
	will-change: transform;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.video-preview.zoomed {
	position: relative;
	cursor: zoom-out;
	transition: z-index 0ms 0ms, transform 250ms ease-in-out;
	z-index: 4;
}

#bg {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.95);
	pointer-events: none;
	opacity: 0;
	will-change: opacity;
}

#bg.on {
	opacity: 1;
	pointer-events: all;
	z-index: 3;
	transition: z-index 0ms 0ms, opacity 250ms ease-in-out;
}

#bg.off {
	opacity: 0;
	pointer-events: none;
	z-index: 0;
	transition: z-index 250ms 0ms, opacity 250ms ease-in-out;
}
