/* 公共样式开始 */
/* 清除所有样式 */
*,
body,
div,
dt,
dl,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
button {
    margin: 0;
    padding: 0;
    font-family: Helvetic, "PingFang SC", "Microsoft Yahei", sans-serif;
    box-sizing: border-box;
}

:root {
    /*#009688*/
    --primary-color: #FFFFFF;
    --secondary-color: #333333;
    --advantage-color: #2698D1;
    --title-color: #FF9400;
    --region-bg-color: #FAFAFA;
    --footer-bg-color: #036FB9;
}

a {
    text-decoration: none;
    color: white;
}

.content {
    width: 1200px;
    height: 94%;
    margin: 0 auto;
}

body {
    width: 100%;
}

body::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 10px;
    /*高宽分别对应横竖滚动条的尺寸*/
}

body::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 5px;
    background: var(--advantage-color);
}

body::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    border-radius: 0;
    background: var(--primary-color);
}

.region_title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    letter-spacing: 1px;
}

.region_title h2 {
    color: var(--title-color);
    font-weight: normal;
    font-size: 28px;
}

.region_title p {
    font-weight: bold;
}

.language {
    position: absolute;
    top: 2%;
    right: 2%;
    width: 1.5%;
    cursor: pointer;
    z-index: 999;
}
/* 公共样式结束 */

/* 头部样式开始 */
header {
    width: 100%;
    height: 100vh;
    background: white url('../imgs/head_banner.png') no-repeat fixed center;
    background-size: cover;
}

header .title {
    padding: 10px;
    color: white;
}

header .content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

header .left_phone {
    width: 42%;
    height: 100%;
    display: flex;
    align-items: center;
}

header .left_phone img {
    width: 100%;
}

header .right_contents {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4%;
    color: white;
}

header .right_contents .logo {
    -webkit-animation: show 2s ease-out infinite 2s;
    animation: show 2s ease-out infinite 2s;
}

header .right_contents .title h1 {
    font-size: 35px;
    font-weight: lighter;
    letter-spacing: 2px;
}

header .right_contents .qrcode_region {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 5%;
    align-items: center;
}

header .right_contents .qrcode_region .qrcode {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 28%;
}

header .right_contents .qrcode_title {
    -webkit-animation: zoom 3s ease-out infinite 2s;
    animation: zoom 3s ease-out infinite 2s;
}

header .right_contents .qrcode_region .btn_download {
    background-color: white;
    border-radius: 10px;
    color: #F9502E;
    font-weight: bold;
    padding: 2% 4%;
    justify-content: space-around;
    display: flex;
    font-size: 20px;
    align-items: center;
    cursor: pointer;
    border: none;
    -webkit-animation: zoom 3s ease-out infinite 2s;
    animation: zoom 3s ease-out infinite 2s;
}

header .right_contents .qrcode_region .btn_download img {
    height: 100%;
}

header .right_contents .qrcode_region .qrcode_title {
    font-size: 24px;
    letter-spacing: 2px;
}

/* 头部样式结束 */

/* 礼物开始 */
.gifts_region {
    padding: 50px 0;
}

.gifts_region .content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gifts_region .gifts_title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gifts_region .gifts_top img {
    width: 100%;
}

.gifts_region .gifts_bottom {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
}

.gifts_region .gifts_bottom img:first-child,
.gifts_region .gifts_bottom img:last-child {
    width: 25%;
}

.gifts_region .gifts_bottom img:nth-child(2) {
    width: 40%;
}

/* 礼物结束 */

/* 折扣开始 */
.discount_region {
    padding: 50px 0;
    background-color: var(--region-bg-color);
}

.discount_region .content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.discount_region .discount_goods {
    display: flex;
    justify-content: space-between;
}

.discount_region .discount_goods .discount_img {
    width: 100%;
}

.discount_region .discount_goods .discount_goods_left,
.discount_region .discount_goods .discount_goods_right {
    display: flex;
    flex-direction: column;
    width: 48%;
    gap: 20px;
}

.discount_region .discount_goods .goods_items {
    display: flex;
    justify-content: space-between;
}

.discount_region .discount_goods .goods_item {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.discount_region .discount_goods .goods_item img {
    width: 100%;
}

.discount_region .discount_goods .goods_item .goods_name {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    height: 30%;
}

.discount_region .discount_goods .goods_item .original_price {
    color: var(--title-color);
    font-weight: bold;
    font-size: 18px;
}

.discount_region .discount_goods .goods_item .discount_price {
    text-decoration: line-through;
}

/* 折扣结束 */

/* 我们的优势开始 */
.edge_region {
    padding: 50px 0 100px;
}

.edge_region .content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.edge_region .edge_items {
    display: flex;
    gap: 80px;
}

.edge_region .edge_items .edge_item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.edge_region .edge_items .edge_item img {
    width: 70%;
}

.edge_region .edge_items .edge_item_contents {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.edge_region .edge_items .edge_item_title {
    font-size: 20px;
    color: var(--title-color);
}

.edge_region .edge_items .edge_item_content {
    font-weight: bold;
    font-size: 14px;
    line-height: 1.5;
}

/* 我们的优势结束 */

/* 联系我们开始 */
.contact_us_region {
    padding: 50px 0;
    background-color: var(--footer-bg-color);
    color: white;
}

.contact_us_region .content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.contact_us_region .contact_us_title h2 {
    color: white;
}

.contact_us_region .company_info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
}

.contact_us_region .footer_img {
    position: absolute;
    right: 20%;
    bottom: -10%;
    z-index: 999;
    width: 35%;
}

/* 联系我们结束 */

/* 底部开始 */
footer {
    background-color: #3F3E3E;
    padding: 1% 0;
    margin-top: 1px;
}

footer p {
    color: lightgrey;
    text-align: center;
    line-height: 2.5;
}

/* 底部结束 */

/* 侧边栏开始 */
.sidebar {
    position: fixed;
    right: 0;
    bottom: 50%;
    box-shadow: 0 0 4px gainsboro;
    width: 4%;
    background-color: white;
    -webkit-animation: hide 350ms ease-out forwards 1;
    animation: hide 350ms ease-out forwards 1;
    display: none;
}

.sidebar ul {
    display: flex;
    flex-direction: column;
}

.sidebar ul li {
    list-style: none;
    padding: 20% 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.sidebar ul .download {
    border-top: 1px solid gainsboro;
}

.sidebar ul li .download_img,
.sidebar ul li .inquiry_img {
    width: 40%;
}

.sidebar .inquiry_phone {
    position: absolute;
    right: 100%;
    top: 10%;
    width: 200%;
    z-index: 999;
    background: url('../imgs/footer_inquiry.png') no-repeat;
    background-size: cover;
    height: 205%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 50%;
    display: none;
}

.sidebar .inquiry_phone p {
    padding: 8%;
    color: var(--footer-bg-color);
    text-align: center;
}

.sidebar .footer_qrcode {
    position: absolute;
    right: 100%;
    top: 10%;
    display: none;
    width: 200%;
    z-index: 999;
}

.sidebar ul .inquiry:hover .inquiry_phone {
    display: block;
}

.sidebar ul .download:hover .footer_qrcode {
    display: block;
}

.sidebar_visible {
    display: block;
    -webkit-animation: show 1s ease-out forwards 1;
    animation: show 1s ease-out forwards 1;
}

/* 侧边栏结束 */

/* 动画开始 */
@keyframes show {
    0% {
        transform: rotate(0deg);
    }

    25% {
        opacity: .5;
        transform: rotate(-3deg) translateY(-40px);
    }

    75% {
        transform: rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: rotate(0deg);
    }
}

@keyframes hide {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    25% {
        opacity: .5;
        transform: rotate(-3deg) translateY(-40px);
    }

    75% {
        transform: rotate(3deg);
    }

    100% {
        opacity: 0;
        transform: translateY(100px);
    }
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* 动画结束 */