$gridDebugColor: turquoise;

.toggleGrid {
    position: fixed;
    z-index: 9999;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background: $gridDebugColor;
    border: 0;
    box-shadow: 0 35px 40px 0 rgba(50, 51, 94, 0.25);
    cursor: pointer;

    svg {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -10px;
        margin-top: -10px;
        fill: #FFF;
    }
}

.gridDebug {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    pointer-events: none;
    display: none;

    &[data-state="1"] {
        display: block;

        .colOverlay {
            background: transparentize($gridDebugColor, 0.8);
        }
    }

    &[data-state="2"] {
        display: block;

        .colOverlay {
            background: transparentize($gridDebugColor, 0.5);
        }
    }

    &[data-state="3"] {
        display: block;

        .colOverlay {
            background: none;
            border-left: 1px solid transparentize($gridDebugColor, 0.2);
            border-right: 1px solid transparentize($gridDebugColor, 0.2);
        }
    }

    .container {
        height: 100%;
    }

    .row {
        height: 100%;
        padding-top: 0;
        padding-bottom: 0;

        .col-1 {
            flex: 0 0 auto;
            padding: $gridColGutterY/2 $gridColGutterX/2;
            padding-top: 0;
            padding-bottom: 0;
            max-width: percentage(1 / $gridColsNb);
            flex: 0 0 percentage(1 / $gridColsNb);
        }
    }

    .colOverlay {
        position: relative;
        display: block;
        height: 100%;
        background: $gridDebugColor;

        span {
            position: absolute;
            top: 20px;
            left: 50%;
            margin-left: -15px;
            width: 30px;
            height: 30px;
            line-height: 30px;
            border-radius: 30px;
            color: #000;
            text-align: center;
            font-weight: 700;
            font-family: monospace;
            outline: 2px solid #000;
            background-color: #FFF;
            // mix-blend-mode: difference;g
        }
    }
}