﻿.main {
    width: 100%;
    left: 0;
    transition: all 0.5s ease-in-out;
    overflow-x: hidden;
    z-index:10;
}

.main-open {
    left: -350px;
}

.header {
    width: 100%;
    position: absolute;
}
.menus {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: #111;
    opacity:0.5;
    z-index: -1;
    transition: all 0.5s ease-in-out;
}

.menu {
    right: 0px;
    font-size: 2rem;
    color: #fff;
    position: fixed;
    list-style: none;
    padding-top: 5rem;
    margin-top: 5rem;
    right: -420px;
    transition: all 0.5s ease-in-out;
    width:280px;
}
    .menu li {
        margin-bottom: 2rem;
        cursor: pointer;
        /*text-align:center;
        border-bottom:2px solid #fff;*/
    }
        .menu li:hover {
            font-family: 'alibaba-regular';
        }

        .trigger {
            width: 30px;
            height: 30px;
            float: right;
            margin-right: 50px;
            margin-top: 50px;
            position: relative;
            z-index: 8;
        }

.open {
    right: 0;
}

.trigger span {
    display: block;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FFFFFF;
    position: absolute;
    opacity: 1;
    transform: rotate(0,0);
    transition: all 0.1s ease-in-out;
}

    .trigger span:nth-child(1) {
        top: 0px;
    }

    .trigger span:nth-child(2) {
        top: 6px;
    }

    .trigger span:nth-child(3) {
        top: 12px;
    }

.trigger-open span:nth-child(1) {
    transform: rotate(45deg);
    top: 6px;
}

.trigger-open span:nth-child(2) {
    width: 0;
}

.trigger-open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 6px;
}