body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}



a {
    text-decoration: none;
}

.project-title, .task-title {
    text-align: center;
    font-size: 2rem; /* Увеличиваем размер в два раза */
    margin: 20px 0;
}

.top-bar {
    background: black;
    padding: 10px 20px;
    color: white;
    display: flex;
    align-items: center;
}

.top-bar img {
    height: 50px;
    margin-right: 20px;
}

.top-bar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.top-bar nav ul li {
    margin-right: 10px;
}

.top-bar nav ul li a {
    color: white;
    text-decoration: none;
}

.top-bar nav ul li a.active {
    font-weight: bold;
}

.breadcrumb {
    padding: 10px 20px;
    background-color: #f4f4f4;
}

.breadcrumb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-task-button {
    color: black; /* Или выберите цвет, который обеспечивает контраст на градиенте */
    border: none;
    padding: 10px 20px;
    font-size: 16px; /* Крупнее, чем обычные кнопки */
    border-radius: 5px;
    cursor: pointer;
}

.wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

footer {
    text-align: center;
    width: 100%;
    padding: 10px 0; /* Паддинг для футера */    
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.logout-link {
    font-weight: bold; /* Делаем текст жирным */
    color: white; /* Устанавливаем белый цвет текста */
    text-align: right; /* Выравниваем текст по правому краю */
    display: block; /* Блочный элемент для возможности выравнивания */
    margin-left: auto; /* Автоматический отступ слева для выравнивания по правому краю */
    padding: 10px 0; /* Отступы для удобства клика */
    /* Дополнительные стили, если нужно */
} 

.logout-link a {
    color: white;    
}

.project-item {
    padding: 10px;
    margin: 10px 0;
    color: black;
    border-radius: 5px;
    font-weight: 900;
}

.hidden {
    display: none;
}

#filters {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.projects-list {
    list-style-type: none; /* Убирает маркеры списка */
    padding: 0; /* Опционально, убирает отступ слева */
}

.tasks-list {
    list-style-type: none; /* Удаляем маркеры списка */
    padding-left: 0;
}

.task_line {
    padding: 15px;
    background-color: #EEEEEE;
    cursor: pointer;
}

.contentwrapper{
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

.contentpageswrapper {
    padding: 20px;
}

/* CSS для блокировки прокрутки основного содержимого */
body.lightbox-open {
    overflow: hidden;
    height: 100%;
  }
  
  /* CSS для обеспечения прокрутки внутри lightbox, если он содержит много контента */
  .lightbox-content {
    overflow-y: auto;
    max-height: 90vh; /* Пример высоты, может быть изменен */
  }

/* Home page */
.mainpage {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(47, 48, 64, 0.7)), url('/static/images/banner-background.jpg') no-repeat center center/cover;
    margin: 0 !important;
    background-attachment: fixed;  /* ключевое свойство для эффекта параллакса */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity 0.5s ease-out; /* Плавное изменение прозрачности */
    opacity: 1; /* Начальная прозрачность */
}

.mainpagewrapper {
    align-items: center;
    justify-content: center;
    color: white;
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.banner-content a.btn {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
}

.mainpage_footer {
    color: white;
}

.mainpage_footer a {
    color:white;
}
/*end of Home page*/



/* project tasks */
.taskLine{
    background-color: #EEEEEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right:20px;
}

.taskdeleteicon, .imgdeleteicon, .filedeleteicon {
    cursor: pointer;
    font-size: 0.8em;
}

.imgdeleteicon, .filedeleteicon {
    padding-left: 20px;

}

.image-list, .files-list div{
    display: flex;
    flex-direction: row;
    
}

.image-container {
    position: relative;
    display: inline-block;
}

.imagedeleteicon {
    position: absolute;
    top: 0;
    right: 12px;
    cursor: pointer;
    /* Добавьте стили для иконки удаления здесь */
}

/* end of project tasks */

/* task details */
.task-info > div {
    margin-bottom: 10px;
}

.task-info span {
    display: block; /* или inline-block в зависимости от предпочтительного дизайна */
    margin-right: 20px;
}

.separator {
    height: 2px;
    background-color: var(--project-color);
    margin: 20px 0;
}

.task-description {
    font-size: 16px;
}

.image-list {
    display: flex;  /* Создает горизонтальное выравнивание элементов */
    overflow-x: auto;  /* Добавляет горизонтальную прокрутку если элементы не помещаются */
    white-space: nowrap;  /* Убирает переносы строк между элементами */
    margin: 10px 0;
    padding: 0;
}
.image-list a {
    display: inline-block;  /* Делает ссылки блочно-строчными элементами */
    margin-right: 10px;  /* Добавляет отступ справа для каждой ссылки */
    text-decoration: none;  /* Убирает подчеркивание текста ссылок */
}
.image-list img {
    max-height: 100px;  /* Ограничивает высоту изображений */
    border: 1px solid #ccc;  /* Добавляет рамку вокруг изображений */
    padding: 5px;  /* Добавляет отступ вокруг изображений */
    background: #fff;  /* Устанавливает белый фон для изображений */
}

.files-list {
    display: flex;
    flex-direction: column;
}

.comment {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 5px;
    position: relative;
}

.comment:before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    bottom: 0;
    border-left: 2px solid #ddd;
}

/*end of task details*/