/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}
/*  перестаёт центрироваться надпись загрузка данных внутри диалога ожидания
* {
  margin: 0;
} */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}
#root, #__next {
  isolation: isolate;
}
/* --------------------- */
/*
* {
  padding: 0;
  box-sizing: border-box;
  font-size: inherit;
  line-height: 1;
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
*/

a {
  cursor: pointer;
  text-decoration: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: antiquewhite;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

.parent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: var(--top-line-h) 1fr var(--bottom-line-h);
  grid-column-gap: 0;
  grid-row-gap: 2px;
  min-height: 100vh;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-center-h {
  display: flex;
  align-items: center;
}

.control-shadow {
  -webkit-box-shadow: 2px 2px 5px 2px #979797;
  box-shadow: 2px 2px 5px 2px #979797;
}

/* поддержка двух языков */
.otherLang .baseLang {
  display: none;
}
.baseLang .otherLang {
  display: none;
}
/*  */

