* {
  box-sizing: border-box;
}

a {
	color: inherit;
	text-decoration: none;
}
img, video {
	display: block;
	max-width: 100%;
	height: auto !important;
}
ul, li, dl, dd, dt, figure, figcaption {
	margin: 0;
	padding: 0;
}
.noli li {
	list-style: none;
	display: inline;
}
button {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	font-size: 1rem;
	cursor: pointer;
	outline: inherit;
	display: inline-block;
	line-height: 1;
}
.btn {
	display: inline-block;
}
h1, h2, h3, h4, h5, strong {
	font-weight: 700;
	line-height: 1;
}

html {
	line-height: normal;
}

body {
	font-family: tablet-gothic, sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1em;
	padding: 150px 0;
}
.dark {
	background: #101010;
	color: #fff;
}

.wrap {
	max-width: 1200px;
	margin: auto;
}

#head {
	position: fixed;
	z-index: 1000;
	background: #fff;
	width: 100%;
	max-width: 1200px;
	margin: auto;
	left: 0;
	right: 0;
	top: 25px;
	border-radius: 25px;
	border: 2px dotted;
}
.dark #head {
	background: #101010;
	color: #fff;
}
#head h1 {
	margin: 0;
	padding: .75em;
	text-align: center;
	font-weight: 400;
	font-size: 24px;
}

#mode {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #000;
}
.dark #mode {
	background: #fff;
}

.term {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 5vh;
	margin-bottom: 1em;
}
.term h2 {
	font-family: abril-text, serif;
	font-variant-numeric: lining-nums;
	font-size: 25px;
	font-weight: 400;
	margin: 0 0 5px;
}
.term .num {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-left: auto;
}
.term .txt {
	width: 100%;
	color: hsl(0, 0%, 50%);
}

.grid figure {
	position: absolute;
	width: 100%;
	max-width: 384px;
	margin-left: 24px;
	border-radius: 25px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #000;
	cursor: pointer;
}
.grid figure:first-child {
	margin: 0;
}
.grid figure > img {
	opacity: 1;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	transition: .4s opacity;
}
.grid figure figcaption {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 100%;
	color: #fff;
	transition: .4s top;
}
.grid figure figcaption .head {
	box-sizing: border-box;
	padding: 25px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.grid figure figcaption .time::after {
	content: '';
	width: 30px;
	height: 30px;
	position: absolute;
	right: 15px;
	top: 15px;
	border-radius: 50%;
	border: 2px dotted;
}
.grid figure figcaption .head h3 {
	font-size: 25px;
	margin: 0;
	padding-right: 25%;
}
.grid figure figcaption .play {
	padding: 0 25px 0;
	height: 60px;
}

.grid figure:hover > img {
	opacity: .4;
}
.grid figure:hover figcaption {
	top: -60px;
}

.grid .flickity-button {
	z-index: 999;
    background: #fff;
}
.grid .flickity-button:disabled {
	opacity: 0;	
}
.grid .flickity-button:hover {
	background: #000;
	color: #fff;
}
.grid .flickity-button:active {
	opacity: inherit;
}
.grid .flickity-prev-next-button {
	transform: translateX(-50%) translateY(-50%);
}
.grid .flickity-prev-next-button.previous {
    left: 0;
}
.grid .flickity-prev-next-button.next {
    right: 0;
	transform: translateX(50%) translateY(-50%);
}

#over {
	display: none;
}
#exit {
	font-size: 200%;
	margin-right: 1em;
}
.over {
	overflow: hidden;
}
.over #over {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: fixed;
	overflow: auto;
	z-index: 1001;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: #101010;
	color: #fff;
}
#over .head {
	padding: 25px 50px;
	align-self: stretch;
}
#over .wrap {
	display: flex;
}
#over h2 {
	font-weight: 400;
	font-size: 24px;
}
#over .body {
	margin: auto 0;
}
#over .copy {
	background: #000;
	padding: 25px;
}
#over .info {
	font-family: abril-text, serif;
	font-variant-numeric: lining-nums;
	color: hsl(0, 0%, 65%);
	margin: 1em 0;
}
#over ul {
	display: flex;
	gap: 12px;
	margin: 1.5em 0;
}
#over li {
	list-style: none;
	display: inline-block;
}
#over li a {
	border: 2px dotted;
	padding: 5px 10px;
	border-radius: 5px;
	color: hsl(0, 0%, 65%);
}
#over li a:hover {
	color: #fff;
}