nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}
nav .container {
    display: flex;
    align-items: center;
    height: 8em;
}
nav .container * {
    color: #fff;
}
nav img {
    width: 100%;
}
nav .nav-logo {
    width: 17em;
    margin-right: auto;
}
nav .depth1 {
    display: flex;
    height: 100%;
}
nav .depth1 > li {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
}
nav .depth1 > li > a {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.3em 1.2em;
    margin: 0 1em;
}
nav .depth2 {
    position: absolute;
    top: 100%;
    left: 0%;
    width: 100%;
    height: 0;
    opacity: 0.5;
    transition: 0.4s;
    overflow-y: hidden;
}
nav .depth2 > li {
    display: flex;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
}
nav .depth2 > li > a {
    display: inline-block;
    margin: 0.8em auto;
    padding: 0.2em 0;
    font-size: 1.4rem;
    font-weight: 400;
}
footer {
    overflow-y: hidden;
    background: #292929;
}
footer * {
    color: #777;
    font-size: 1.2rem;
}
footer .container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 2em;
    min-height: 100px;
}
footer .footerSection {
    width: 25%;
    min-width: 260px;
    line-height: 1.6em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
footer .footer-logo {
    width: 154px;
}
footer .footer-logo img {
    width: 100%;
}
footer .copyright {
    height: 30px;
    line-height: 30px;
    background: #333;
    text-align: center;
}

footer .moveTop{
position:fixed;
bottom:110px;
right:30px;
background:#fff;
border:2px solid #ffbc00;
border-radius:5px;
width:40px;
height:40px;
transform:translateY(0);
opacity:0;
transition:0.3s;
cursor:pointer;
display:flex;
justify-content:center;
align-items:center;
}
footer .moveTop.show{
opacity:0.5;
}
footer .moveTop:hover{
box-shadow:0 3px 6px rgba(0,0,0,0.1);
opacity:1;
}
footer .moveTop > div{
color:#ffbc00;
font-size:20px;
transform:rotate(90deg) translateX(-0.2em) scale(1.5, 1);
}

@media (min-width: 801px) {
    nav .depth1 > li:hover > a:not(.loginBtn) {
        color: #ffbc00;
    }
    nav .depth1 > li:nth-child(1):hover .depth2 {
        height: calc(48 * 3px);
        opacity: 1;
    }
    nav .depth1 > li:nth-child(2):hover .depth2 {
        height: calc(48 * 6px);
        opacity: 1;
    }
    nav .depth1 > li:nth-child(3):hover .depth2 {
        height: calc(48 * 5px);
        opacity: 1;
    }
    nav .depth1 > li:nth-child(4):hover .depth2 {
        height: calc(48 * 3px);
        opacity: 1;
    }
    nav .depth2 > li > a:hover {
        border-bottom: 3px solid #ffbc00;
        margin-bottom: calc(0.8em - 3px);
    }
    nav .submenu {
        display: flex;
        border-left: 1px solid #aaa;
    }
    nav .submenu > li > a {
        display: flex;
        padding: 0.2em 0 0.2em 1.2em;
        font-size: 1.4rem;
        opacity: 0.7;
    }
    nav .submenu > li > a:hover {
        opacity: 1;
    }
    nav .submenu > li > a .icon {
        display: flex;
        align-items: center;
        width: 1.7em;
        margin-right: 0.2em;
    }
}
@media (max-width: 800px) {
    nav .container {
        height: 6em;
        text-align: right;
    }
    nav .nav-logo {
        margin: 0 auto;
    }
    nav .depth1 {
        position: fixed;
        flex-direction: column;
        top: 6em;
        right: -100%;
        width: 100vw;
        height: calc(100vh - 6em);
        overflow-y: scroll;
        background: #111;
        transition: 0.4s;
        z-index: 20;
        padding-bottom:100px;
    }
    .menuOpen nav .depth1 {
        right: 0;
    }
    nav .depth1 > li {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 2em 4em;
    }
    nav .depth2 {
        position: relative;
        top: 0;
        height: auto;
    }
    nav .depth2 > li {
        background: none;
    }
    nav .depth1 > li > a {
        font-size: 2.4rem;
        padding: 0.5em;
        margin: 0;
        width: 100%;
        border-top: 1px solid #ffbc00;
    }
    nav .depth2 > li > a {
        font-size: 2rem;
        font-weight: 400;
        padding: 0.6em;
        width: 100%;
        margin: 0;
    }
    nav .depth1 > li > .loginBtn {
        text-align: center;
        margin-bottom: 8em;
    }
    nav .submenu {
        display: none;
    }
    .mob-menu {
        position: fixed;
        top: 1em;
        right: 3em;
        width: 4em;
        height: 4em;
    }
    .hamburger,
    .hamburger::before,
    .hamburger::after {
        position: absolute;
        content: "";
        right: 0;
        width: 120%;
        height: 2px;
        border-radius: 3px;
        background: #ddd;
    }
    .hamburger {
        width: 70%;
        top: calc(50% - 1px);
    }
    .hamburger::before {
        top: -9px;
    }
    .hamburger::after {
        bottom: -9px;
    }
    .menuOpen .hamburger {
        width: 0;
    }
    .menuOpen .hamburger::before {
        width: 4em;
        top: 0;
        transform: rotate(45deg);
    }
    .menuOpen .hamburger::after {
        width: 4em;
        bottom: 0;
        transform: rotate(-45deg);
    }
footer .moveTop{display:none;}
}