 @font-face {
    font-family: Comfortaa; /* Гарнитура шрифта */
    src: url(../fonts/Comfortaa-Regular.ttf); /* Путь к файлу со шрифтом */
   }
    @font-face {
    font-family: Roboto; /* Гарнитура шрифта */
    src: url(../fonts/Roboto/Roboto-Regular.ttf); /* Путь к файлу со шрифтом */
   }
   
   @font-face {
    font-family: Lcdtygra; /* Гарнитура шрифта */
    src: url('../fonts/lcdtygra.ttf'); /* Путь к файлу со шрифтом */
   }
   
   .mobile-login-btn {
       padding: 9px 10px;
   }
   
   h1 {
    font-family: Comfortaa;
    font-size: 1.1rem;
    justify-content: center;
    align-items: center;
    text-align: center;
   }
   
   div {
    font-family: Roboto;
    font-size: 1.1rem;
   }
   
   html{
       font-size:18px;
   }
    .mainText {
    font-family: Roboto;
    font-size: 18px;
    margin: 10px 10px;
    text-align: justify;
    text-indent: 15px;
    padding-left: 30px;
    padding-right: 30px;
   }



    /*Из за этих стилей меню не работают ссылки на сайте*/

    .menu-triger {
    	display: block;
    	z-index: 200001;
    	transition: opacity 0.2s ease, transform 0.2s ease;
    	
    }	
    .menu-close {
    	display: block;
    	width: 28px;
    	height: 28px;	
    	background: url(https://snipp.ru/demo/449/close.png) 0 0 repeat;
    	position: absolute;
    	right: 20px;
    	top: 20px;
    	z-index: 200002;
    	opacity: 0;
    	pointer-events: none;
    	transform: scale(0.85);
    	transition: opacity 0.18s ease, transform 0.18s ease;
    }
    .menu-popup {
    	display: none;	
    	background: #2c2e3e;
    	background: linear-gradient(45deg, rgba(44,46,62,0.98), rgba(44,46,62,0.92));
    	position: absolute;
    	left: 0px;
    	right: 0px;
    	top: 0;
    	box-sizing: border-box;
    	padding: 30px;
    	z-index: 200000;
    	max-height: 100vh;
    	overflow-y: auto;
    	-webkit-overflow-scrolling: touch;
    	box-shadow: 0 14px 28px rgba(0,0,0,0.35), 0 10px 10px rgba(0,0,0,0.32);
    }
    .menu-popup ul {
    	margin: 0;
    	padding: 0;
    }
    
    .menu-popup li {
    	list-style: none;
    	margin: 10px 0;
    	padding: 0;
    }
    .menu-popup li a {
    	font-size: 18px;
    	font-family: "Arial";
    	color: rgb(255, 255, 255);
    	line-height: 1.4;	
    	text-decoration: none;
    }
    .body_pointer * {
    	cursor: pointer;
    }

    body.body_pointer {
    	overflow: hidden;
    }

    body.body_pointer .head_menu_tonirovka,
    body.body_pointer .main_img_tonirovka,
    body.body_pointer .main_img {
    	position: relative;
    	z-index: 200000;
    }
    body.body_pointer .menu-triger {
    	opacity: 0;
    	pointer-events: none;
    	transform: scale(0.9);
    	transition: opacity 0.2s ease, transform 0.2s ease;
    }
    body.body_pointer .menu-close {
    	opacity: 1;
    	pointer-events: auto;
    	transform: scale(1);
    	transition-delay: 0.15s;
    }
    
    /*Из за этих стилей меню не работают ссылки на сайте*/


.Bar:hover{
    border-color:red;
    cursor:pointer;
}

   
   .list--image {
    background: black;
    opacity: 1;
}

.list--image:hover .image {
   opacity: 0.8;
}
   
   .nameLine{
       text-align: center; border-radius: 2px; font-size: 18px;
   }
   .nameLine.name{
       padding: 3px 5px;
       width: 100%;
       max-width: 140px; /* Соответствует максимальной ширине value */
       min-width: 110px;
       color: black;
       font-family: "Arial";
       font-size: 16px;
       text-align: center;
       margin: 0 auto; /* Центрирование */
       line-height: 1.4;
       word-wrap: break-word;
       overflow-wrap: break-word;
       border: none;
       outline: none;
   }
   .nameLine.value{
        padding: 6px 5px;
        width: 100%;
        min-width:80px;
        max-width:140px; /* Единая максимальная ширина для всех */
        /*height: 90px;*/
        background: rgba(123,220,192,0.8);
        font-family: "Arial";
        
        border: none;
        border-radius: 12px;
        text-align:center;
        color:rgb(50, 50, 70);
        vertical-align: middle;
        padding-top: auto;
        padding-bottom:auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
        margin: 0 auto; /* Центрирование */
   }
   
   /* Адаптивная ширина для длинных чисел - теперь все одинаковые */
   .nameLine.value.adaptive-value {
        max-width: 140px; /* Та же ширина для единообразия */
   }
   
   @media (max-width: 650px) {
       .nameLine.value {
           max-width: 120px;
       }
       .nameLine.value.adaptive-value {
           max-width: 120px;
       }
       .nameLine.name {
           max-width: 120px;
       }
       .parameterWidget {
           max-width: 120px;
       }
   }
   
   @media (max-width: 400px) {
       .nameLine.value {
           max-width: 100px;
       }
       .nameLine.value.adaptive-value {
           max-width: 100px;
       }
       .nameLine.name {
           max-width: 100px;
       }
       .parameterWidget {
           max-width: 100px;
       }
   }
   .nameLine.value.list--image {
        box-shadow: none !important;
   }
   .nameLine.value.list--image:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
   }
   a .nameLine.name,
   a .nameLine.value,
   a .parameterWidget {
       border: none !important;
       outline: none !important;
       box-shadow: none !important;
   }
   a:focus .nameLine.name,
   a:hover .nameLine.name,
   a:focus .nameLine.value,
   a:hover .nameLine.value,
   a:focus .parameterWidget,
   a:hover .parameterWidget {
       border: none !important;
       outline: none !important;
   }
   a:focus,
   a._anim-show:focus,
   a._anim-show:hover {
       outline: none !important;
       border: none !important;
   }
   a._anim-show .parameterWidget,
   a._anim-show .nameLine.value,
   a._anim-show .nameLine.name {
       border: none !important;
       outline: none !important;
       box-shadow: none !important;
   }
   a._anim-show:hover .parameterWidget,
   a._anim-show:hover .nameLine.value,
   a._anim-show:hover .nameLine.name {
       border: none !important;
       outline: none !important;
   }
   .pokazatel{
       margin: 0px 0px; padding: 0px 0px; font-size: 16px;
       padding-top: 10px;
       padding-bottom:10px;
       font-family: Lcdtygra;
       text-indent: 0 !important;
       word-wrap: break-word;
       overflow-wrap: break-word;
       hyphens: auto;
       line-height: 1.3;
       display: block;
       width: 100%;
       box-sizing: border-box;
   }
   
   /* Для длинных чисел в адаптивных контейнерах */
   .adaptive-value .pokazatel {
       font-size: 15px;
       line-height: 1.2;
   }
   
   @media (max-width: 650px){
       .nameLine.value{
           max-width: 100px;
           padding: 4px 3px;
       }
       .adaptive-value .pokazatel {
           font-size: 13px;
       }
   }
   @media (max-width: 400px){
       .nameLine.value{
           max-width: 90px;
           padding: 3px 2px;
       }
       .adaptive-value .pokazatel {
           font-size: 11px;
       }
   }
   .nameLine.unity{
       width: 150px;
       font-family: Roboto; 
       font-size: 16px; 
   }
   .keyParametersBox{
       display: flex; 
       flex-wrap: wrap; 
       align-items: normal; 
       padding-bottom: 0px; 
       justify-content: center;
       gap: 20px;
   }
   
   /* Современный дизайн карточек статистики */
   .modern-stats {
       gap: 20px;
   }
   
   .modern-stat-card {
       flex: 1 1 auto;
       min-width: 200px;
       max-width: 280px;
       transition: transform 0.3s ease, box-shadow 0.3s ease;
   }
   
   .modern-stat-card:hover {
       transform: translateY(-5px);
   }
   
   .modern-stat-card-inner {
       background: linear-gradient(135deg, rgba(123,220,192,0.9), rgba(123,220,192,0.7));
       border: 2px solid rgba(60, 179, 113, 0.4);
       border-radius: 16px;
       padding: 20px 15px;
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
       text-align: center;
       min-height: 180px;
       box-shadow: 0 4px 6px rgba(0,0,0,0.1);
       transition: all 0.3s ease;
   }
   
   .modern-stat-card:hover .modern-stat-card-inner {
       box-shadow: 0 8px 15px rgba(0,0,0,0.2);
       border-color: rgba(60, 179, 113, 0.6);
   }
   
   .modern-stat-icon {
       width: 60px;
       height: 60px;
       margin-bottom: 15px;
       display: flex;
       align-items: center;
       justify-content: center;
   }
   
   .modern-stat-icon img {
       width: 100%;
       height: 100%;
       object-fit: contain;
       filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
   }
   
   .modern-stat-value {
       font-family: 'Lcdtygra', monospace;
       font-size: 32px;
       font-weight: bold;
       color: rgb(50, 50, 70);
       margin-bottom: 10px;
       line-height: 1.2;
       word-break: break-word;
       overflow-wrap: break-word;
   }
   
   .modern-stat-label {
       font-family: 'Roboto', 'Arial', sans-serif;
       font-size: 14px;
       color: rgb(50, 50, 70);
       line-height: 1.4;
       font-weight: 500;
   }
   
   @media (max-width: 768px) {
       .modern-stat-card {
           min-width: 160px;
           max-width: 220px;
       }
       
       .modern-stat-value {
           font-size: 26px;
       }
       
       .modern-stat-label {
           font-size: 13px;
       }
       
       .modern-stat-card-inner {
           padding: 15px 12px;
           min-height: 160px;
       }
   }
   
   @media (max-width: 480px) {
       .modern-stat-card {
           min-width: 140px;
           max-width: 100%;
           flex: 1 1 100%;
       }
       
       .modern-stat-value {
           font-size: 24px;
       }
       
       .modern-stat-label {
           font-size: 12px;
       }
   }
   
      .textTitle{
        font-size: 22px;
        font-family: Comfortaa;
   }

    .scaleImage2{

    }
    .scaleImage2:hover{
        filter: hue-rotate(-0.55turn);
        filter: saturate(370%);
    }
    .scaleImage2 span { display: none; }
.scaleImage2:hover span { display: block; position: relative; top: 80px; width: 270px; text-align: center; background-color: white; border: 1px solid black; height: 15px; line-height: 15px; }

    .content_toggle:hover{
        cursor:pointer;
         -webkit-transform: scale(1.1);
         -moz-transform: scale(1.1);
         -o-transform: scale(1.1);
    }
        .parameterWidget{
            margin:5px 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 140px; /* Единая максимальная ширина для всех карточек */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .parameterWidget:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        .widgetRamka{
            margin: 0px 5px;
            padding-top: 18px; 
            padding-bottom: 25px;
            margin-bottom: 10px;
            
            border-radius: 20px; border: 2px solid #7bdcc0;
            background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.75));
            display: flex;
            flex-direction: column;
            justify-content:center;
            
        }


@media (max-width: 1100px) {
  .flexbox-container-1 {
    display: flex;
    flex-direction: column;
    position: relative;
    /*z-index: -1;*/
  }
  .widgetRamka.widget-description{
      display: none;
  }
  .widgetRamka.pokazateli{
      max-width: none;
  }
}

@media (min-width: 1100px) {
.widgetRamka.pokazateli{
    max-width: 450px;
}
}

widgetRamka.pokazateli{
    margin-bottom: 8px;
}

 .firstDiv{
     position: relative; /*z-index: 1;*/ margin-top: 5px; display: flex; flex-wrap: wrap; justify-content: stretch;
 }
 
 

.projectRamka{
    margin: 10px 10px; 
    flex-grow: 1;
    padding: 15px 15px; padding-bottom: 35px; 
    border: 2px solid rgba(255,255,255,0.1); border-radius: 15px;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.6));


}

.projectTitle {
    font-family: Comfortaa;
    min-height: 50px; 
    width: 300px;
    font-size: 16px;
    border:none; 
    margin: 0px 0px; 
    padding:16px 25px;
    margin-top:-15px;
    display: inline-block;
}

.projectName {
    position: relative;
    min-height: 30px;

    margin-bottom: 14px;
}
.projectName a {
    font-size: 18px; width: 95%;
    
    margin: 0;position: absolute;top: 50%;transform: translate(-50%, -50%);
}

.projectPhoto {
    margin: 7px 0px;
    margin-bottom: 17px;
    background-position:center center;
    background-size:cover;
    height:350px;
    border: 1px solid rgba(60, 179, 113,0.4);
    border-radius: 12px;
}
.projectPhoto:hover {
   border: 1px solid rgba(17, 10, 145, 0.2);
}

.scaleImage img {
 -moz-transition: all 1s ease-out;
 -o-transition: all 1s ease-out;
 -webkit-transition: all 1s ease-out;
 }
 
.scaleImage img:hover{
 -webkit-transform: scale(1.1);
 -moz-transform: scale(1.1);
 -o-transform: scale(1.1);
 }
 
.Bar{
    font-family:Comfortaa; 
    font-size: 20px; 
    left: 0px; 
    height: 30px";
}

/*
    @media 
    (-webkit-min-device-pixel-ratio: 2), 
    (min-resolution: 192dpi) {
        .projectName a{
            font-size: 22px;
        }
        
        .projectTitle {
            font-size: 24px;
        }
        .Bar{
            font-size: 34px;
        }
    }
*/

.chart{
    margin-bottom:60px; 
    background: linear-gradient(45deg, rgba(255, 255, 255,0.9), rgba(230,230,230,0.7));
}
    
@media (max-width:650px){
    .firstDiv{
        margin-top: 45px;
    }
}

.pokazateli{
     margin-right: 15px;
}

body::before{
    z-index:-10;
}



 