/*定义一个字体*/
@font-face {
    font-family: diy_font;
    src: url('font/font1.woff2') format('woff2');
}
body {
    font-family: diy_font;
}

/*导航*/
nav {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    /*background-color: rgba(255, 255, 255, 0.7);*/
    z-index: 2;
    height: 60px;
    line-height: 60px;
}
nav img {
    max-height: 40px;
}

/*底部*/
.footer {
    width: 60%;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
}
.footer .contact p.email {
    line-height: 2.5rem;
}
.footer .contact p i {
    font-size: 2rem;
    vertical-align: middle;
}
.footer .contact a {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 2px;
}
.footer .contact a svg {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: bottom;
}
.footer .support p {
    line-height: 2em;
}
.footer .support a:hover {
    color: #5B1FFF;
    text-decoration: underline;
}

/*弹窗背景*/
.layui-layer {
    border-radius: 35px;
    background: url('../images/order_bg.png') no-repeat;
    background-size: cover;
}

/*配送协议*/
.content_bg {
    width: 100%;
    background: url('../images/index_bg.jpg') center bottom;
    background-size: cover;
}
.Shipping_Delivery {
    width: 60%;
    margin: 0 auto;
    line-height: 2em;
    font-size: 14px;
    margin-top: 60px;
    padding: 20px 0;
}
.Shipping_Delivery h2 {
    padding-bottom: 20px;
    border-bottom: #ddd 1px solid;
}
.Shipping_Delivery p b {
    display: block;
    margin-top: 10px;
}

/*移动端适配*/
@media screen and (max-width: 1024px) {
    .footer {
        width: 90%;
        display: block;
    }
    .footer .contact{
        margin-bottom: 20px;
    }

    .Shipping_Delivery {
        width: calc(100% - 20px);
        padding: 10px;
    }
    .Shipping_Delivery h2 {
        padding-bottom: 10px;
    }
}