nav{ background:url(../image/index_08.jpg) no-repeat top right; background-size: cover;}
nav .container{width: 1200px; margin: 0 auto;}
nav .container ul{display: flex; flex-direction: row; justify-content: space-around; align-content: flex-end; align-items: center; text-align: center;}
nav .container ul li{display: inline-block;margin: 10px auto;}

.index_banner{
    height: calc(100vh - 160px) ;
    background-color: #232323;
    background:url(../image/banner_bg.jpg) no-repeat top right;
    background-size: cover;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
}
.index_banner_bg{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    /* background-color: #052e62db; */
    background-color: #254c7cdb;
    z-index: -1;
}

.index_banner .container{
    width: 1260px;
    margin: 0 auto;
}
.index_banner .banner_bottom{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.index_banner .banner_bottom>a{
    transition: all .25s;
}
.index_banner .banner_bottom>a:hover{
    transform: translate(0px, -5px);
}

#hexGrid {
    overflow: hidden;
    width: 900px;
    /* width: 1140px; */
    margin: 0 auto;
    padding: 6% 0;
}
#hexGrid:after {
    content: "";
    display: block;
    clear: both;
}
#hexGrid .hex {
    position: relative;
    list-style-type: none;
    float: left;
    overflow: hidden;
    visibility: hidden;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
    -webkit-transform: rotate(-60deg) skewY(30deg) translatez(-1px);
        -ms-transform: rotate(-60deg) skewY(30deg) translatez(-1px);
            transform: rotate(-60deg) skewY(30deg) translatez(-1px);
}
#hexGrid .hex * {
    position: absolute;
    visibility: visible;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
#hexGrid .hexIn {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate(60deg);
        -ms-transform: skewY(-30deg) rotate(60deg);
            transform: skewY(-30deg) rotate(60deg);
}

/*** HEX CONTENT **********************************************************************/
#hexGrid .hex img {
    left: -100%;
    right: -100%;
    width: auto;
    height: 100%;
    margin: 0 auto;
    transition: all .5s;
}

#hexGrid .hex img:hover,#hexGrid .hex.on img{
    transform: scale(1.2);
}

/*** SPACING AND SIZING *****************************************************************/
@media (min-width:1201px) { /* <- 5-4  hexagons per row */
    #hexGrid .hex {
        width: 19.2%; /* = (100-4) / 5 */
        padding-bottom: 22.170%; /* =  width / sin(60deg) */
    }
    #hexGrid .hex:nth-child(9n+6),
    #hexGrid .hex:nth-child(9n+7),
    #hexGrid .hex:nth-child(9n+8),
    #hexGrid .hex:nth-child(9n+9) {
        margin-top: -4.676%;
        margin-bottom: -4.676%;
        -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg);
            -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg);
                transform: translateX(50%) rotate(-60deg) skewY(30deg);
    }
    #hexGrid .hex:nth-child(9n+6):last-child,
    #hexGrid .hex:nth-child(9n+7):last-child,
    #hexGrid .hex:nth-child(9n+8):last-child,
    #hexGrid .hex:nth-child(9n+9):last-child {
        margin-bottom: 0;
    }
    #hexGrid .hex:nth-child(9n+6) {
        margin-left: 0.5%;
        clear: left;
    }
    #hexGrid .hex:nth-child(9n+10) {
        clear: left;
    }
    #hexGrid .hex:nth-child(9n+2),
    #hexGrid .hex:nth-child(9n+ 7) {
        margin-left: 1%;
        margin-right: 1%;
    }
    #hexGrid .hex:nth-child(9n+3),
    #hexGrid .hex:nth-child(9n+4),
    #hexGrid .hex:nth-child(9n+8) {
        margin-right: 1%;
    }
}
@media (max-width: 1301px) and (min-width:1201px){
    .index_banner{
        height: 800px;
    }
}

@media (max-width: 1400px) and (min-width:901px){
    #hexGrid{
        /* float: left; */
        width: 700px;
        margin: 0;
    }
    .index_banner .container{
        display: flex;
        flex-direction: row;
        /* justify-content: space-between; */
        justify-content: space-around;
    }
    .index_banner .banner_bottom{
        flex-direction: column;
    }
}
