.main{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 170px;
    height: 170px;
}

.main .navigation{
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 500ms;
}
.main .navigation span{
    position: absolute;
    width: 7px;
    height: 7px;    
    transform: translate(calc(14px * var(--x)),calc(14px * var(--y)));
    transition: transform 0.5s, width 0.5s, height 0.5s, background 0.5s;
    transition-delay: calc(0.1s * var(--i));
    display: flex;
    justify-content: center;
    align-items: center;
}
.main .navigation.active span{
    width: 45px;
    height: 45px;
    top: 100px;
    background-color: #1f2536;
    transform: translate(calc(60px * var(--x)),calc(60px * var(--y)));
}

.main .navigation span i{
    transition: 0.5s;
    font-size: 0em;
    color: #fff;
}

.main .navigation.active span i{
    font-size: 1.35em;
}
.main .navigation.active span:hover i{
    color: #2dfc52;
    filter: drop-shadow(0 0 2px #2dfc52) drop-shadow(0 0 5px #2dfc52) drop-shadow(0 0 15px #2dfc52);
}
.cerrar{
    position: absolute;
    width: 7px;
    height: 7px;    
    transition: 500ms;
    transition-delay: 400ms;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main .navigation.active ~ .cerrar{
    width: 40px;
    height: 40px;
    top:167px;
    pointer-events: initial;
    transition: 0.8s;
    background-color: #2dfc52;
}

.main .navigation ~ .cerrar i{
    font-size: 2em;
    scale: 0;
    color: #10131c;
    transition: 0.5s;
}

.main .navigation.active ~ .cerrar i{
    scale: 1;
    transition: 1s;
}

.profundidad{
    z-index: -1;
}

