@charset "utf-8";

@import url(reset.css);

body {
    min-width: 360px;
}

.scale8 {
    transform: scale(.8);
}

.scale9 {
    transform: scale(.9);
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    min-height: 80px;
    border-bottom: 1px solid #eee;
    background: #cf0a2c;
    position: fixed;
    top: 0;
    z-index: 999;
}

header h1 {
    width: 120px;
    height: 80px;
    background: url(../img/branch/intro_huawei.png) left center no-repeat;
    background-size: contain;
    margin-left: 20px;
}

header nav {
    display: flex;
    flex-direction: row;
}

header nav button {
    width: 140px;
    height: 80px;
    font-size: 24px;
    color: #fff;
    font-weight: 500;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
}

header nav button:hover {
    background-color: #ee7b00;;
}

header nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    font-size: 24px;
    color: #fff;
    font-weight: 500;
    transition: all .2s;
    border-right: 1px solid #eee;
}

header nav a:last-child {
    border-right: 0;
}

header nav a:hover,
header nav a.current {
    background: #ee7b00;
    font-size: 25px;
    font-weight: 700;;
}

main{
    margin-top: 80px;
    width: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
    min-height: 800px;
    position: relative;
}

#portfolio dl.storageSolution,
#portfolio dl.dataManagement,
#portfolio dl.storagePDT {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    width: 100%;
    gap: 4px;
}

#portfolio dl.storageSolution dt,
#portfolio dl.dataManagement dt,
#portfolio dl.storagePDT dt {
    width: 50px;
    height: auto;
    background: #2298f0;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    writing-mode: vertical-lr;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

#portfolio dl.storageSolution dd{
    width: calc(100% - 50px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 80px;
    border: 1px solid #2298f0;
}

#portfolio dl.storageSolution dd figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#portfolio dl.storageSolution dd figure figcaption,
#portfolio dl.dataManagement dd figure figcaption { 
    font-size: 16px;
    line-height: 22px;
    color: #444;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#portfolio dl.storageSolution dd figure figcaption {
    margin-top: 20px;
    width: 100%;
}

#portfolio dl.dataManagement dd figure figcaption {
    margin-left: 20px;
}

#portfolio dl.dataManagement dd {
    width: calc(25% - 4px);
}

#portfolio dl.dataManagement dd h1 {
    border-top: 1px solid #2298f0;
    border-left: 1px solid #2298f0;
    border-right: 1px solid #2298f0;
    font-size: 18px;
    color: #2298f0;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
}

#portfolio dl.dataManagement dd figure {
    border: 1px dashed #2298f0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#portfolio dl.storagePDT dd {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border: 1px solid #2298f0;
    align-items: flex-start;
}

#portfolio dl.storagePDT dd h1 {
    background: #aed9f9;
    color: #1f487d;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    font-size: 20px;
    height: 54px;
}

#portfolio dl.storagePDT dd div {
    width: calc(50% - 4px);
    padding:10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.w100 {
    width: 100%!important;
    flex-wrap: nowrap!important;
}



#portfolio dl.storagePDT dd div.border {
    border-right: 1px dashed #2298f0
}

#portfolio dl.storagePDT dd div figure {
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#portfolio dl.storagePDT dd div figure.c3 {
    width: 33.33%
}

#portfolio dl.storagePDT dd div figure img {
    object-fit: cover;
}

#portfolio dl.storagePDT dd div figure figcaption {
    font-size: 14px;
    font-weight: 400;
    color: #444;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    word-break: break-all;
}

#product {
    padding: 40px;
}

#product div {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 80px;
}

#product div.row1 dl {
    width: 50%;
}

#product div.row1 dl:first-child {
    padding-left: 16%; 
}

#product div.row1 dl:last-child {
    padding-right: 16%;
}

#product div.row2 dl {
    width: calc(33.33% - 53.33px);
    flex-grow: 0;
}

#product div dl {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

#product dl dt  {
    font-size: 16px;
    font-weight: 500;
    color: #2298f0;
    width: 100%;
}

#product dl dd {
    width: 100%;
}

#product dl dd figure {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
}

#product dl dd figure figcaption {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    color: #444;
    width: 100%;
}

#product dl dd figure img {
    object-fit: cover;
}


#partner {
    background: url(../img/huawei/map.png) center bottom no-repeat;
    background-size: cover;
    width:100%;
    padding: 40px 80px;
}

#partner h1 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1f487d;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
}

#partner h1 span {
    color: #ee7b00;
}

#partner div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

#partner div dl {
    width: calc(20% - 50px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#partner div dl dt {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    font-size: 18px;
    color: #444;
    font-weight: 700;
}

#partner div dl dd {
    padding: 20px 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px 20px; 
    border: 1px solid #a7c0de;
    border-radius: 4px;
    background: rgba(255,255,255,.4);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 16px rgba(31, 72, 125,.25);
}

#partner div dl dd img {
    border-radius:  8px;
    border: 1px solid #a7c0de;
}

@media screen and (max-width:1899px) {

    #portfolio dl.storagePDT {
        flex-direction: column;
    }

    #portfolio dl.storagePDT dt {
        writing-mode: horizontal-tb;
        width: 100%;
        padding: 12px 0;
    }
    

    #product dl dd figure img{
        transform: scale(.7);
        position: relative;
        right: -30%;
    }

    #partner div {
        flex-direction: column;
    }

    #partner div dl {
        width: 100%;
    }
      
}

@media screen and (max-width: 1278px) {

    header nav a {
        width: 240px;
        font-size: 16px;
    }

    header nav button {
        font-size: 16px;
    }

    header nav a:hover,
    header nav a.current,
    header nav button {
        font-size: 18px;;
    }

    #portfolio dl.storageSolution dd {
        flex-wrap: wrap;
    }

    #portfolio dl.dataManagement dd figure {
        flex-direction: column;
    }
}


@media screen and (max-width: 1024px) {

    #product dl dd figure img{ 
        transform: scale(.5);
        right: -50%;
    }

    #product dl dd figure img.scale9 {
        right: 0;
    }

    #product div.row2 {
        flex-wrap: wrap;
    }

    #product div.row2 dl {
        width: calc(50% - 40px);
    }

    #product div.row2 dl:last-child img {
        right: 0;
    }
}

@media screen and (max-width: 884px) {
    header nav a {
        width: 180px;
        font-size: 14px;
    }

    header nav button {
        font-size: 14px;
    }

    header nav a:hover,
    header nav a.current,
    header nav button {
        font-size: 16px;
    }

    #portfolio dl.dataManagement {
        flex-wrap: wrap;
    }

    #portfolio dl.dataManagement dt {
        width: 100%;
        padding: 12px 0;
        writing-mode: horizontal-tb;
    }

    #portfolio dl.dataManagement dd {
        width: calc(50% - 2px);
    }

    #portfolio dl.dataManagement dd figure figcaption {
        margin-bottom: 20px;
    }

    #portfolio dl.storagePDT dd div figure img {
        transform: scale(.7);
    }

    #product div {
        flex-wrap: wrap;
    }  

    #product div dl {
        width: 100%!important;
    }

    #product dl dd figure img {
        right: 0;
        left: 0;
    }

    #product dl dd figure {
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 883px) {
    header {
        flex-wrap: wrap;
    }

    header h1 {
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        margin-bottom: 8px;
        background-position: center center;
    }  

    header nav  {
        width: 100%;
        border-top: 1px solid #fff;
    }

    header nav a,
    header nav button {
        height: 48px;
        width: 25%;
        padding: 0 5px;
    }

    header nav button {
        border-left: 0;
    }

    main {
        margin-top: 128px;
    }

    #partner {
        padding:40px 20px;
    }

    #partner h1 {
        font-size: 16px;
    }
}

@media screen and (max-width: 555px) {

    header nav a,
    header nav a:hover,
    header nav a.current{
        font-size: 13px;
    }

    #portfolio dl.storageSolution {
        flex-direction: column;
    }

    #portfolio dl.storageSolution dt {
        width: 100%;
        padding: 12px 0;
        writing-mode: horizontal-tb;
    }

    #portfolio dl.storageSolution dd {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    #portfolio dl.storagePDT dd div figure img {
        transform: scale(.4);
    }
}


