html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	font-family: "neue-haas-grotesk-display", "Pretendard", sans-serif;
	font-weight: 500;
	font-style: normal;
}

body#sub-page {
	background-size: cover;
	background-position: center;
	background-image: url("../../images/epilogue.bg.jpg");
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

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

img{
	max-width: 100%;
}

html{
	width: 100%;
	height: 100%;
	font-size: 0.6vw;
}

@media (max-width: 1400px){
	html{
		font-size: 0.8vw;
	}
}

@media (max-width: 768px){
	html{
		font-size: 10px;
	}
}

body{
	width: 100%;
	height: 100%;
}

img.bg{
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	display: block;
	width: 100%;
	height: 100vh;
	object-fit: cover;
	object-position: top;
	/* mix-blend-mode: difference;	 */
}

.title{
	position: fixed;
	z-index: -1;
	width: 100%;
	top: 50%;
	transform: translateY(-50%);
	font-weight: 900;
	font-size: 32vw;
	color: #fff;
	text-align: center;
	mix-blend-mode: difference;
	line-height: 1;
}

.title p.sm{
	font-size: 28vw;
}

.title > p{
	display: none;
}

.title > p.active{
	display: block;
}

.info p{
	position: fixed;
	z-index: -1;
	color: #fff;
	line-height: 1;
	font-weight: 600;
}

.info p:first-child, .info p:nth-child(2){
	top: 2rem;
	left: 2rem;
	font-size: 4.5rem;
}

.info p:nth-child(2){
	left: unset;
	right: 2rem;
	text-align: right;
}

.info p:nth-child(3), .info p:nth-child(4){
	top: 52%;
	left: 2rem;
	font-size: 2.4rem;
	line-height: 1.2;
}

.info p:nth-child(4){
	left: unset;
	right: 2rem;
	text-align: right;
}

.intro{
	padding: 80vh 30rem 2rem;
	font-size: 4rem;
	text-align: center;
	word-break: keep-all;
	line-height: 1.5;
	font-weight: 800;
	/* opacity: 0; */
	transition: opacity 0.5s ease-in-out;
	color: #fff;
}
.intro p{
	transform: translate3d(0,0,0);
	mix-blend-mode: difference;
}

/* .intro.active{
	opacity: 1;
	color: #fff;
} */

.intro p{
	margin-bottom: 3.4rem;
}

.triggers > div{
	position: relative;
	height: 20vh;
	cursor: pointer;
}

.logo-mmca, .logo-cheongju{
	position: fixed;
	left: 2rem;
	bottom: 2rem;
	z-index: 1;
}

.logo-cheongju{
	left: unset;
	right: 2rem;
}

svg{
	height: 7rem;
}

svg path, svg polygon, svg rect{
	fill: #fff;
}

@keyframes rotateAnimation {
	0% {
		transform: rotate(0deg);
	}
	50% {
		transform: rotate(7deg);
	}
	100% {
		transform: rotate(0deg);
	}
}

#hovering {
	box-sizing: border-box;
	position: fixed;
	z-index: 10;
	top: 3.5vw;
	left: 50vw;
	width: 60vw;
	transform: translateX(-50%);
}

#hovering-object {
	position: relative;
	z-index: 9;
	width: 15vw;
	margin: auto;
	padding-right: 3.5vw;
	animation: rotateAnimation 7s infinite; 
	cursor: pointer;
}

#hovering-object > img {
	width: 100%;
}

#hovering-menu {
	position: absolute;
	z-index: 8;
	display: none;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	top: 2.5vw;
	left: 0;
}

#hovering-menu > li.menu {
	font-size: 1.7vw;
	color: white;
	background-color: #330b63;
	padding: 0.6vw 2.5vw;
	border-radius: 1vw;
	cursor: pointer;
}

.video-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border: 0;
}

.video-upper {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}

header {
	width: 100%;
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	box-sizing: border-box;
}

header ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1vw;
	width: 100%;
}

header li {
	width: 12%;
	text-align: center;
}

header li.menu {
	color: white;
	background-color: #330b63;
	padding: 0.5vw 2vw;
	border-radius: 0.7vw;
	cursor: pointer;
	font-size: 1.2vw;
}

header li.logo {
	cursor: pointer;
	animation: rotateAnimation 7s infinite; 
}

header li.menu:hover, header li.menu.selected {
	color: #ff6c1f;
}

header li img {
	height: 4.5vw;
}

header #triggerFile {
	cursor: pointer;
}

main {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}


.item {
	width: 290px;
	height: 550px;
	border: 2px solid black;
	margin: 0 20px 20px 0;
	font-family: 'Pretendard';
	float: left;
}

.item .thumbnail {
	background-position: top;
	background-size: contain;
	background-repeat: no-repeat;
	width: 100%;
	height: 300px;
	border-bottom: 1px solid black;
}

.item .text {
	width: 100%;
	height: 250px;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

.item .info {
	word-break: break-all;
	padding: 15px;
	font-size: 16px;
	line-height: 20px;
	width: 100%;
}

.item .info span {
	display: block;
	padding-top: 20px;
	font-size: 15px;
	line-height: 22px;
}

.item .button {
	padding: 10px 10px 15px 10px;
}

.item .button button {
	border: 1px solid black;
	background-color: #f0f0f0;
	border-radius: 5px;
	padding: 8px;
	width: 100%;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 768px){

	.info p:first-child, .info p:nth-child(2){
		top: 1.6rem;
		left: 1.6rem;
		font-size: 3.4rem;
	}
	
	.info p:nth-child(2){
		left: unset;
		right: 1.6rem;
		text-align: right;
	}
	
	.info p:nth-child(3), .info p:nth-child(4){
		bottom: unset;
		top: 54%;
		left: 1.6rem;
		font-size: 1.6rem;
		width: 150px;
	}
	
	.info p:nth-child(4){
		right: 1.6rem;
		left: unset;
	}

	.intro{
		padding: 2rem;
		padding-top: 90vh;
		font-size: 2rem;
	}

	.title{
		font-size: 29.5vw;
	}
	
	.title p.sm{
		font-size: 28vw;
	}

	.logo-mmca, .logo-cheongju{
		bottom: 1.6rem;
		left: 1.6rem;
	}

	.logo-cheongju{
		left: unset;
		right: 1.6rem;
	}

	svg{
		height: 5rem;
	}
	
}

@media (orientation: portrait) {
	#hovering {
		top: 20vh;
		width: 90vw;
		height: 100vw;
	}
	
	#hovering-object {
		width: 40vw;
		padding-right: unset;
	}
	
	#hovering-menu {
		flex-direction: column;
		width: 100%;
		top: 20vh;
	}
	
	#hovering-menu > li.menu {
		box-sizing: border-box;
		font-size: 6vw;
		margin-bottom: 1vh;
		width: 100%;
		text-align: center;
		padding: 2vh;
		border-radius: 1vh;
	}
	
	header ul {
		flex-direction: column;
		width: 80%;
		margin: auto;
	}
	
	header li {
		width: 100%;
	}
	
	header li.menu {
		padding: 4vw 2vw;
		border-radius: 3vw;
		font-size: 5vw;
		margin-bottom: 2vh;
	}
	
	header ul li:not(.logo) {
		display: none;
	}
	
	header li img {
		height: 10vh;
	}
}
