﻿.flex {
    display: flex;
}

.flex-item {
    align-items: center;
}

.flex-center {
    justify-content: center;
}

.flex-between {
    justify-content: space-between;
}

body {
    height: 100%;
    overflow: hidden;
}

.header {
    width: 100%;
    height: 120px;
    padding: 0 120px;
    box-sizing: border-box;
    background: #7818d1;
    -webkit-box-shadow: 0 3px 27px 0 rgb(74 0 141 / 35%);
    box-shadow: 0 3px 27px 0 rgb(74 0 141 / 35%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
}

.title {
    color: #fff;
    font-size: 30px;
    margin-left: 10px;
    font-weight: 700;
}

.lianxi {
    color: #fff;
    font-size: 20px;
}

.icon {
    height: 30px;
    height: 30px;
    vertical-align: middle;
    margin: 0 10px;
}

.main {
    position: absolute;
    top: 120px;
    left: 0;
    height: calc(100% - 120px);
    width: 100%;
    background: url('img/bg.png') no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
}

@media screen and (min-width:680px) {
    .main {
        padding: 50px 100px;
    }
}

.content {
    display: flex;
}

.content_left {
    width: 50%;
    display: flex;
    justify-content: center;
}

.content_right {
    width: 50%;
    text-align: center;
}

.left-img img {
    width: 489px;
    height: 55px;
}

.first img {
    width: 556px;
    height: 180px;
}

.second {
    margin-top: 40px;
}

.second img {
    width: 391px;
    height: 44px;
}

.three img {
    width: 556px;
    height: 180px;
}

.four img {
    width: 209px;
    height: 56px;
}

.five img {
    width: 209px;
    height: 56px;
}

.four {
    margin-right: 40px;
}

.four-item {
    margin-top: 30px;
}

/* ????????? */

@media screen and (min-width:760px) {
    #mobile, .anzhuang {
        display: none;
    }
}

#gallery {
    width: 800px;
    position: fixed;
    left: 30px;
    top: 150px;
    overflow: hidden;
}

.swiper-container .swiper-slide-prev, .swiper-container .swiper-slide-next {
    margin-top: 60px;
    opacity: 0.3;
}

.swiper-container .swiper-slide-prev img {
    width: 249px;
    height: 539px;
}

.swiper-container .swiper-slide-active img {
    width: 249px;
    height: 539px;
}

.swiper-container .swiper-slide-next img {
    width: 249px;
    height: 539px;
}

.swiper-slide img {
    width: 249px;
    height: 539px;
}

.swiper-wrapper {
    display: flex;
}

@media screen and (max-width:580px) {
    .header {
        height: 50px;
        padding: 0 20px;
        display: flex;
        align-items: center;
    }
    .header-logo {
        display: flex;
        align-items: center;
    }
    .logo {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .title {
        color: #fff;
        font-size: 16px;
        margin-left: 10px;
    }
    .lianxi {
        font-size: 12px;
        color: #eee;
    }
    .icon {
        height: 22px;
        height: 22px;
        vertical-align: middle;
        margin: 0 5px;
    }
    .main {
        top: 50px;
        height: calc(100% - 50px);
        background: url('img/mbg.png') no-repeat;
        background-size: 100% 100%;
    }
    .content_left, .second, .four-item, #gallery {
        display: none;
    }
    .content_right {
        width: 100%;
    }
    .first {
        margin-top: 50px;
    }
    .first img {
        width: 275px;
        height: 90px;
    }
    #mobile {
        position: fixed;
        left: 20%;
        /* transform: translateX(-50%); */
        top: 220px;
        display: flex;
        justify-content: center;
    }
    #mobile .swiper-slide-active {
        width: 200px!important;
    }
    #mobile .swiper-slide-prev img {
        width: 249px;
        height: 317px;
    }
    #mobile.swiper-slide-active img {
        width: 249px;
        height: 317px;
    }
    #mobile .swiper-slide-next img {
        width: 249px;
        height: 317px;
    }
    #mobile .swiper-slide img {
        width: 239px;
        height: 317px;
    }
    .anzhuang {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: 25px;
    }
    .jiaochen {
        text-align: center;
        color: #00bfff;
        margin-top: 15px;
    }
    .anzhuang img {
        width: 229px;
        height: 34px;
    }
}