html, body {
            color: var(--text-color);
    opacity:1 !important;
    margin: 0;
    opacity:0.4;
   /* overflow-x: hidden;  Prevent horizontal scrolling */
 
}

body h2, h3 {
        font-family: 'PT Sans', sans-serif;
    font-weight: 100;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 3vmin; /* Адаптивный размер */
    -webkit-text-stroke: 0.3vmin var(--text-color); /* Обводка */
    line-height: 1.1;
}

body h1 {
        font-family: 'PT Sans', sans-serif;
    font-weight: 100;
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 4vmin; /* Адаптивный размер */
    -webkit-text-stroke: 0.2vmin var(--text-color); /* Обводка */
    line-height: 1.1;
}

.title_sec {
    font-family: 'PT Sans', sans-serif;
    font-weight: bold;
    color: var(--text-color) !important;
    text-transform: uppercase;
    font-size: 6vmin;
    -webkit-text-stroke: 0.3vmin var(--text-color) !important;
    line-height: 1.1;
}

.title_sec2 {
    font-family: 'PT Sans', sans-serif;
    font-weight: bold;
    color: white !important;
    text-transform: uppercase;
    -webkit-text-stroke: 0.2vmin white  !important;
    line-height: 1.1;
}

.back_color {
    position: fixed;
    left: 0;
    top: 0; /* Initial position */
    z-index: -1; /* Ensure the back_color is behind the menu */
    width: 100%;
    height: 100vh; /* Full viewport height */
    background: var(--info-box-header-bg-red);
    border-radius: 2vmin 2vmin 0 0;
    margin: 0;
    padding: 0;

}

.navigation-menu {
    justify-content: space-around;
    background: var(--background-color);
    border-radius: 2vmin 2vmin 0 0;
}

.nav-item {
    background: none;
    flex: 1; /* занимает всю ширину */
    font-weight: 100;
    padding: 0.5vmin; /* Адаптивные внутренние отступы */
    margin: 1vmin; /* Адаптивные внешние отступы */
    border: none;
    border-radius: 2vmin; /* Адаптивное скругление углов */
    cursor: pointer;
    position: relative;
}

.nav-item a {
        font-family: 'PT Sans', sans-serif;
    font-weight: 100;
    padding: 1vmin;
    text-transform: uppercase;
    font-size: 3vmin; /* Адаптивный размер */
    color: var(--text-color) !important;
    -webkit-text-stroke: 0.3vmin var(--text-color) !important; /* Обводка */
}

.nav-item.active {
    border: 0.3vmin solid var(--error-color);
}

.nav-item.active a {
    color: var(--background-color) !important;
    -webkit-text-stroke: 0.3vmin var(--background-color) !important;
}

.LOGO {
    display:flex;
        align-items: center;
}

.LOGO svg {
    margin-bottom: 3.5vmin;
    margin-top: 3.5vmin;
    width: 35vmin; /* подберите значение, которое соответствует вашему дизайну */
    height: auto; /* чтобы сохранить пропорции */
    fill: var(--info-box-header-bg-red); /* или любой другой цвет */
}

/* ############HEADER############### */
.main-header {
    position: relative; /* Добавляем только это свойство, остальные стили header не меняются */
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadeSlideshow 15s infinite;
}

@keyframes fadeSlideshow {
    0% { opacity: 0; }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}

