
 


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #5cbcfc; /* 白色背景，50%透明度 */
    background: linear-gradient(to bottom right, #89CFF0, #E0FFFF);
    min-height: 100vh;
    overflow-x: hidden;
}

#top {
    height:60px;
    background: linear-gradient(90deg, #ff9999, #5cbcfc);
    display: flex;
    align-items: center;
    background-color: #ff6b6b;
    color: white;
    padding: 15px 20px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#exhibit{
    display:flex; 
    flex-wrap: wrap; 
    width: 80%; 
    height:100%; 
    margin-top:0%; 
    /* margin-left:30%;  */
    /* left: 50%;            右移父容器50% */
    transform: translateX(10%); /* 左移自身宽度的一半 */
}

#ele {
       
    height: 40vh; 
    width: 30%; 
    margin-right: 10px; 
    margin-top: 30px;  
    border: 1px solid #dde3e9;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
 #ele .im{
    display: inline-block;
    height: 80%; 
    width: 100%;
  }
  #ele .im img{
    object-fit: cover;
    width:100%; 
    height:100%;
  }
  #ele .di{
    height: 20%; 
    width: 100%;
  }

  #right{
    width: 20%; 
    margin-top: 1%; 
    margin-left: 80%; 
    position:fixed;
  }

#ele:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.im img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.im:hover img {
    transform: scale(1.05);
}




#right {
    width: 25%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}




#right img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

#right img:hover {
    transform: scale(1.05);
} 

/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

