* {
	/* 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/GTPlanar-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Planar';
    src: url('../../assets/fonts/GTPlanar-Regular.otf') format('opentype');
    font-weight: 400 450;
    font-style: normal;
    font-display: block;
}

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;
}

.project-info {
  display: flex;
  gap: 2em;
  margin: 1em 0;
}
.project-meta {
  flex: 0 0 20%;
}
.project-meta .project-title {
  font-size: 12pt;
  font-weight: 450;
}
.project-desc {
  flex: 1;
}

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: color .4s ease, font-weight .4s ease;
}

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


/* ——— 顶栏：header flex 布局（与主页一致） ——— */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 80px;
	padding: 0 max(20px, calc((100vw - min(1600px, 92vw)) / 2));
	border-radius: 80px;
	display: flex;
	align-items: center;
	gap: 1.5em;
	z-index: 1000;
	background: #ffffff52;
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #eaeaea;
	pointer-events: auto;
}
.site-header .title {
	position: relative;
	width: 200px;
	height: 50px;
	flex-shrink: 0;
}
.site-header .title img {
	width: 200px;
	height: auto;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	transition: opacity .5s ease-in-out;
}
.site-header .title .hover { opacity: 0; }
.site-header .title:hover .hover { opacity: 1; cursor: url('assets/meta/cursor_hover.png') 16 16, auto; }
.site-header .title:hover .defalt { opacity: 0; }
.site-header .nav-links {
	display: flex;
	gap: 3em;
	font-size: 12pt;
	line-height: 1.3em;
	white-space: nowrap;
}
.site-header .nav-links a {
	display: inline-block;
	transition: transform .5s ease, color .5s ease, font-weight .5s ease;
}
.site-header .nav-links a:hover {
	transform: scale(1.12);
}
.site-header .nav-links a.active {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.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: 5em 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) {
	.site-header {
		position: relative;
		flex-direction: column;
		height: auto;
		gap: 0.5em;
		padding: 20px;
		border-bottom: none;
		background: transparent;
	}
	.site-header .title { width: 100%; height: auto; }
	.site-header .title img { position: static; width: 100%; height: auto; }
	.site-header .title .hover {
		position: absolute; top: 0; left: 0;
		width: 100%; height: 100%;
		object-fit: contain; object-position: left top;
	}
	.site-header .nav-links { gap: 1.5em; padding-top: 0; }
	.site-header .header-info { padding-top: 0; }

	#detail_container {
		width: 100%;
		margin: 1em auto 0;
	}
	.project-info {
		flex-direction: column;
		gap: 1em;
	}
}

