.gnavi-sp {
    line-height: 100%;
    position: fixed;
    max-width: 100%;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
    z-index: 1000;
    color: #fbfbfb;
    top: 10px;
    right: 10px;
    background: #42303093;
    border-radius: 4px;
    a {
        border: none;
    }
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100000;
}


/* Overlay closing cross */

.overlay .overlay-close {
    width: 30px;
    height: 30px;
    overflow: hidden;
    border: none;
    background: url(../../img/cross.png) no-repeat center center;
    background-size: 100%;
    text-indent: 200%;
    color: transparent;
    outline: none;
    z-index: 100;
    position: absolute;
    right: 20px;
    top: 20px;
}

@media screen and (min-width: 720px) {
    /* .overlay .overlay-close {
        right: 30px;
        top: 30px;
    } */
}


/* Menu style */

.overlay nav {
    text-align: center;
    position: relative;
    top: 10vh;
    height: 60vh;
    font-size: 22px;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    height: 100%;
    position: relative;
}

.overlay ul li {
    display: block;
    margin-bottom: 4vh;
}

.overlay ul li a {
    font-weight: 300;
    display: block;
    text-decoration: none;
    color: #fff !important;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
    color: #e3fcb1;
}


/* Effects */

.overlay-hugeinc {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
    transition: opacity 0.5s, visibility 0s 0.5s;
}

.overlay-hugeinc.open {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.overlay-hugeinc nav {
    -webkit-perspective: 1200px;
    perspective: 1200px;
}

.overlay-hugeinc nav ul {
    opacity: 0.4;
    /* -webkit-transform: translateX(-25%) rotateX(35deg);
    transform: translateX(-25%) rotateX(35deg);
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s; */
}

.overlay-hugeinc.open nav ul {
    opacity: 1;
    /* -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg); */
}

.overlay-hugeinc.close nav ul {
    /* -webkit-transform: translateX(25%) rotateX(-35deg);
    transform: translateX(25%) rotateX(-35deg); */
}

@media screen and (max-height: 30.5em) {
    .overlay nav {
        height: 70%;
        font-size: 16px;
    }
    .overlay ul li {
        font-weight: bold;
    }
}