*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(#fbc2eb, #a6c1ee);
    background-repeat: no-repeat;
    background-attachment: fixed; 
}

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

.menu li{
    position: absolute;
    left: 0;
    list-style: none;
    transform-origin: 100px;
    transition: 0.5s;
    transition-delay: calc(0.1s*var(--i));
    transform: rotate(0deg) translateX(80px);
}

.menu.active li{
    transform: rotate(calc(270deg/3*var(--i)));
}

.menu li a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    transform: rotate(calc(270deg/-3*var(--i)));
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.3);
    color: #111;
    transition: 0.5s;
    font-size: 1.2em;
}

.menu li a:hover{
    color: rgb(207, 5, 5);
}

.toggle{
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.3);
    font-size: 2em;
    transition: 1.25s;
}

.menu.active .toggle{
    transform: rotate(315deg);
}