@font-face {
    font-family: 'Wremena Bold';
    src:
        url('https://media.uprock.school/fonts/Wremena/WremenaBold.otf') format('truetype');
}

:root {
	--main: #000000;
    --main-transparent: #00000040;
	--back: #F4F4F4;
	--accent: #DD1144;
	--substrate: #FFFFFF;
	--not-active: #737373;
	--not-active2: #B7B7B7;
	--substrate2: #E3E3E3;
}

html {
    width: 100%;
    scroll-behavior: smooth;
    height: fit-content;
}

/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
    box-sizing: border-box;
}
/*
    2. Remove default margin
*/
* {
    margin: 0;
}
/*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
*/
body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}
/*
    5. Improve media defaults
*/
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
/*
    6. Remove built-in form typography styles
*/
input, button, textarea, select {
    font: inherit;
}

/*
    Reset number field to be without increment buttons
*/

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Для Firefox */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Для IE и Edge */
input[type="number"]::-ms-clear {
  display: none;
}
/*
    7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
/*
    8. Create a root stacking context
*/
#root, #__next {
    isolation: isolate;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

dialog {
    border-radius: 22px;
    border-width: 0;
    -ms-overflow-style: none;
    scrollbar-width: 0px;
}