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

/*插入背景*/
#首页展示图{
    height: 100%;
    width: 100%;
    position: absolute; /* 绝对定位 */
    top: 0; /* 距离顶部0 */
    left: 50%; /* 距离左侧50% */
    transform: translate(-50%, 0); /* 通过偏移实现水平居中 */
}
#首页展示图 .图的11{
    color: rgb(254, 254, 254);
    text-align: center;
    padding-top: 150px;
    font-size: 20px;
}
.首页11按钮 {
    border-radius: 10%; /* 设置为圆形 */
    background: transparent; /* 按钮背景透明 */
border: none; /* 边框透明 */
outline: none; /* 点击后无边框 */
cursor: pointer; /* 鼠标悬停时显示手型 */
box-shadow: 0 0 20px 5px rgba(81, 59, 193, 0.315); /* 设置按钮阴影 */
}

.首页11按钮  {
    --color: #399ab0;
    font-family: inherit;
    display: inline-block;
    width: 8em;
    height: 2.6em;
    line-height: 2.5em;
    margin: 2px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid var(--color);
    transition: color 0.5s;
    z-index: 1;
    font-size: 17px;
    border-radius: 6px;
    font-weight: 500;
    color: var(--color);
  }
  
  .首页11按钮 :before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--color);
    height: 150px;
    width: 200px;
    border-radius: 50%;
  }
  .首页11按钮 :hover {
    color: #fff;
  }
  .首页11按钮 :before {
    top: 100%;
    left: 100%;
    transition: all 0.7s;
  }
  
  .首页11按钮 :hover:before {
    top: -30px;
    left: -30px;
  }
  
  .首页11按钮 :active:before {
    background: #3a0ca3;
    transition: background 0s;
  }
  
.图片展示区 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.图片卡片 {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.图片卡片:hover {
    transform: translateY(-10px);
}

.图片卡片 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.图片卡片:hover img {
    transform: scale(1.1);
}

.图片说明 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.图片卡片:hover .图片说明 {
    transform: translateY(0);
}

.图片说明 h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.图片说明 p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.8;
}

.zu {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

#home {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
}

#home .图的22 {
    color: rgb(254, 254, 254);
    text-align: center;
    padding-top: 150px;
    font-size: 60px;
}

.包裹的2 {
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(19, 15, 15, 0)), url('https://lcg-1ek.pages.dev/images/bg2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    backdrop-filter: blur(50px);
}
