// UTILITY Classes
.class-hidden {
    display: none;
}

.overflow-y--ready {
    overflow-y: auto;
}

.overflow-x--ready {
    overflow-x: auto;
}

.overflow--ready {
    overflow: auto;
}

.w-100 {
    width: 100%;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.flex--wrap {
    flex-wrap: wrap;
}

.flex--column {
    flex-direction: column;
}

.center-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-grid {
    display: grid;
    place-items: center;
}

.align--center {
    align-self: center;
}

.mx-auto {
    margin-inline: auto;
}

.ml-auto {
    margin-left: auto;
}

.generate-margin-x-class(25);

.generate-margin-x-class(@n, @i: 0) when (@i =< @n) {
    @a: floor(@i);
    @b: floor(mod(@i, 1)*10);
    .mx-@{a}-@{b} {
        margin-inline: (@i * 100%/ @n);
    }
    .ml-@{a}-@{b} {
        margin-left: (@i * 100%/ @n);
    }
    .mr-@{a}-@{b} {
        margin-right: (@i * 100%/ @n);
    }
    .generate-margin-x-class(@n, (@i + 1/2));
}

.generate-margin-y-class(25);

.generate-margin-y-class(@n, @i: 0) when (@i =< @n) {
    @a: floor(@i);
    @b: floor(mod(@i, 1)*10);
    .my-@{a}-@{b} {
        margin-block: (@i * 100%/ @n);
    }
    .mt-@{a}-@{b} {
        margin-top: (@i * 100%/ @n);
    }
    .mb-@{a}-@{b} {
        margin-bottom: (@i * 100%/ @n);
    }
    .generate-margin-y-class(@n, (@i + 1/2));
}

.generate-padding-class(25);

.generate-padding-class(@n, @i: 0) when (@i =< @n) {
    @a: floor(@i);
    @b: floor(mod(@i, 1)*10);
    .px-@{a}-@{b} {
        padding-inline: (@i * 100%/ @n);
    }
    .py-@{a}-@{b} {
        padding-block: (@i * 100%/ @n);
    }
    .pl-@{a}-@{b} {
        padding-left: (@i * 100%/ @n);
    }
    .pr-@{a}-@{b} {
        padding-right: (@i * 100%/ @n);
    }
    .pt-@{a}-@{b} {
        padding-top: (@i * 100%/ @n);
    }
    .pb-@{a}-@{b} {
        padding-bottom: (@i * 100%/ @n);
    }
    .generate-padding-class(@n, (@i + 1/2));
}