.notebook {
    width: 1200px;
    height: 1000px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 40px;
    background-image: 
        linear-gradient(90deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
        linear-gradient(#eee .1em, transparent .1em);
    background-size: 100% 1.2em;
    
}

.notebook::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: #8B4513;
    border-radius: 10px 0 0 10px;
}

.title {
    text-align: center;
    font-size: 4em;
    margin-bottom: 40px;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-family: 'Kalam','Ma Shan Zheng', cursive;
}

.sticky-notes {
    position: relative;
    height: 500px;
    padding: 20px;
}

.sticky-note {
    width: 250px;
    height: 150px;
    background: #ffd700;
    padding: 20px;
    position: absolute;
    transform: rotate(-5deg);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
    font-family: 'Kalam','Ma Shan Zheng', cursive;
}

.sticky-note:nth-child(1) {
    top: 60px;
    left: 250px;
}

.sticky-note:nth-child(2) {
    background: #98fb98;
    transform: rotate(3deg);
    top: 125px;
    left: 777px;
}

.sticky-note:nth-child(3) {
    background: #87ceeb;
    transform: rotate(-2deg);
    top: 300px;
    left: 550px;
}

.sticky-note:nth-child(4) {
    background: #7ca728;
    transform: rotate(-6deg);
    top: 550px;
    left: 270px;
}

.sticky-note:nth-child(5) {
    background: #cb7a38;
    transform: rotate(5deg);
    top: 280px;
    left: 159px;
}

.sticky-note:nth-child(6) {
    background: #d0369c;
    transform: rotate(10deg);
    top: 600px;
    left: 630px;
}

.sticky-note:nth-child(7) {
    background: #aa53c5;
    transform: rotate(0deg);
    top: 285px;
    left: 485px;
}

.sticky-note:hover {
    transform: scale(1.05) rotate(0);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

.sticky-note h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    text-align: center;
}

.sticky-note p {
    margin: 0;
    font-size: 0.9em;
    text-align: center;
}

.data-tabs {
    position: fixed; /* 改为固定定位，这样滚动页面时标签不会移动 */
    left: 0;
    top: 150px;
    z-index: 10;
}

.tab {
    width: 80px;
    height: 120px;
    background-color: #ffcc99;
    border-radius: 0 10px 10px 0;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    transform-origin: left center;
    text-decoration: none;
    color: #333;
    writing-mode: vertical-rl; /* 垂直文本排列 */
    text-orientation: mixed;
}

.tab::after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 10px;
    width: 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 3px;
}

/* 为当前活动的标签添加样式 */
.tab.active {
    box-shadow: 5px 5px 8px rgba(0,0,0,0.4);
    transform: scale(1.05);
}

/* 标签悬停动画效果 */
.tab:hover {
    transform: scale(1.05);
    box-shadow: 5px 5px 8px rgba(0,0,0,0.4);
}