body {
    position: relative;
    overflow: auto;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    background-color: #34444f;
    color: azure;
    text-align: center;
}

.logo {
    height: 80px;
}

.navigate {
    margin: 0 50px;
    font-weight: 500;
}

.image-wrapper img {
    width: 100%;
    background-position: center;
    height: 500px;
    object-fit: cover;
}

.image-wrapper {
    position: relative;
    display: inline-block;
  }
  
.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 26, 31, 0.638); /* Черный цвет с 50% прозрачностью */
  }

.bantext {
    margin: 2% 20% 4%;
}
.bantext2 {
    margin: 0 25%;
}

.line {
    width: 150px; /* Ширина линии */
    border-top: 3px solid #052c65; /* Цвет и стиль линии */
    margin-top: 20px; /* Выравнивание линии по центру относительно текста */
    opacity: 1;
}

.dropdown-toggle::after {
    content: none !important;
}


.chips {
    border: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 15px;
}

.chip {
    background-color: #f2f2f2;
    margin-right: 5px;
    border-radius: 16px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 14px;
    height: 32px;
}

.chip2 {
    background-color: #0d6efd;
    color: white;
    margin-right: 5px;
    border-start-start-radius: 8px;
    border-bottom-left-radius: 8px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 14px;
    height: 32px;
}

.chip span {
    display: block;
    margin-right: 10px;
}

.chip .close {
    cursor: pointer;
    background: #cccccc;
    border-radius: 50%;
    padding: 0 5px;
    margin-left: 5px;
    margin-right: 0;
}

/* Когда курсор находится над элементом chip */
.chip:hover {
    background-color: #e6e6e6;
}

/* Когда курсор находится над кнопкой закрытия */
.chip .close:hover {
    background-color: #aaaaaa;
}

.parallax {
    /* Путь к вашему изображению */
    background-image: url('img/paralax.jpg');
  
    /* Высота секции */
    height: 100px;
  
    /* Фиксированное позиционирование фона создаёт эффект параллакса */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 20px;
  }
  


/* --------------- editor sidebar------------------------      */
.sidebar {
    width: 280px;
    min-height: 80vh;
   /* overflow-x: hidden;  Предотвращает выход контента за пределы по горизонтали */
}
.sidebar.collapsed {
    width: 60px;
}
.sidebar .nav-link {
    white-space: normal; /* Позволяет тексту переноситься */
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar.collapsed .nav-link span {
    display: none;
}
.toggle-sidebar-btn {
    cursor: pointer;
    position: absolute; /* Изменено на absolute для корректного позиционирования */
    top: 12%;
    left: 260px; /* Позиционирование в зависимости от ширины sidebar */
    z-index: 100;
}
/* Стиль для сокращения длинного текста в несвёрнутом виде */
.sidebar .nav-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
    font-size: 14px;
}

/* ---------------------------------------     */


@media screen and (max-width: 600px) {
    .logo {
        height: 48px;
    }

    .bantext2 {
        margin: 0 0 20px 0;
        font-size: 14px;
    }

    .bantext {
        margin: 0 0 2%;
    }
    
    
    .navigate {
            margin: 0;
    }

    .line {
        width: 30px;
    }
}
