:root {
  /* Generated from Material Theme Builder Figma plugin
     or `material-color-utilities`. */
  --md-sys-color-primary: RoyalBlue;
  --md-sys-color-on-primary: white;
  --md-sys-color-primary-container: mediumseagreen;
  --md-sys-color-on-primary-container: black;
  --md-sys-color-background: #eeeeee;
  --md-sys-color-surface: #eeeeee;
  --md-sys-color-surface-container-high: white;
  --md-sys-typescale-title-medium-size: 20px;


  /* ... */
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	border: 0;
	vertical-align: baseline;
}
html {
	font-family: 'Roboto';
	background-color: #eeeeee;
	font-size: 110%;
	width: 100dvw;
	height: 100dvh;
	overflow: hidden;
}
/* HTML5 display-role reset for older browsers */
/* article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
} */
body {
	width: 100dvw;
    height: 100dvh;
	overflow: hidden;
	/* line-height: 1; */
}
/* ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
} */
#root {
    display: flex;
    flex-direction: column;
}
#reader {

}

html, body {
  touch-action: manipulation; /* Устанавливает ограничение на случайное увеличение при двойном касании */
  -webkit-user-select: none; /* Для Safari */
  -moz-user-select: none;    /* Для Firefox */
  -ms-user-select: none;     /* Для IE/Edge */
  user-select: none;         /* Стандартное свойство */
}

/* button {
    background-color: RoyalBlue;
    color: white;
    border: none;
    padding: 5vw 10vw;
    min-width: 30vw;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 4vw;
    margin: 0 0;
    border-radius: 2vw;
    box-shadow: 1vw 1vw 2vw rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.2s ease;
}

button:active {
    box-shadow: none;
} */

.menu-button {
    background-color: transparent;
    border: none;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 0 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}



.slow-visible {
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.fast-visible {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


.green-button {
  --md-filled-button-container-color: #bb5533; /* Цвет фона */
  --md-filled-button-label-text-color: #FFFFFF; /* Цвет текста */
}

.orange-button {
  --md-filled-button-container-color: mediumseagreen; /* Цвет фона */
  --md-filled-button-label-text-color: #FFFFFF; /* Цвет текста */
}

.active-nav-button{
	background-color: var(--md-sys-color-secondary-container);
}

.secondary-container{
	background-color: var(--md-sys-color-secondary-container);
}


.ripple-button {
    position: relative;
    overflow: hidden;
}

/* Псевдоэлемент для эффекта волны на фоне кнопки */
.ripple-button::before {
    content: '';
    position: absolute;
    top: var(--ripple-y, 50%);
    left: var(--ripple-x, 50%);
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
    pointer-events: none;
    transition: transform 0.6s, opacity 0.6s;
    z-index: 0; /* Обеспечивает, что волна будет под содержимым кнопки */
}

/* Содержимое кнопки всегда будет выше волны */
.ripple-button > * {
    position: relative;
    z-index: 1;
}

/* Запуск анимации волны */
.ripple-button.ripple::before {
    transform: translate(-50%, -50%) scale(100);
    opacity: 0;
}

.ripple-button.ripple-end::before {
    opacity: 0;
    transition: opacity 0.3s;
}