:root {
    --main: #B00D15;
    --grey-light: rgba(245, 248, 250, 1);
    --grey-hover: rgba(101, 119, 134, .20); 
    --grey-hover100: rgba(101, 119, 134, 1);
    
       
  --primary: #FFE9D2;
  --secondary: #FFE1C4;
  --color: rgba(255, 255, 255, 0.87);
  --link: #1565c0;
  --link-hover: #0d47a1;
  --background: #242424;
  --white-glass: rgba(250, 250, 250, .6);
  --grey: rgba(204, 214, 221, 1);
  --grey-text: rgba(118, 118, 118, 1);

  --main-glass: rgba(29, 161, 242, .1);
  --main-hover: #1e88e5;
  --error: rgba(224, 36, 94, 1);
}

/*@font-face {
  font-family: 'MyFont'; // Название вашего шрифта
  src: url('../fonts/arialnb.ttf') format('truetype'); // Укажите путь к файлу шрифта
}*/

@font-face {
    font-family: 'Arial Narrow';
    src: url('../fonts/ArialNarrow-Bold.woff2') format('woff2'),
        url('../fonts/ArialNarrow-Bold.woff') format('woff');
    /*font-weight: bold;
    font-style: normal;*/
    font-display: swap;
}


body {   /*:not(.main)*/
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 100%;
  min-height: 99vh;
  overflow-x: hidden;
  touch-action: pan-x pan-y;
  background-color: #ffffff;
  overscroll-behavior-y: none;
  
  /*font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;*/
  font-family: 'Arial Narrow';
  
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 5vh;
  z-index: 10;
  background: var(--main);
  color: var(--grey-light);
  text-transform: uppercase;
  place-items: center;
  display: flex;
  justify-content: center;
  font-size: 1.1em;
}

.info {
  padding-top: 5vh;
  padding-bottom: 5vh;
  height: 100vh;
  box-sizing: border-box;
  display: flex

}

.main {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  overflow-y: auto;
  padding-top: 5px;
}

.ceh {
  overflow-y: auto;
}

.main1 {
  flex-grow: 1;
  
}

.main2 {
  flex-grow: 1;
  display: flex;
  place-items: center;
}

.stolb {
    place-items: center;
}

.img {
    width: calc((100vw - 6px) / 5 - 5px);
    height: calc((100vh - 15px) / 6 - ((100vh - 15px) / 6 * 0.4));
    overflow: hidden;
}

.imgList {
    width: 100%;
    height: 40vh;
    overflow: hidden;
}

img {
    width: 100%; /* Гибкость – наше всё */
    height: 100%; /* Доверьтесь автоматике */
    object-fit: contain; /* Исключаем искажения пропорций */
}

.img11 {
    width: 40vw;
    /*height: calc((100vw - 6px) / 5);*/
}

.stroka {
    width: 12vw;
    height: 14vh;
    place-items: center;
    display: flex;
}

.kartst {
    place-items: center;
    margin: auto;
}
.textst {
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: center;
    overflow: hidden;

    line-height: 1;
    
    width: 100%;
    padding-top: 5px;
    font-size: 1em;
    font-weight: bold;
    -webkit-text-stroke: 0.01em #ffffff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    padding-bottom: 5px;
    font-family: 'Arial Narrow';
    paint-order: stroke fill;
}

.knop{
    height: 20px;
    --bs-btn-line-height: 1px;
    padding-left: 2px;
    padding-right: 2px;
    font-family:'Arial Narrow';
}


/*footer {
  height: 5vh;
  place-items: center;
  display: flex;
  flex-direction: row;
}*/

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 5vh;
  z-index: 10;
  place-items: center;
  display: flex;
  flex-direction: row;
  background-color: #E0E4E7;
}

#stranica {
  width: 40%;
  display: grid; 
  place-items: center;
}

.logo {
  width: 20%;
  display: grid; 
  place-items: center;
}
#logo {
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.menu {
  width: 40%;
  display: grid; 
  place-items: center;
}

footer .sidenav-trigger {
  margin: 0;
}

.sidenav {
  background-color: var(--background);
  color: var(--grey-light);
}

/* Subheader styles */
.sidenav .subheader {
  background-color: var(--grey-hover);
  font-weight: bold;
}

/* Link styles */
.sidenav .subheader,
.sidenav li>a {
  color: var(--color);
}

/* Material symbol styles */
.sidenav li>a>.material-symbols-outlined {
  /*display: inline-block;*/
  vertical-align: text-bottom;
  margin-right: 4px;
}

/* Navigation trigger styles */
.menu footer  .sidenav-trigger {
  height: auto;
}

.logi {
  display: flex !important;
  flex-direction: row;
}

.log1 {
  width: 25%;
}

.log2 {
  width: 70%; 
}


.input-file {
	position: relative;
	display: inline-block;
}
.input-file span {
	position: relative;
	display: inline-block;
	cursor: pointer;
	outline: none;
	text-decoration: none;
	font-size: 14px;
	vertical-align: middle;
	color: rgb(255 255 255);
	text-align: center;
	border-radius: 4px;
	background-color: #419152;
	line-height: 22px;
	height: 40px;
	padding: 10px 20px;
	box-sizing: border-box;
	border: none;
	margin: 0;
	transition: background-color 0.2s;
}
.input-file input[type=file] {
	position: absolute;
	z-index: -1;
	opacity: 0;
	display: block;
	width: 0;
	height: 0;
}
 
/* Focus */
.input-file input[type=file]:focus + span {
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
 
/* Hover/active */
.input-file:hover span {
	background-color: #59be6e;
}
.input-file:active span {
	background-color: #2E703A;
}
 
/* Disabled */
.input-file input[type=file]:disabled + span {
	background-color: #eee;
}

.kartstr {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center; 
  align-items: center;
}

.kartst1 {
  width: 40vw;
  display: grid; 
  align-items: left;
}

.kartst2 {
  width: 55vw;
  display: grid; 
  align-items: left;
}

textarea {
 width: 100%; 
  min-height: 100px;
  height: 10rem;
}

.kartochka {
  font-size: 1em;
  font-weight: bold;
}
