* {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.5em;
    margin: 0;
    font-weight: 600;
    color: var(--bold);
}

input,
textarea,
select {
    outline: none;
    font: inherit;
    padding: 10px;
    background-color: transparent;
    border: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-light);
    font-size: 14px;
    font-weight: normal;
    text-align: start;
}

textarea {
    resize: vertical;
    min-height: 70px;
}

a {
    text-decoration: none;
    color: inherit;
}

b {
    font-weight: 600;
}

ul,
ol,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

th {
    text-align: start;
    font-weight: 600;
}

img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border: none;
    user-select: none;
}

button {
    appearance: none;
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    opacity: 0.95;
}

button:hover {
    opacity: 1;
}

button:active {
    transform: scale(.95);
}

hr {
    border: none;
    border-top: 1px solid var(--text-light);
    width: 100%;
}

:root {
    --gradient: linear-gradient(45deg, var(--color1), var(--color2));
}

:root:not(.dm) {
    --back: #f6f7f8;
    --light: #fff;
    --shade1: #edeef6;
    --shade2: #e5e6ed;
    --text: #656da3;
    --text-light: #9aa2b7;
    --head: #414858;
    --bold: #000;
    --color1: #2137FF;
    --color2: #5465FF;
    --green: #009552;
    --green-shade: #e3fff2;
    --blue: #359cef;
    --blue-shade: #f5faff;
    --red: #af0000;
    --red-shade: #ffd9d9;
    --orange: #966100;
    --orange-shade: #fff6e6;
}

:root.dm {
    --back: #23252b;
    --light: #2c303d;
    --shade1: #31384b;
    --shade2: #4c5773;
    --text: #a0a8b9;
    --text-light: #848c9e;
    --head: #bfcae8;
    --bold: #fff;
    --color1: #7b88ff;
    --color2: #54b8ff;
    --green: #4fffb0;
    --green-shade: #1d503d;
    --blue: #51b2ff;
    --blue-shade: #1c3d58;
    --red: #ff8a8a;
    --red-shade: #452828;
    --orange: #ffa500;
    --orange-shade: #553600;
}


/* FONTS */

@font-face {
    font-family: 'icons';
    src: url('../../fonts/icons.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "PageX";
    font-weight: normal;
    font-display: swap;
    src: url("/assets/fonts/PageX/PageX-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "PageX";
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/PageX/PageX-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "PageX";
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/PageX/PageX-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "PageX";
    font-weight: 800;
    src: url("/assets/fonts/PageX/PageX-Black.woff2") format("woff2");
}



:lang(ar) {
    --font: "PageX", "Plus Jakarta Sans", "Segoue UI", "Arial", "Sans Serif";
}

:lang(en),
:lang(uk) {
    --font: "Plus Jakarta Sans", "PageX", "Segoue UI", "Arial", "Sans Serif";
}

body {
    margin: 0;
    font-size: 16px;
    font-family: var(--font);
    color: var(--text);
    background-color: var(--back);
    min-height: 100vh;
    overflow: hidden auto;
}