/* ==========================================================
   Herbert Wulf Website 2.0
   utilities.css
   ========================================================== */


/* ==========================================================
   DISPLAY
   ========================================================== */

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-inline-block {
    display: inline-block !important;
}


/* ==========================================================
   TEXT ALIGNMENT
   ========================================================== */

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}


/* ==========================================================
   TEXT COLORS
   ========================================================== */

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-muted {
    color: var(--color-text-light) !important;
}

.text-success {
    color: var(--color-success) !important;
}

.text-error {
    color: var(--color-error) !important;
}


/* ==========================================================
   BACKGROUND COLORS
   ========================================================== */

.bg-primary {
    background: var(--color-primary) !important;
    color: #ffffff !important;
}

.bg-secondary {
    background: var(--color-secondary) !important;
}

.bg-light {
    background: var(--color-background) !important;
}

.bg-white {
    background: var(--color-surface) !important;
}


/* ==========================================================
   FONT WEIGHT
   ========================================================== */

.fw-normal {
    font-weight: var(--font-weight-normal) !important;
}

.fw-semibold {
    font-weight: var(--font-weight-semibold) !important;
}

.fw-bold {
    font-weight: var(--font-weight-bold) !important;
}


/* ==========================================================
   WIDTH
   ========================================================== */

.w-100 {
    width: 100% !important;
}

.max-content {
    max-width: var(--content-width);
    margin-inline: auto;
}


/* ==========================================================
   BORDER RADIUS
   ========================================================== */

.rounded-sm {
    border-radius: var(--radius-sm) !important;
}

.rounded-md {
    border-radius: var(--radius-md) !important;
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}


/* ==========================================================
   SHADOWS
   ========================================================== */

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}


/* ==========================================================
   OVERFLOW
   ========================================================== */

.overflow-hidden {
    overflow: hidden !important;
}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}