/*
Theme Name: Ajmer
Author: Ajmer - Agencja Interaktywna
Author URI: https://ajmer.pl/
Description: Ajmer WCAG dla Organizacja trzydniowego Ogólnopolskiego Konkursu Perkusyjnego w ramach Radomskiego Festiwalu "Nowa Perkusja"
*/
html {
    --c-dark: #1C1C1C;
    --c-mid: #514D4A;
    --c-light: #fcfcfc;
    --c-gr-dark: #1F241D;
    --c-gr-mid: #212F1E;
    --c-gr-light: #60F11B;
}
body {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto 1fr auto;
    min-height: 100svh;
    margin: 0;
    background: var(--c-gr-dark);
    color: #fff;
    color-scheme: dark;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    scrollbar-gutter: stable;
    text-wrap: balance;
    &.simple-mode {
        background: #000;
    }
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal!important;
    &:focus {
        background-color: #ddd;
        clip: auto!important;
        clip-path: none;
        color: #444;
        display: block;
        font-size: 1em;
        height: auto;
        left: 5px;
        line-height: normal;
        padding: 15px 23px 14px;
        text-decoration: none;
        top: 5px;
        width: auto;
        z-index: 100000;
    }
}

h1, .h1 {
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
h2, .h2 {
    font-size: 2.5rem;
    line-height: 1.14;
    letter-spacing: -0.02em;
}
h3, .h3 {
    font-size: 2rem;
    line-height: 1.16;
}
h4, .h4 {
    font-size: 1.5rem;
    line-height: 1.18;
}
h5, .h5 {
    font-size: 1.2rem;
    line-height: 1.22;
}
@media (max-width: 1299px) {
    h1, .h1 {
        font-size: 2.5rem;
    }
    h2, .h2 {
        font-size: 2rem;
    }
    h3, .h3 {
        font-size: 1.5rem;
    }
    h4, .h4 {
        font-size: 1.25rem;
    }
    h5, .h5 {
        font-size: 1.1rem;
    }
}

.text {
    font-size: 1rem;
    line-height: 1.5;
}

a {
    color: var(--c-gr-light);
    outline: 2px solid transparent;
    outline-offset: 2px;
    &:hover,
    &:focus-visible {
        color: #fff;
        text-decoration-color: var(--c-gr-light);
        text-underline-offset: 0.2em;
        text-decoration-thickness: 0.2em;
    }
    &:focus-visible {
        outline-color: var(--c-gr-light);
    }
    body:not(.simple-mode) & {
        color: #fff;
        transition: 0.3s ease;
        transition-property: color, outline-color;
        &:hover,
        &:focus-visible {
            color: var(--c-gr-light);
        }
    }
}

.btn {
    display: inline-block;
    padding: 12px 16px;
    background: var(--c-gr-light);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    outline: 2px solid transparent;
    outline-offset: 2px;
    &:hover,
    &:focus-visible {
        background: #fff;
        color: #000;
    }
    &:focus-visible {
        outline-color: var(--c-gr-light);
    }
    body:not(.simple-mode) & {
        color: var(--c-dark);
        border-radius: 12px 0 12px 0;
        transition: 0.3s ease;
        transition-property: background, color, outline-color;
        &:hover,
        &:focus-visible {
            background: var(--c-light);
            color: var(--c-dark);
        }
    }
}

.logos {
    display: flex;
    flex-wrap: wrap;
    img {
        background: #fff;
        height: 64px;
        width: auto;
    }
}
.no-nums {
    list-style: none;
}