[data-theme='light'] {
    color-scheme: light only;
}
[data-theme='dark'] {
    color-scheme: dark only;
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
    color-scheme: light dark;
    scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-position: center;
    min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slider-container {
	width: 100%;
	width: 100%;
	max-width: 1200px;
	height: 100vh;
	position: relative;
	overflow: hidden;
	box-shadow: 1em 0 1em light-dark(#999999,#111111), -1em 0 1rem light-dark(#999999,#111111);
}

/*#F75000*/

.now-showing {
	position: absolute;
	top: 20px;
	left: 20px;
	color: #f26422;
	font-size: 20px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 10;
}

.now-showing::before {
	content: "";
	width: 6px;
	height: 6px;
	font-size: 20px;
	background: #f26422;
	border-radius: 50%;
}

.accordion-slider {
	display: flex;
	height: 100%;
	position: relative;
}

.slide {
	flex: 1;
	position: relative;
	cursor: pointer;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
	filter: grayscale(1);
}

.slide:hover {
	filter: grayscale(0);
}

.slide.active {
	flex: 2.5;
	filter: grayscale(0);
}

.slide::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.8) 80%);
	transition: background 0.5s ease;
}

.slide.active::before {
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.9) 85%);/* 点击展开后，背景进一步深化 */
    transition: background 0.5s ease;
}

.slide-content {
	position: absolute;
	bottom: 30px;
	left: 30px;
	right: 30px;
	color: white;
	z-index: 2;
}

.slide.active .slide-content {
	bottom: 80px;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.school {
	font-size: 64px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1;
	position: absolute;
	bottom: 30px;
	left: 30px;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .school {
	bottom: auto;
	top: -50px;
	font-size: 48px;
	left: 0;
}

.period {
	font-size: 16px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 5px;
	transform: rotate(-90deg);
	transform-origin: left bottom;
	position: absolute;
	bottom: 100px;
	left: 30px;
	white-space: nowrap;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .period {
	transform: rotate(0deg);
	position: static;
	transform-origin: unset;
	margin-top: 5px;
}

.subject {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 8px;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	transition-delay: 0s;
}

.slide.active .subject {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.3s;
}

.degree {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 20px;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	transition-delay: 0s;
}

.slide.active .degree {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.4s;
}

.detail {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	transition-delay: 0s;
}

.slide.active .detail {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.5s;
}

.spec-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 6px;
	font-size: 14px;
	opacity: 0;
	transform: translateX(-20px);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .spec-row {
	opacity: 1;
	transform: translateX(0);
}

.slide.active .spec-row:nth-child(1) {
	transition-delay: 0.6s;
}
.slide.active .spec-row:nth-child(2) {
	transition-delay: 0.65s;
}
.slide.active .spec-row:nth-child(3) {
	transition-delay: 0.7s;
}
.slide.active .spec-row:nth-child(4) {
	transition-delay: 0.75s;
}

.spec-label {
	color: rgba(255, 255, 255, 0.7);
}

.spec-value {
	color: white;
	font-weight: 600;
}

.skill {
	display: flex;
	gap: 12px;
	margin-top: 15px;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	transition-delay: 0s;
}

.slide.active .skill {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.8s;
}

.badge {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	background: rgba(25, 255, 255, 0.1);
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .badge {
	opacity: 1;
	transform: scale(1);
}

/* 调整展开后显示速度,间隔0.05s*/
.slide.active .badge:nth-child(1) {
	transition-delay: 0.85s;
}
.slide.active .badge:nth-child(2) {
	transition-delay: 0.9s;
}
.slide.active .badge:nth-child(3) {
	transition-delay: 0.95s;
}

.badge-icon {
	width: 8px;
	height: 8px;
	background: #f26422;
	border-radius: 50%;
}

/* 代码颜色*/
.color-python{
    background: #3b73a1;
}

.color-java{
    background: #e02629;
}

.color-sql{
    background: #bcd638;
}

.color-linux{
    background: #ffb508;
}

.color-assembly{
    background: #e8bf89;
}

.color-html{
    background: #ed652f;
}

.color-css{
    background: #2aa5de;
}

.color-js{
    background: #f7df25;
}

.color-php{
    background: #7b7fb5;
}

.color-sql{
    background: #bcd638;
}

.color-php{
    background: #7b7fb5;
}

.color-cpp{
    background: #6a9dd4;
}

.color-wireshark{
    background: #5fc7ed;
}

.color-ids{
    background: #37944e;
}



.add-button {
	position: absolute;
	bottom: 30px;
	right: 30px;
	width: 32px;
	height: 32px;
	background: transparent;
	border: 2px solid #f26422;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.4s ease;
	z-index: 3;
}

.add-button::before,
.add-button::after {
	content: "";
	position: absolute;
	background: #f26422;
	transition: all 0.4s ease;
}

.add-button::before {
	width: 12px;
	height: 2px;
}

.add-button::after {
	width: 2px;
	height: 12px;
	transform: rotate(0deg);
}

.slide.active .add-button::before {
	transform: rotate(0deg);
}

.slide.active .add-button::after {
	opacity: 0;
	transform: scale(0);
}

.navigation-arrows {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 50%;
	color: white;
	cursor: pointer;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 4;
	backdrop-filter: blur(10px);
}

.nav-prev {
	left: 20px;
}

.nav-next {
	right: 20px;
}

.navigation-arrows:hover {
	background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
	.accordion-slider {
		flex-direction: column;
	}

	.slide {
		flex: 1;
		min-height: 80px;
	}

	.slide.active {
		flex: 2;
	}

	.school {
		font-size: 32px;
		transition: all 0.5s ease;
	}

	.period {
		transform: none;
		position: static;
		transition: all 0.5s ease;
	}
}


/* 学校校徽 */
.school-logo {
    width: 200px;
    height: 200px;
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translateX(-50%) translateY(-120%);
    transition: all 0.8s ease;
    filter: grayscale(0);
}

/* 展开状态下的学校 logo */
.slide.active .school-logo {
    width: 250px;  /* 扩大的大小 */
    height: 250px; /* 扩大的大小 */
}



/* debug */
/**{
    border: 1px solid red;
}*/