*,
*: before,
*: after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-size: 100%;
}

a:link {color: black; text-decoration: none;}
a:visited {color: black; text-decoration: none;}
a:hover {color: black; text-decoration: none;}
a:active {color: black; text-decoration: none;}

ul { list-style: none; }

img { size: 100%; }

body {
	width: 100%;
	height: auto;
	text-align: center;
	font-family: 'Poppins', sans-serif;
	overflow: auto;
}

.first,
.home,
.secret,
.contact, 
.categories,
.main {
	position: fixed;
}

.first {
	z-index: 77;
	top: 0;
	left: 0;
	width: 100%;
	height: 35px;
	background-color: white;
}

.home { 
	top: 6px;
	left: 2%; 
}

.contact { 
	top: 6px;
	right: 2%; 
}

.secret {
	z-index: 99;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	display: none;
}

.categories {
	z-index: 88;
	top: 35px;
	left: 0;
	width: 100%;
	padding: 5px;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	background-color: white;
}

.menu {
	margin: 5px;
}

.menu:hover +.secret {
	display: block;
}

/*여기서부터*/

.main {
	float: left;
	top: 72px;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: left;
	word-break: keep-all;
	display: flex;
	overflow: auto;
}

.left {
	top: 56px;
	left: 0;
	width: 40%;
	height: 100%;
	float: right;
	display: flex;
	flex-wrap: wrap;
	overflow: scroll;
}

.left p {
	z-index: 55;
	position: sticky;
	top: 0;
	margin: 0;
	background-color: white;
	padding: 5px;
	text-align: center;
	width: 100%;
	border-bottom: 1px solid black;
}

.left img {
	width: 100%;
	height: 100%;
}

.works {
	position: relative;
	width: 50%;
}

.image {
	display: block;
	width: 100%;
	height: auto;
}

.overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
	background-color: black;	
}

.works:hover .overlay {
	opacity: 1;
}

.works:active .overlay {
	opacity: 1;
}

.text {
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
	word-break: keep-all;
	cursor: help;
}

/*txt*/

.right {
	top: 56px;
	left: 40%;
	width: 60%;
	height: 100%;
	overflow: scroll;
	border-left: 1px solid black;
}

.right p {
	position: sticky;
	top: 0;
	margin: 0;
	background-color: white;
	padding: 5px;
	text-align: center;
	width: 100%;
	border-bottom: 1px solid black;
}

.document {
	padding: 50px;
	left: 50%;
	text-align: center;
	word-break: keep-all;
	line-height: 1.7;
	height: auto;
	overflow: scroll;
}

.document:target {
	display: block
}

.document a {
	color: black;
	text-decoration: underline;
	text-underline-position: under;
	text-decoration-style: wavy;
}

.exit {
	z-index: 100;
	position: fixed;
	top: 50%;
	right: 2%;
	width: 50px;
	height: 50px;
}

/*mobile*/

@media only screen and (max-width: 600px) {
	.main {
		float: none;
		display: block;
		width: 100%;
	}

	.left, 
	.right {
		width: 100%;
	}
} 
