body {
    font-family: Tahoma, Helvetica, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
}

.header {
    width: 100%;
    background-color: #638331;
}

.headerlist {
    max-width: 1410px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 10px;
}

.headerlist .headerlogo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    height: 100%;
}

.headerlogo a {
    display: block;
    height: 100%;
}

.headerlogo img {
    display: block;
    width: 100px;
    max-width: 100%;
    height: 100%;
}

.H5game {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .6875rem;
    line-height: normal;
    padding: .25rem;
    color: #fff;
}

.search {

    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    width: 300px;
    background: #d3dcc4;
    border-radius: .3125rem;
    box-sizing: border-box;
    height: 40px;
    display: flex;
    align-items: center;
}

.search input {
    border: 0;
    width: calc(100% - 40px);
    outline: 0;
    background: 0;
    padding-left: 5px;
}

.search button {
    background: 0;
    border: 0;
    color: #000;
    padding: 6px 0;
    width: 32px;
    border-radius: 0;
    margin-left: auto;
    align-items: center;
    display: flex;
    justify-content: center;
    padding-right: 10px;
}

.menulist {
    background-color: #4e3521;
    width: 100%;
}

.NavMenu {
    display: flex;
    align-items: center;
    max-width: 1410px;
    margin: 0 auto;
}

.NavMenu li:hover a {
    color: #ecd901 !important;
}

li,
a {
    list-style: none;
    text-decoration: none;
}

.NavMenu li {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 .75rem;
}

.NavMenu li a {
    color: #fff;
    display: flex;
    align-items: center;
}

.H5game {
    display: block;
}

.search {
    display: flex;
}

.searchicon {
    display: none;
}

.caidan {
    display: none;
}

.mobailsearch {
    display: none;
}

@media (max-width:768px) {
    .NavMenu {
        display: none;
    }

    .H5game {
        display: none;
    }

    .search {
        display: none;
    }

    .mobailsearch {
        background-color: #d3dcc4;
        background-image: linear-gradient(to bottom, #d3dcc4, #fff);
        padding: 10px;
        box-sizing: border-box;
        display: none;
    }

    .mobail {
        display: flex;
        max-width: 500px;
        margin: 0 auto;
        overflow: hidden;
        border: solid 2px #1d7fc7;
        border-radius: .3125rem;
    }

    .mobail input {
        font-size: 16px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #f7f7f7;
        height: calc(1.5em + 1rem + 4px);
        padding: .5rem 1rem;

        display: block;
        width: 100%;
        color: #495057;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    }

    .mobail button {
        color: #fff;
        background: #1d7fc7;
        border: none;
        outline: none;
        width: 100px;
    }

    .searchicon {
        display: block;
    }

    .caidan {
        display: block;
    }

    .lefticon {
        display: flex;
        align-items: center;
    }

    .lefticon .searchicon {
        margin-right: 10px;
    }
}

/* 内部样式，只影响shadow DOM内的元素 */
footer {
    background-color: #F07395;
    color: #000;
    padding: 20px;
    text-align: center;
}
a{
    color:#fff;
    list-style:none;
    text-decoration:none;
    margin:0 10px
}