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

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0f296d;
}

.navigation {
    position: relative;
    width: 70px;
    height: 70px;
    background: #c22c15;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-delay: 0.8s;
}

.navigation.active {
    width: 200px;
    height: 200px;
    transition-delay: 0s;
}

.navigation span {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    transform: translate(calc(14px * var(--x)), calc(14px * var(--y)));
    transition: 0.5s;
    transition-delay: calc(0.1s * var(--i));
}

.navigation.active span {
    transform: translate(calc(60px * var(--x)), calc(60px * var(--y)));
    width: 45px;
    height: 45px;
    background-color: #0f296d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation span ion-icon {
    font-size: 0em;
    transition: 0.5s;
}

.navigation.active ion-icon {
    font-size: 1.35em;
    color: #fff;
}

.navigation.active span:hover ion-icon {
    color: #f87966;
}