/* html, 
body, 
.container, 
.content-wrap {
	overflow: hidden;
	width: 100%;
	height: 100%;
} */

.container {
    background: #373a47;
}

.menu-wrap a {
    color: #b8b7ad;
}

.menu-wrap a:hover,
.menu-wrap a:focus {
    color: #c94e50;
}


/* .content-wrap {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
} */


/* .content { */


/* position: relative; */


/* background: #b4bad2; */


/* background: #fff; */


/* } */

.content::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    content: '';
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    -webkit-transition: opacity 0.4s, -webkit-transform 0s 0.4s;
    transition: opacity 0.4s, transform 0s 0.4s;
    -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}


/* Menu Button */

.menu-button {
    /* position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    margin: 1.2em;
    padding: 0;
    width: 2.8em;
    height: 2.42em;
    border: none;
    text-indent: 2.5em;
    font-size: 1.5em;
    color: transparent;
    background: transparent;
		cursor: pointer; */
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
    margin: 18px;
    padding: 0;
    width: 35px;
    height: 32px;
    border: none;
    text-indent: 2.5em;
    /* font-size: larger; */
    color: transparent;
    background: transparent;
    cursor: pointer;
}

.menu-button::before {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    bottom: 0.5em;
    left: 0.5em;
    background: linear-gradient(#004F96 20%, transparent 20%, transparent 40%, #004F96 40%, #004F96 60%, transparent 60%, transparent 80%, #004F96 80%);
    content: '';
}

.menu-button.fff::before {
    background: linear-gradient(#fff 20%, transparent 20%, transparent 40%, #fff 40%, #fff 60%, transparent 60%, transparent 80%, #fff 80%);
}

.menu-button:hover {
    opacity: 0.6;
}


/* Close Button */

.close-button {
    width: 3em;
    height: 3em;
    position: absolute;
    left: 2em;
    top: 2em;
    overflow: hidden;
    text-indent: 1em;
    font-size: 0.75em;
    border: none;
    background: transparent;
    color: transparent;
    cursor: pointer;
}

.close-button::before,
.close-button::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    background: #bdc3c7;
}

.close-button::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.close-button::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


/* Menu */

.menu-wrap {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: 240px;
    height: 100%;
    /* background: #373a47; */
    /* padding: 2.5em 1.5em 0; */
    /* font-size: 1.15em; */
    -webkit-transform: translate3d(320px, 0, 0);
    transform: translate3d(320px, 0, 0);
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    /* background-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0.8)), color-stop(90%, white)); */
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0.8), white 90%);
    -webkit-box-shadow: 0 0 0 rgba(20, 59, 111, 0);
    box-shadow: 0 0 0 rgba(20, 59, 111, 0);
}

.change {
    width: 100%;
    text-align: right;
}

.change a.icon_change {
    color: #004F96;
    transition: color 0.5s ease, transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-transition: color 0.5s ease, -webkit-transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: color 0.5s ease, -moz-transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -ms-transition: color 0.5s ease, -ms-transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition: color 0.5s ease, -o-transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.change a.icon_change:hover {
    color: #5851db;
}

.change a.icon_change.cunter {
    color: #5851db;
    font-weight: 600;
}

.change .icon_change {
    font-size: 33px;
    margin: 0;
    display: inline-block;
}

.change .icon_change:nth-of-type(1) {
    margin-right: 13px;
}

.menu,
.icon-list {
    height: 100%;
    overflow: hidden;
}

.icon-list {
    font-size: 24px;
    text-align: right;
    padding: 2.46em 1.4em 1em;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}

.icon-list a {
    color: #004F96;
    display: block;
    /* padding: 0.8em; */
    margin: 1em 0;
    -webkit-transform: translate3d(0, 500px, 0);
    transform: translate3d(0, 500px, 0);
}

.icon-list,
.icon-list a {
    -webkit-transition: -webkit-transform 0s 0.4s;
    transition: transform 0s 0.4s;
    -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

@media screen and (max-width: 749px) and (min-width: 0) {
    .change .icon_change {
        font-size: 28px;
    }
    .icon-list {
        font-size: 20px;
    }
    .menu-button::before {
        background: linear-gradient(#fff 20%, transparent 20%, transparent 40%, #fff 40%, #fff 60%, transparent 60%, transparent 80%, #fff 80%);
    }
}


/* .icon-list a:nth-child(1) b {
	transition-delay: 0.08s;
}

.icon-lis a:nth-child(2) b {
	transition-delay: 0.16s;
}

.icon-lis a:nth-child(3) b {
	transition-delay: 0.24s;
}

.icon-lis a:nth-child(4) b {
	transition-delay: 0.32s;
}

.icon-lis a:nth-child(5) b {
	transition-delay: 0.40s;
}

.icon-lis a:nth-child(6) b {
	transition-delay: 0.48s;
} */

.icon-list a:nth-child(2) {
    -webkit-transform: translate3d(0, 1000px, 0);
    transform: translate3d(0, 1000px, 0);
}

.icon-list a:nth-child(3) {
    -webkit-transform: translate3d(0, 1500px, 0);
    transform: translate3d(0, 1500px, 0);
}

.icon-list a:nth-child(4) {
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
}

.icon-list a:nth-child(5) {
    -webkit-transform: translate3d(0, 2500px, 0);
    transform: translate3d(0, 2500px, 0);
}

.icon-list a:nth-child(6) {
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
}

.icon-list a span {
    /* margin-left: 10px; */
    /* font-weight: 700; */
}

.show-menu {
    /* overflow: hidden; */
    width: 100%;
    height: 100%;
}


/* Shown menu */

.show-menu .menu-wrap {
    -webkit-box-shadow: 0 0 100px rgba(20, 59, 111, 0.2);
    box-shadow: 0 0 100px rgba(20, 59, 111, 0.2);
    -webkit-transform: none;
    transform: none;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform 0.8s;
    transition: transform 0.8s;
    -webkit-transition-timing-function: cubic-bezier(0.3, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.3, 0, 0.3, 1);
}

.show-menu .icon-list,
.show-menu .icon-list a {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform 0.8s;
    transition: transform 0.8s;
    -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.show-menu .icon-list a {
    -webkit-transition-duration: 0.9s;
    transition-duration: 0.9s;
}

.show-menu .content::before {
    opacity: 1;
    -webkit-transition: opacity 0.8s;
    transition: opacity 0.8s;
    -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}