body {
    margin: 0;
    font-family: 'Fuzzy Bubbles', sans-serif;
    background-color: #0066ff;
}

.portfolio-layout {
    display: flex;
    padding: 30px;
}

.portfolio-menu {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    padding: 30px;
    cursor: pointer;
}

    .icon-btn img {
        width: 120px; /* 控制图标大小 */
        height: auto;
    }

        .icon-btn img:hover {
            transform: scale(1.1);
            transition: 0.2s;
        }

.portfolio-frame {
    position: relative;
    background-image: url("images/frame.png"); /* 你画的图 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 115px 170px 170px 170px; /* 这个值根据你的框空心部分大小来微调内边距 */
    width: 1200px; /* 或其他合适大小 */
    height: 690px; /* 或根据图大小适配 */
    margin: auto;
    box-sizing: border-box;
    color: #0066ff !important;
}

    .portfolio-section:not(.hidden) {
        display: block;
    }

.project-item {
    display: inline-block;
    width: 200px;
    margin: 30px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .project-item img {
        width: 100%;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }
        .project-item img:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        }

.hidden {
    display: none;
}

.scrollable-content {
    max-height: 470px; /* 根据你的框尺寸调整 */
    overflow-y: auto;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
}

/* 图片整体区域 */
.project-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
}

    /* 单张图片样式 */
    .project-images img {
        max-width: 90%;
        height: auto;
        border-radius: 10px;
        box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
    }

        /* 鼠标悬停时轻微放大 */
        .project-images img:hover {
            transform: scale(1.05);
        }

#back-home-btn {
    position: fixed;
    bottom: 30px;
    left: 50px;
    z-index: 999;
}

    #back-home-btn img {
        width: 200px; /* 或你喜欢的大小 */
        height: auto;
        transition: transform 0.3s ease;
    }

        #back-home-btn img:hover {
            transform: scale(1.1); /* 鼠标悬停轻微放大 */
        }






    /* 鼠标悬停时滚动条滑块样式 */
    .scrollable-content::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(#458fff, #0055cc);
    }
