.connecting-process {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 100%;

    .connecting-process__heading {
        margin-bottom: 48px;
    }

    .connecting-process__container {
        align-items: center;
        display: flex;
        justify-content: space-around;
        width: 100%;
    }

    .connecting-process__animation span {
        /**
         * Use the blink animation, which is defined above
         */
        animation-name: blink;
        /**
         * The animation should take 1.4 seconds
         */
        animation-duration: 1.4s;
        /**
         * It will repeat itself forever
         */
        animation-iteration-count: infinite;
        /**
         * This makes sure that the starting style (opacity: .2)
         * of the animation is applied before the animation starts.
         * Otherwise we would see a short flash or would have
         * to set the default styling of the dots to the same
         * as the animation. Same applies for the ending styles.
         */
        animation-fill-mode: both;
    }

    .connecting-process__animation span:nth-child(2) {
        /**
         * Starts the animation of the third dot
         * with a delay of .2s, otherwise all dots
         * would animate at the same time
         */
        animation-delay: 0.2s;
    }

    .connecting-process__animation span:nth-child(3) {
        animation-delay: 0.4s;
    }

    .connecting-process__animation span:nth-child(4) {
        animation-delay: 0.6s;
    }

    .connecting-process__animation span:nth-child(5) {
        animation-delay: 0.8s;
    }

    .connecting-process__animation span:nth-child(6) {
        animation-delay: 1s;
    }
}

@keyframes blink {
    /**
     * At the start of the animation the dot
     * has an opacity of .2
     */
    0% {
        opacity: 0.2;
    }
    /**
     * At 20% the dot is fully visible and
     * then fades out slowly
     */
    20% {
        opacity: 1;
    }
    /**
     * Until it reaches an opacity of .2 and
     * the animation can start again
     */
    100% {
        opacity: 0.2;
    }
}
