/* ===========================================================
   SICROP RADIO
   Base Styles
   =========================================================== */

/* ===========================================================
   RESET
   =========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* ===========================================================
   DOCUMENT
   =========================================================== */

html {
    width: 100%;
    height: auto; min-height: 100%;

    font-size: 16px;

    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100%;

    overflow-x: hidden; overflow-y: auto;

    background: var(--color-background);
    color: var(--color-text);

    font-family: var(--font-main);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height);

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ===========================================================
   MEDIA
   =========================================================== */

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    user-select: none;
    -webkit-user-drag: none;
}


/* ===========================================================
   TYPOGRAPHY
   =========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

p {
    line-height: var(--line-height);
}

small {
    font-size: var(--font-size-sm);
}


/* ===========================================================
   LINKS
   =========================================================== */

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}


/* ===========================================================
   LISTS
   =========================================================== */

ul,
ol {
    list-style: none;
}


/* ===========================================================
   FORM ELEMENTS
   =========================================================== */

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

textarea {
    resize: vertical;
}


/* ===========================================================
   TABLES
   =========================================================== */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* ===========================================================
   SELECTION
   =========================================================== */

::selection {
    background: var(--color-accent);
    color: #ffffff;
}


/* ===========================================================
   FOCUS
   =========================================================== */

:focus-visible {

    outline: 2px solid var(--color-accent);

    outline-offset: 2px;

}


/* ===========================================================
   SCROLLBAR
   =========================================================== */

* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {

    background: var(--color-border);

    border-radius: 999px;

}

::-webkit-scrollbar-thumb:hover {

    background: var(--color-accent);

}


/* ===========================================================
   UTILITIES
   =========================================================== */

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden !important;
}

.no-select {
    user-select: none;
}

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

.flex {
    display: flex;
}

.grid {
    display: grid;
}