* {
    margin: 0;
    padding: 0;
}

html{
    font-size: 16px;
    /* overflow-x: hidden; */
    min-width: 1500px;
    width: 100%;
}

.mobile-container{
    display: none;
}

ul li{
    list-style: none;
}

ul li a{
    text-decoration: none;
    color: #414141;
}

.menu-logo span{
    display: none;
}

.main{
    max-width: 1920px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    /* margin-top: 70px; */
}

.clear{
    clear: both;
}

/* header */
header{
    width: 100%;
    min-width: 1500px;
    height: 70px;
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 2;
}
.logo{
    width: 45%;
    height: 100%;
    background: url(../img/logo.png) no-repeat center;
    float: left;
    cursor: pointer;
}
.menu{
    width: 55%;
    height: 100%;
    float: right;
    text-align: center;
    position: relative;
}
.menu ul{
    width: 100%;
    position: absolute;
    left: 35%;
    top: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}
.menu ul li {
    display: inline-block;
    margin: 0 1rem;
    cursor: pointer;
}
.menu ul li a{
    padding: 22px 20px;
    font-size: 1rem;
    color: #ffffff;
}
.menu ul li a.active {
    border-bottom: 3px solid #ffffff;
}

/* footer */
footer{
    background: #222222;
    color: #fff;
    height: 20rem;
}
.container{
    width: 80%;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.container ul{
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}
.container ul li a{
    text-decoration: none;
    color: #fff;
}
.container ul li{
    margin: 1rem 0;
}

.copyright{
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: #1c1c1c;
    text-align: center;
}
.copyright p{
    color: #717171;
    font-size: 12px;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    html{
        font-size: 13px;
        min-width: 100%;
    }
    .container{
        width: 100%;
    }
    .main{
        margin-top: 60px;
    }
    .copyright .container{
        display: none;
    }
    .mobile-container{
        display: block;
    }
    
    /* header */
    header{
        width: 100%;
        min-width: 100%;
        height: 60px;
        position: fixed;
        top: 0;
        z-index: 2;
        line-height: 60px;
        background: rgba(0,0,0,0.5);
    }
    .logo{
        width: 60%;
        background-size: 100%;
        margin-left: 5px;
    }
    .menu-logo{
        width: 20%;
        height: 100%;
        float: right;
        text-align: center;
        background: url(../img/menu.png) no-repeat center;
        background-size: 50%;
    }
    .menu{
        width: 100%;
        height: auto;
        text-align: center;
        background: rgba(0,0,0,0.5);
        float: none;
        position: absolute;
        top: 60px;
        display: none;
        line-height: 1.5rem;
    }
    .menu ul{
        width: 100%;
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        -webkit-transform: none;
    }
    .menu ul li {
        display: block;
        margin: 0 1rem;
        padding: 0.6rem 0;
        cursor: pointer;
    }
    .menu ul li a{
        padding: 0.6rem 0;
        color: #ffffff;
        font-size: 1.2rem;
    }
    .menu ul li a.active{
        font-weight: bold;
        color: #66a5ef;;
        /* border-bottom: none; */
        background: none;
    }
    /* footer */
    .copyright{
        width: 100%;
        height: 4rem;
        line-height: 2;
        background: #1c1c1c;
        padding: 1rem 0;
    }

}