*{
    margin:auto;
    padding:0;
    box-sizing: border-box;
}
.nav {
    width: 100%;
    margin: 0;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    z-index: 100;
    padding-left: 20px;
    display: flex;
    justify-content:space-between;
    align-items: center;
}
.nav ul {
    width: 40%;
    display: flex;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
}
.nav ul li {
    display: flex;
    width: 100%;
    float: none;
    line-height: 60px;
    min-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav ul li:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.nav ul li a {
    text-decoration: none;
    color: aliceblue;
    flex-shrink: 0;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(s/all2.0.jpg);
    background-attachment: fixed;
    background-size: 51.4%;
    background-position: center;
    background-repeat: repeat;
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 100vh;
    padding-bottom: 120px;
}
.logo,
.logo2
{
    margin-top:60px ;
    width: 1000px;
    height: 150px;
    text-align: center;
    background-color:rgba(0,0,0,0.1);   
    margin-bottom: 0;
}
.logo img,
.logo2 img
{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo2{
    background-color:rgba(0, 0, 0, 0.4);
    width: 900px;
    margin-top: 200px;
}
.main{
    width:1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color:rgba(0, 0, 0, 0.4);
    position: relative;
}


.footer{
    width:100%;
    height:60px;
    line-height: 60px;
    background-color: rgba(40, 41, 35, 0.204);
    text-align: center;
    clear: both;
    position: absolute;
    bottom: 0;
}/*底部*/


.taici{
    width: 1000px;
    margin: 50px auto;
    background-color: azure;
    padding: 20px;
}
.taici1{
    width: 900px;
    text-align: center;
    background-color: rgba(40, 41, 35, 0.114);
}
.taici1 p{
    font-size: 20px;
    
}
.card {
    position: relative;
    width: 240px;
    height: 360px;
    margin: 16px;
    background-color: #657a89;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.card .renwu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*大图 */
.card .renwu {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    transition: 0.5s;
}
/* 鼠标移入变小图 */
.card:hover .renwu {
    top: 24px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.8);
}
.card .renwu::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, #222);
}

.card h1 {
    position: absolute;
    font-size: 22px;
    top: 304px;
    transition: 0.5s;
}

.card:hover h1 {
    top: 124px
}

.card h2 {
    margin-top: 158px;
    width: 80%;
    border-bottom: 1px solid rgba(245, 255, 255, 0.3);
    font-size: 14px;
    text-align: center;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

.card p {
    width: 90%;
    text-indent: 24px;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 24px;
}

.card a {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 6px 24px;
    border-radius: 6px;
}

.kcard {
    width: 1300px;
    height: auto;
    margin-top: 140px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    color: white;
    overflow: hidden;
    
}
.kcard img {
    width: 36%;
    height: auto;
    margin: 30px;
    margin-left: 40px;
    object-fit: contain;
    overflow: hidden;
}
.kcard .kw {
    width: 50%;
    padding: 20px;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
}
.kw h3 {
        text-align: center;
        margin: 0;
}
.kw hr {
        margin-top: 10px;
        margin-bottom: 10px;
}
.kw p {
    margin-top: 50px;
    column-count: 2;
    column-gap: 20px;
    animation: scrollEffect 5s ease-in-out forwards;
    transform-origin: left center;
}
@keyframes scrollEffect {
    0% {
        transform: perspective(800px) rotateY(-90deg);
        opacity: 0;
    }
    100% {
        transform: perspective(800px) rotateY(0deg);
        opacity: 1;
    }
}
