body {
    font-family: Arial, sans-serif;
    margin: 0; /* Убираем внешние отступы */
    height: 100%; /* Устанавливаем высоту body равной высоте окна */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-image: url('/static/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: black; /* Устанавливаем черный фон */
}

main {
    flex: 1;
    overflow-y: auto; /* Разрешаем вертикальную прокрутку только для основного контента */
    -webkit-overflow-scrolling: touch; /* Обеспечиваем плавную прокрутку на iOS */
}

html {
    height: 100%; /* Устанавливаем высоту html равной высоте окна */
}

.custom-btn-jet {
    background-color: #2C2C2C; /* Ваш код цвета */
    color: white;
}



.nav-link {
    background-color: #2C2C2C; /* Ваш код цвета */
    color: #6c757d;
}

#count {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

#count::-webkit-outer-spin-button,
#count::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.card-hover {
    transition: transform 0.2s;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Анимация подпрыгивания кнопок */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(5px);
    }
    70% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Применение анимации к кнопкам */
.btn-bounce {
    animation: bounce 1s ease-out;
}

.btn-sm-custom {
    font-size: 0.8rem; /* Уменьшаем размер шрифта */
    padding: 0.25rem 0.5rem; /* Уменьшаем внутренние отступы */
    height: 2rem; /* Автоматическая высота */
    display: flex; /* Flexbox для выравнивания содержимого */
    justify-content: center; /* Горизонтальное выравнивание */
    align-items: center; /* Вертикальное выравнивание */
    line-height: 1.1; /* Поднимаем текст, уменьшая межстрочное расстояние */
}

.popover .popover-arrow::before, .popover .popover-arrow::after {
    border-color: #030303 !important;  /* this example changes the arrow to orange color... You can always replace with any color you choose. */
    border-top-color: transparent !important;
    border-bottom-color: transparent !important;
}


.popover {
    background-color: rgb(33, 37, 41) !important;  /* this example changes the arrow to orange color... You can always replace with any color you choose. */
    color: white;
}

.popover .popover-header {
    background-color: rgb(33, 37, 41); !important;  /* this example changes the arrow to orange color... You can always replace with any color you choose. */
    color: white;
}

.kit-popover-body {
    max-height: 6rem;
}

.btn-outline-orange {
    color: #FFA500;
    border-color: #FFA500;
}

.btn-outline-violet {
    color: #8A2BE2;
    border-color: #8A2BE2;
}

.timed_kit {
    filter: brightness(0.5); /* Уменьшаем яркость до 50% */
}

.nickname-col {
  max-width: 9rem; /* Устанавливает максимальную ширину для колонки */
  overflow-x: auto; /* Разрешает горизонтальную прокрутку */
  white-space: nowrap; /* Запрещает перенос текста */
  text-overflow: clip; /* Добавляет многоточие, если текст не помещается */
}
.navbar-nav > li{
    padding-top: 10px;
}

.btn.custom-btn-gold {
        color: white;
        border: none;
        background: none;
        animation: gradient 5s ease infinite;
    }

@keyframes gradient {
    0% { color: #FFD700; }
    50% { color: #FFA500; }
    100% { color: #FF8C00; }
}

.menu-image {
    height: 2rem;  /* Прямо указываем желаемую высоту изображения */
    width: auto;  /* Автоматически регулируем ширину для сохранения пропорций */
}