﻿h1 {
    font-family: var(--font-nordeco-b);
    font-size: 4.2rem;
    font-weight: 600;
    line-height: 125%;
    text-align: center;
}

h2 {
    font-family: var(--font-nordeco-b);
    font-size: 4.2rem;
    font-weight: 600;
    line-height: 125%;
}

h2.subsection-name {
    font-family: var(--font-nordeco-r);
    font-size: 3.8rem;
    font-weight: inherit;
}

h3 {
    font-family: var(--font-nordeco-r);
    font-size: 2.5rem;
    line-height: 125%;
    font-weight: inherit;
}

h4 {
    font-family: var(--font-nordeco-r);
    font-size: 2.5rem;
    line-height: 125%;
    font-weight: inherit;
}

.secondary-text {
    color: var(--grey-color);
    font-weight: 300;
}

.value, .concurrency-value {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    min-width: 80px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 1.5rem;
    font-weight: 400;
}

    .value.positive {
        color: var(--light-green-color);
        background-color: var(--light-green-background);
    }

        .value.positive img {
            filter: invert(58%) sepia(65%) saturate(544%) hue-rotate(106deg) brightness(95%) contrast(91%);
        }

    .value.negative {
        color: var(--light-red-color);
        background-color: var(--light-red-background);
    }

        .value.negative img {
            filter: invert(21%) sepia(73%) saturate(1661%) hue-rotate(328deg) brightness(133%) contrast(100%);
        }

    .concurrency-value .material-symbols-outlined {
        font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
        font-size: 1.9rem;
    }

    .concurrency-value.low {
        color: #26c9fc;
        background-color: #e2f8ff;
    }

    .concurrency-value.normal {
        color: var(--light-green-color);
        background-color: var(--light-green-background);
    }

    .concurrency-value.increased {
        color: #f7b500;
        background-color: #fff7e3;
    }

    .concurrency-value.high {
        color: var(--light-red-color);
        background-color: var(--light-red-background);
    }

    .concurrency-value.hell {
        color: #df0000;
        background-color: #ff000021;
    }

.related-query {
    padding: 4px 14px;
    white-space: nowrap;
    color: var(--grey-color);
    background-color: var(--grey-background);
    border-radius: 100px;
}

    .related-query:hover {
        text-decoration: none;
        background-color: color-mix(in srgb, var(--grey-background), lightgrey);
    }


.link-to-source:hover {
    color: var(--blue-color);
}

.validation-message {
    font-size: 1.5rem;
    text-wrap: balance;
}

@media (max-width: 1000px) {
    h2.subsection-name {
        margin: 0 15px;
    }
}

@media (max-width: 780px) {
    .value, .concurrency-value {
        padding: 1px 0px;
        min-width: unset;
    }

        .value.positive, .value.negative {
            background: none;
        }

    .concurrency-value {
        padding: 3px 7px;
    }
}

@media (max-width: 500px) {
    h1, h2 {
        font-size: 3.1rem;
        font-weight: 400;
    }

    h2.subsection-name {
        font-size: 2.5rem;
    }
}

/*.article-text {*/
/*    color: #42494f;*/
/*    font-size: 17px;*/
/*    font-weight: 300;*/
/*    text-align: left;*/
/*    margin: 25px 20px;*/
/*    font-family: var(--font-sans);*/
/*    line-height: 25px;*/
/*}*/

.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}