.menuBg {
    z-index: 1399;
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
 }
 
 .menuBg.open {
    display: block;
 }

 .logo {
    position: absolute;
    color: white;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
    bottom: 30px;
    font-size: 0.8rem;
    font-style: italic;
    text-decoration: none;
 }

 .circular-menu {
    z-index: 1400;
    width: 70px;
    height: 70px;
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    -webkit-transition: 400ms;
    -moz-transition: 400ms;
    transition: 400ms;
    transform: translate(-50%, 50%);
}

.circular-menu.open {
    bottom: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
}

.circle {
    width: 350px;
    height: 350px;
    background-image: radial-gradient(
        transparent 0,
        transparent 80px,
        white 81px,
        rgba(255, 255, 255, 0.25) 82px
        );
    border: 1px solid white;
    border-radius: 100%;
    opacity: 0;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    transform-origin: 50% 50%;    
    -webkit-transform: scale(0) rotate(-180deg);
    -moz-transform: scale(0) rotate(-180deg);
    transform: scale(0) rotate(-180deg);
    -webkit-transition: all 0.6s ease-out;
    -moz-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
    transition-delay: 400ms;
    transition-property: transform;
}

.circle.open {
    opacity: 1;
    -webkit-transform: scale(1) rotate(0deg);
    -moz-transform: scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg);
}

.circle a {
    text-decoration: none;
    color: white;
    position: absolute;
    text-align: center;
    font-size: 45px;
    transform: translate(-50%, -50%);
}

.circle a.active {
    pointer-events: none;
    opacity: 0.4;
}

.circle a div {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    width: min-content;
    font-size: 14px;
    line-height: 16px;
    height: 70px;
    width: 70px;
    justify-content: center;
    align-items: center;
    display: none;
    color: white
}

.circle a:hover {
    font-size: 0;
}

.circle a:hover div {
    display: flex;
}

.menu-button {
    position: absolute;
    top: 50%;
    left: 50%;
    text-decoration: none;
    text-align: center;
    color: var(--ui-inverseColor);
    border-radius: 50%;
    display: block;
    padding: 20px;
    background: var(--ui-mainColor);
    font-size: 3rem;
    transform: translate(-50%, -50%);
    -webkit-transition-duration: 200ms;
    transition-duration: 200ms;
}

.menu-button:hover {
    font-size: 3.5rem;
}

.menu-button.open {
    color: white;
    border: none;
    background: none;
    font-size: 30px;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    transform-origin: 50% 50%;    
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
 }

.menu-button.open:hover {
    transform: translate(-50%, -50%) rotate(90deg);
    font-size: 50px;
}

.menu-button.open::before {
    content: "\e921";
}

@media (pointer:coarse) {

    .logo {
        right: 15px;
        bottom: 15px;
        align-items: flex-end;
     }
    
    .logo img {
        width: 25vw;
    }

    .circle a.icon::before {
        opacity: 0.15;
        position: absolute;
        transform: translate(-50%, 25%);
    }

    .circle a div {
        display: flex;
    }

}