body {
    position: relative;
}
#anim-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.anim-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: all .7s;
    background-color: #316c94;
    box-shadow: 0 0 30px 5px #316c94;
    opacity: 0;
}
.anim-dot:nth-child(3n + 2) {
    transform: rotate(180deg);
}
.anim-dot:nth-child(5n + 1) {
    width: 40px;
    height: 40px;
}
.anim-dot:nth-child(7n + 1) {
    transform: rotate(90deg);
}
.anim-dot.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 20px 0 20px;
    border-color: #316c94 transparent transparent transparent;
    border-radius: 0;
    box-shadow: none;
    background: none;
}
.anim-dot.triangle:nth-child(5n + 1) {
    border-width: 60px 30px 0 30px;
}
.anim-dot.active {
    /*background-color: #316c94;
    box-shadow: 0 0 30px 5px #316c94;*/
    opacity: 1;
}