/*===========================================================
	Navigation
============================================================*/
/*----------------------------------------------------------
    Drawer
----------------------------------------------------------*/
.head-menu {
    z-index: 99;
}
/* :::::: toggle button :::::: */
.head-menu #drawer {
	display: none;
}
.head-menu label {
	cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
}
.head-menu .open {
	z-index: 2;
	top: 0;
	left: 0;
	width: 60px;
	height: 60px;
	background: #221f66;
	transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
    .head-menu .open::before,
    .head-menu .open::after {
        content: "";
    }
    .head-menu .open span,
    .head-menu .open::before,
    .head-menu .open::after {
        content: "";
        position: absolute;
        top: calc(50% - 1px);
        left: 30%;
        width: 40%;
        border-bottom: 2px solid white;
        transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    .head-menu .open::before {
        transform: translateY(-8px);
    }
    .head-menu .open::after {
        transform: translateY(8px);
    }
    .head-menu .close {
        z-index: 1;
        inset: 0;
        pointer-events: none;
        transition: background .6s;
    }
.head-menu #drawer:checked + .open {
	background: #221f66;
}
.head-menu #drawer:checked + .open span {
	transform: scaleX(0);
}
.head-menu #drawer:checked + .open::before {
	transform: rotate(135deg) scaleX(1.2);
}
.head-menu #drawer:checked + .open::after {
	transform: rotate(-135deg) scaleX(1.2);
}
.head-menu #drawer:checked ~ .close {
    z-index: 1;
	pointer-events: auto;
	background: rgba(0,0,0,.3);
}

/* :::::: drawer menu :::::: */
.head-menu .menu {
    z-index: 5;
	position: fixed;
	overflow: auto;
    top: 60px;
    left: 0;
    width: 100%;
	margin: 0;
	padding: 10px;
	box-sizing: border-box;
    background: #221f66;
	transform: translateX(100%);
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.head-menu .menu ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
	margin: 0;
	padding: 0;
    list-style: none;
}
    .head-menu .menu li {
        margin: 0;
        padding: 0.5em 1em;
        box-sizing: border-box;
        line-height: 1.4;
        border-right: #b1b1b1 1px solid;
    }
        .head-menu .menu a {
            display: block;
            line-height: 30px;
            color: white;
            text-decoration: inherit;
            transition: background .6s;
        }
        .head-menu .menu a:hover {
            background: #b1b1b1;
        }
    .head-menu #drawer:checked ~ .menu {
        transform: none;
    }