:root {
    --linkColor: #2196f3;
    --focusBorderColor: var(--primaryColor);
}

html {
    visibility: hidden;
    height: 100%;
    color: var(--text-color);
    font-size: 14px;
}

body {
    font-family: var(--font-family);
    margin: 0;
    min-height: 100%;
}

a {
    text-decoration: none;
    color: var(--text-color);

    &:active {
        color: var(--text-color);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 1.5rem 0 1rem 0;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.2;
    color: var(--surface-900);

    &:first-child {
        margin-top: 0;
    }
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.125rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.875rem;
}

p {
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

@keyframes pulse {
    0% {
        background-color: rgba(165, 165, 165, 0.1);
    }

    50% {
        background-color: rgba(165, 165, 165, 0.3);
    }

    100% {
        background-color: rgba(165, 165, 165, 0.1);
    }
}

/* Define CSS variables for both light and dark theme colors */
:root {
    --light-background-color: rgba(255, 255, 255, 0.6);
    --dark-background-color: rgba(0, 0, 0, 0.4);
}

/* Apply default background color (light) */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background-color: var(--dark-background-color);
}

/* Styles for the rotating spinner icon */
.loader .iconify {
    animation: rotate 2s linear infinite;
    font-size: 3rem; /* Adjust the size as needed */
    color: var(--primaryColor); /* Change to your desired color */
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
