body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background: #35424a;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

logo {
    max-width: 150px; /* Adjust the size as needed */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Center the logo */
    margin: 40px auto 20px; /* Add 40px space above the logo, center it, and add 20px space below */
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
}

main {
    padding: 20px;
}

section {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 10px 0;
    background: #35424a;
    color: #ffffff;
    position: relative;
    bottom: 0;
    width: 100%;
}

.image-container {
    position: relative;
    display: inline-block;
}


.clickable-area {
    
    position: absolute;
    /* 自定义区域的位置 */
    left: 190px;  /* 距离左边的距离 */
    top: 185px;  /* 距离顶部的距离 */
    
    /* 自定义区域的大小 */
    width: 298px;  /* 区域宽度 */
    height: 480px; /* 区域高度 */
    
    /* 添加触摸设备支持 */
    touch-action: manipulation; /* 优化触摸操作 */
    -webkit-tap-highlight-color: transparent; /* 去除点击高亮 */
    
    cursor: pointer;
    z-index: 1;

} 

#popup-image {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90vh;
    z-index: 1000;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.video-trigger-area {
    position: absolute;
    left: 547px;    /* 调整位置 */
    top: 185px;     /* 调整位置 */
    width: 298px;   /* 响应区域宽度 */
    height: 480px;  /* 响应区域高度 */
    cursor: pointer;
    z-index: 2;

    /* 调试用的边框样式 */
    /*border: 2px solid red; */    /* 红色边框 */
    /*background: rgba(255, 0, 0, 0.2); */ /* 半透明红色背景 */
}

#videoPlayer {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90vh;
    z-index: 1000;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}