html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow-y: hidden;
    background: #f1f6fd;
    color: #474157;
    height: calc(100vh - 61px);
}

#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    #mainbody > .container > .text-center {


        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {


        font-size: 50px;
        margin-bottom: 20px;
    }
}

.footer {
    background-color: #222222;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
}

/* ERP customer portal homepage */
#mainbody {
    min-height: calc(100vh - 61px);
    height: auto;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 54px 54px,
        linear-gradient(0deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 54px 54px,
        linear-gradient(135deg, #06142a 0%, #07375b 58%, #f3f7fb 58%, #f3f7fb 100%);
}

#mainbody > .container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 56px;
}

#mainbody > .container > .text-center {
    min-height: calc(100vh - 61px);
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 78px 0 72px;
    text-align: left;
}

#mainbody .home-logo {
    width: 62px;
    height: 62px;
    margin-bottom: 34px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

#mainbody .home-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #45dafd;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 5px;
}

#mainbody > .container > .text-center h1 {
    max-width: 640px;
    margin: 0;
    color: #fff;
    font-size: 56px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

#mainbody > .container > .text-center p {
    max-width: 570px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.8;
}

#mainbody .home-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
}

#mainbody > .container > .text-center .home-btn {
    min-width: 138px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 24px;
    border-radius: 6px;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 700;
}

#mainbody > .container > .text-center .home-btn.primary {
    color: #fff;
    background: linear-gradient(90deg, #0875dc, #0aa7cf);
    box-shadow: 0 16px 32px rgba(4, 104, 184, .28);
}

#mainbody > .container > .text-center .home-btn.secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .08);
}

#mainbody::after {
    content: "";
    position: absolute;
    right: 8%;
    top: 24%;
    width: 430px;
    height: 310px;
    border-radius: 14px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(69, 218, 253, .8), rgba(33, 196, 154, .58)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 28px 60px rgba(13, 39, 67, .2);
    opacity: .94;
}

#mainbody::before {
    content: "订单  物流  商品";
    position: absolute;
    right: 12%;
    top: 34%;
    z-index: 1;
    width: 310px;
    padding: 92px 28px 28px;
    color: #083d76;
    font-size: 24px;
    font-weight: 700;
    line-height: 2.4;
    background:
        linear-gradient(90deg, #0aa7cf 0 10px, transparent 10px 22px, #21c49a 22px 32px, transparent 32px 44px, #ff9d16 44px 54px, transparent 54px),
        linear-gradient(#eef7ff 0 54px, transparent 54px),
        repeating-linear-gradient(180deg, transparent 0 58px, #e5edf6 58px 68px, transparent 68px 82px);
}

.footer {
    background: #06142a;
}

@media (max-width: 980px) {
    #mainbody {
        background: linear-gradient(180deg, #06142a 0%, #07375b 76%, #f3f7fb 76%, #f3f7fb 100%);
    }

    #mainbody > .container {
        padding: 0 24px;
    }

    #mainbody::before,
    #mainbody::after {
        display: none;
    }

    #mainbody > .container > .text-center h1 {
        font-size: 42px;
    }
}

@media (max-width: 640px) {
    #mainbody > .container > .text-center {
        min-height: calc(100vh - 90px);
        padding: 54px 0;
    }

    #mainbody > .container > .text-center h1 {
        font-size: 34px;
    }

    #mainbody > .container > .text-center p {
        font-size: 16px;
    }

    #mainbody .home-actions {
        width: 100%;
        flex-direction: column;
    }

    #mainbody > .container > .text-center .home-btn {
        width: 100%;
    }
}
