body{
    background: #fff;
}

.responsible_image{
    width: 100%;
    height: auto;
}

/* общее **/
#navbarCollapse{
   font-family: 'Open Sans', sans-serif;
   font-weight: 600;
   font-size: 14px;
   text-transform: uppercase;
}

body, html {
   height: 100%;
   margin: 0;
}

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

main {
   flex-grow: 1;
}

#content{
    font-size: 14px;
    font-family: 'Unbounded', sans-serif;
    color: #000000;
    letter-spacing: 3%;
    line-height: 28px;
}

#content a{
    text-decoration: underline;
}
#content a:hover{
    text-decoration: none;
}

.container-fluid.content-block h1{
    color: #000000;
    font-family: 'Unbounded', sans-serif;
    line-height: 100%;
}

footer {
   display: flex;
   font-size: 12px;
   font-family: 'Unbounded', sans-serif;
   justify-content: space-between;
   align-items: center;
   padding: 10px;
   background-color: #EAEAEA;
   color: #88929A;
}

.content-header{
    color: #D0D0D0;
    font-size: 18px;
    font-weight: bold;
    padding: 9px 0 0 0;
}

#participants {
    padding: 13px 0 0 0;
}

#participants .item-participant{
    margin: 0 0 8px 0;
    position: relative;
}

#participants .item-participant img{
    width: 100%;
    height: 100%;
    border-radius: 7px;
}

#participants .item-participant .participant-name{
    padding: 4px;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    background: #000;
    padding: 8px 12px;
    color: #fff;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

#participants .item-participant .participant-name a{
    color: #fff;
    display: block;
    text-decoration: none;
}

#participants .item-participant:hover .participant-name a{
    color: #fff;
    background: #FF5600;
    text-decoration: none;
}

#participants .item-participant:hover .participant-name{
    color: #fff;
    background: #FF5600;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    color: white;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* Инвертирует иконки стрелок */
}

/*компы*/
@media screen and (min-width: 1024px) {
    #navbarCollapse{
        padding: 0 0 0 10%;
    }

    #navbarCollapse ul.navbar-nav{
        width: 100%;
    }

    #navbarCollapse ul.navbar-nav li{
        width: 16.6%;
    }

    .navbar-nav .nav-link {
        display: inline-block;
        padding-left: 0; /* Пространство слева от текста */
    }

    #navbarCollapse li { /* Устанавливаем фиксированное пространство между пунктами меню */
        margin: 0;
        width: 16.5%;
        padding: 0;
    }

    /* Стилизация ссылок */
    #navbarCollapse .menu-item a {
        text-align: center;
        text-decoration: none; /* Без подчеркивания */
        display: block;
        width: 100%;
        color: #000;
        padding: 0 0 6px 0;
        border-bottom: 2px solid #D0D0D0;
    }

    #navbarCollapse .menu-item a:hover, #navbarCollapse .menu-item a.active{
        color: #FF5600;
        border-bottom: 2px solid #FF5600;
    }

    /* Поднимаем иконку наверх */
    #navbarCollapse .menu-icon {
        text-align: center; /* Центрируем иконку */
        margin-bottom: 4px; /* Отступ снизу */
        display: block;
        height: 20px;
        overflow: hidden;
    }
    #navbarCollapse .menu-icon img{
        width: 20px;
        height: 20px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .container-fluid.content-block{
        margin-top: 114px;
    }
}


/* Стили для планшетных устройств (средние экраны) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
    #navbarCollapse{
        padding: 0;
    }

    #navbarCollapse ul.navbar-nav{
        width: 100%;
    }

    #navbarCollapse .menu-icon{
        float: left;
        width: 22px;
        padding: 2px 0 0 0;
        display: none;
    }

    #navbarCollapse .menu-icon img{
        width: 15px;
        height: 15px;
        object-fit: contain;
        display: block;    }

    #navbarCollapse li { /* Устанавливаем фиксированное пространство между пунктами меню */
        margin: 0;
        padding: 0;
    }

    .container-fluid.content-block{
        margin-top: 110px;
    }

    .content-header{
        font-size: 16px;
    }

}

/* Стили для мобильных устройств (маленькие экраны) */
@media screen and (max-width: 768px) {
    .content-header{
        font-size: 14px;
    }
    .container-fluid.content-block{
        margin-top: 104px;
    }
}

/* Дополнительные мелкие мобильные размеры (например, старые телефоны) */
@media screen and (max-width: 480px) {
    .container-fluid.content-block{
        margin-top: 104px;
    }
}

@media screen and (max-width: 1250px) and (min-width: 1000px){
    #navbarCollapse{
        padding: 0;
    }
}
