* {
    margin: 0;
    padding: 0;
}

.menu-close {
    width: 12vw;
    position: relative;
    z-index: 301;
    height: 10vw;
}

.menu-close.open span{
    background: #fff;
}

.menu-close span {
    display: block;
    position: absolute;
    height: 1.45vw;
    width: 50%;
    background: var(--main-color);
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.menu-close span:nth-child(even) {
    left: 50%;
    border-radius: 0 9px 9px 0;
}

.menu-close span:nth-child(odd) {
    left:0;
    border-radius: 9px 0 0 9px;
}

.menu-close span:nth-child(1), .menu-close span:nth-child(2) {
    top: 0;
}

.menu-close span:nth-child(3), .menu-close span:nth-child(4) {
    top: 4vw;
}

.menu-close span:nth-child(5), .menu-close span:nth-child(6) {
    top: 8vw;
}

.menu-close.open span:nth-child(1),.menu-close.open span:nth-child(6) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-close.open span:nth-child(2),.menu-close.open span:nth-child(5) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.menu-close.open span:nth-child(1) {
    left: 1.5vw;
    top: 1.5vw;
}

.menu-close.open span:nth-child(2) {
    left: calc(50% - 1vw);
    top: 1.5vw;
}

.menu-close.open span:nth-child(3) {
    left: -50%;
    opacity: 0;
}

.menu-close.open span:nth-child(4) {
    left: 100%;
    opacity: 0;
}

.menu-close.open span:nth-child(5) {
    left: 1.5vw;
    top: 5vw;
}

.menu-close.open span:nth-child(6) {
    left: calc(50% - 1vw);
    top: 5vw;
}
