* {
	/* margin: 20; */
	padding: 0;
	box-sizing: border-box;
	cursor: url('../../assets/meta/cursor.png') 16 16, auto;
}

img {
	max-width: 100%;
	max-height: 100%;
}

html {
	scroll-behavior: smooth;
}

@font-face {
    font-family: 'Planar';
    src: url('../../assets/fonts/GT-Planar-VF.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
	margin: 20px;
	font-family:  "Planar", sans-serif;
	font-weight: 300;
    font-size: 20pt;
    line-height: 1.3em;
}

p{
	font-size: 10pt;
    line-height: 1.3em;
}

h1{
	font-size: 20pt;
    line-height: 1.3em;
	color: black;
	font-weight: 450;
} 

h1:hover{
	font-size: 40pt;
    line-height: 1.3em;
	color: blue;
	transition: 0.2s ease-in-out;
	cursor: url('../../assets/meta/cursor_hover.png') 16 16, auto;
}

h2{
	font-size: 20pt;
    line-height: 1.3em;
	color: black;
	font-weight: 300;
}


a{
	color: black;
	text-decoration: none;
    font-weight: 300;
	transition: 0.2s ease-in-out;
}

a:hover{
	color: blue;
	font-weight: 450;
	cursor: url('../../assets/meta/cursor_hover.png') 16 16, auto;
}


/* Links */
.nav-link {
    position: absolute;
    top: 20px;
    left: 20px; 
    width: 250px;
	/* width: 500px; */
	height: 200px;
    z-index: 1000;
} 
  
.title img {
  width: 250px;
	/* width: 500px; */
	height: auto;
	top: 5px;
	position: absolute;
	display: block;
	transition: .2s ease-in-out;
	/* backdrop-filter: blur(12px); */
}

.title .hover {
  opacity: 0;
}

.title:hover .hover {
  opacity: 1;
  cursor: url('../../assets/meta/cursor_hover.png') 16 16, auto;
}

.title:hover .defalt {
  opacity: 0;
}



/* main */

.text-wrapper {
	top: 20px;
	margin-left: 17%;
    text-align: left;
	position: absolute;
	z-index: 100;
}

.description {
	top: 20px;
	margin-left: 60%;
	width: 35%;
    text-align: left;
	position: absolute;
	z-index: 100;
}

.info,
#title {
    display: block;
    margin: 0.4em 0;
}


#detail_container{
	width: 94%;
	margin: 9em auto 0;
	display: block;
    z-index: 0;
}

.images{
    width: 100%;
    height: auto;
    position: relative;
    margin: 0 10px 10px 0;
    object-fit: contain;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.images.visible {
	opacity: 1;
}

.myVideo{
	width: 100%;
	margin-bottom: 10px;
	height: auto;
}


.text-footer {
	color: rgba(0, 0, 0, 0.5);
	margin-left: 3%;
	top: -10px;
    text-align: left;
	position: relative;
	z-index: 100;
}


#top-button {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	top: -20px;
	width: 100px;
	height: 83px; 
	/* cursor: pointer; */
	z-index: 1000;
	display: inline-block;
}
  
#top-button img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100px;
	height: auto;
	transition: 0.2s ease-in-out;
}
  
#top-button .png-hover {
	opacity: 0;
}
  
#top-button:hover .png-hover {
	opacity: 1;
	cursor: url('../../assets/meta/cursor_hover.png') 16 16, auto;
}
  
#top-button:hover .png-default {
	opacity: 0;
}
  
#top-button .button-text {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

/* 响应式布局 - 手机端 */
@media (max-width: 768px) {
	body {
		margin: 20px;
	}

	/* 标题变成全屏宽 */
	.nav-link {
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		height: auto;
		margin-bottom: 20px;
	}

	.title {
		position: relative;
		top: -45px;
		width: 100%;
	}

	.title a {
		display: block;
		position: relative;
		width: 100%;
	}

	.title .defalt {
		position: static;
		width: 100%;
		height: auto;
		display: block;
	}

	.title .hover {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		display: block;
		object-fit: contain;
		object-position: left top;
	}

	/* 项目信息移到标题下方 */
	.text-wrapper {
		position: relative;
		top: -20px;
		margin-left: 0;
		margin-bottom: 20px;
	}

	/* 描述文字先隐藏，稍后移到底部 */
	.description {
		position: relative;
		top: auto;
		margin-left: 0;
		width: 100%;
		order: 10;
	}

	/* 内容区域 */
	#detail_container {
		width: 100%;
		margin: 0 auto 0;
	}

	/* 底部信息 */
	.text-footer {
		margin-left: 0;
		margin-top: 20px;
	}

	/* 使用 flexbox 重新排序 */
	body {
		display: flex;
		flex-direction: column;
	}

	.nav-link {
		order: 1;
	}

	.text-wrapper {
		order: 2;
	}

	#detail_container {
		order: 3;
	}

	.description {
		order: 4;
		margin-top: 20px;
	}

	.text-footer {
		order: 5;
		margin-top: 20px;
		margin-bottom: 60px;
	}

	#top-button {
		order: 6;
	}
}

