*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background-color: #000;
}

.animated-radial-menu{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.animated-radial-menu .menu{
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
}


.animated-radial-menu .menu .toggle{
    position: absolute;
    width: 85px;
    height: 85px;
    background: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    font-size: 2em;
    transition: transform 0.5s;
  }
  .menu .toggle i {
    font-size: 45px;
  }
  .animated-radial-menu .menu li {
    position: absolute;
    left: 0;
    list-style: none;
    transition: 0.3s;
    margin: 11px;
    transition-delay: calc(0.04s * var(--i));
    transform: rotate(0deg) translateX(110px);
    transform-origin: 140px;
  }
  .animated-radial-menu .menu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    font-size: 1.8em;
    transform: rotate(calc(-45deg * var(--i)));
    transition: 0.3s;
    border: 2px solid #fff;
    padding: 1.1em;
    color: #0ef;
  }
  .animated-radial-menu .menu.active .toggle {
    transform: rotate(315deg);
  }
  .animated-radial-menu .menu.active li {
    transform: rotate(calc(45deg * var(--i))) translateX(0px);
  }
  .animated-radial-menu .menu li a:hover {
    background: #0ef;
    transition: 0.2s ease-in-out;
    overflow: hidden;
    color: #000;
    border: none;
  }

}
