* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: Arial, sans-serif; background: #f9f9f9; color: #333; }
.container { width: 95%; max-width: 1200px; margin: 0 auto; }

/* Шапка */
header { background: #2c3e50; color: #fff; padding: 20px 0; text-align: center; }
header h1 { font-size: 2em; }
/* Контейнер переключателя */
.pagesBlockuz1,
.pagesBlockuz2 {
 text-align: center;
 padding: 15px 0;
 margin: 20px 0;
}

/* Ссылки страниц */
.pagesBlockuz1 a,
.pagesBlockuz2 a {
 display: inline-block;
 padding: 8px 14px;
 margin: 0 5px;
 background: #eee;
 color: #333;
 text-decoration: none;
 border-radius: 4px;
 font-size: 14px;
 transition: background 0.2s, color 0.2s;
}

/* Текущая страница */
.pagesBlockuz1 b,
.pagesBlockuz2 b {
 display: inline-block;
 padding: 8px 14px;
 margin: 0 5px;
 background: #00ffbb;;
 color: #fff;
 border-radius: 4px;
 font-weight: bold;
}

/* Ховер эффекты */
.pagesBlockuz1 a:hover,
.pagesBlockuz2 a:hover {
 background: #00ffbb;;
 color: #fff;
}

/* Точки при большом количестве страниц */
.swchItemDots {
 padding: 8px 10px;
 color: #666;
 font-size: 14px;
}

/* Меню */
nav { background: #34495e; }
nav ul { display: flex; flex-wrap: wrap; list-style: none; justify-content: center; align-items: center; }
nav ul li { margin: 0 15px; }
nav ul li a { display: block; padding: 10px 5px; color: #fff; text-decoration: none; font-weight: bold; }
nav ul li a:hover { border-color: #00ffbb;background: #1abc9c; border-radius: 50px; }

/* Поиск */
nav form { margin-left: 20px; }
nav input[type="text"] { padding: 7px; border-radius: 5px; border: none; }
nav button { padding: 7px 10px; border:none; background: #1abc9c; color:#fff; border-radius:5px; cursor:pointer; }
nav button:hover { background:#16a085; }

/* Контент */
main { padding: 20px 0; }
.allEntries { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.allEntries div { background:#fff; border-radius:10px; padding:10px; box-shadow:0 0 10px rgba(0,0,0,0.1); text-align:center; transition: transform 0.3s; }
.shun div:hover { border-style: dotted dashed solid double;border-color: #00ffbb;background:#1abc9c;transform: scale(1.05); }
.allEntries img { width:100%; border-radius:10px; }
.allEntries h3 { margin:10px 0; font-size:1.1em; }
#allEntries {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 20px;
}

/* Футер */
footer { background: #2c3e50; color: #fff; text-align: center; padding: 15px 0; margin-top: 20px; }

/* Адаптивность */
@media(max-width:768px){ 
 nav ul { flex-direction: column; }
 nav form { margin:10px 0; }
}



/* 1. Общая ширина дорожки */
::-webkit-scrollbar {
    width: 14px;
    background-color: rgba(11, 11, 11, 0.9);
}

/* 2. Ползунок с эффектом мягкого неонового блюра */
::-webkit-scrollbar-thumb {
    background-color: #00ffbb;
    border-radius: 20px;
    /* Создаем несколько слоев тени для мягкого рассеивания света */
    box-shadow: 
        0 0 5px #00ffbb,       /* Ядро */
        0 0 15px #00ffbb,      /* Ближнее свечение */
        0 0 30px rgba(0, 255, 187, 0.5), /* Дальнее размытие (Blur) */
        inset 0 0 10px rgba(255, 255, 255, 0.5); /* Внутренний отблеск */
    
    /* Делаем границы прозрачными, чтобы тень "дышала" */
    border: 3px solid transparent;
    background-clip: padding-box;
}

/* 3. Эффект при наведении (усиливаем блюр) */
::-webkit-scrollbar-thumb:hover {
    background-color: #33ffcc;
    box-shadow: 
        0 0 10px #00ffbb, 
        0 0 25px #00ffbb, 
        0 0 45px rgba(0, 255, 187, 0.8);
}

/* 4. Дорожка с эффектом "стекла" (размытие того, что под ней) */
::-webkit-scrollbar-track {
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(10px); /* Размывает контент страницы под скроллбаром */
    border-radius: 10px;
    margin: 4px;
}

/* Убираем стандартные кнопки скроллбара (стрелочки), чтобы не портили вид */
::-webkit-scrollbar-button {
    display: none;
}


/*css lazer */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: Arial, sans-serif; background: #f9f9f9; color: #333; }
.container { width: 95%; max-width: 1200px; margin: 0 auto; }

/* Шапка */
header { background: #2c3e50; color: #fff; padding: 20px 0; text-align: center; }
header h1 { font-size: 2em; }
/* Контейнер переключателя */
.pagesBlockuz1,
.pagesBlockuz2 {
 text-align: center;
 padding: 15px 0;
 margin: 20px 0;
}

/* Ссылки страниц */
.pagesBlockuz1 a,
.pagesBlockuz2 a {
 display: inline-block;
 padding: 8px 14px;
 margin: 0 5px;
 background: #eee;
 color: #333;
 text-decoration: none;
 border-radius: 4px;
 font-size: 14px;
 transition: background 0.2s, color 0.2s;
}

/* Текущая страница */
.pagesBlockuz1 b,
.pagesBlockuz2 b {
 display: inline-block;
 padding: 8px 14px;
 margin: 0 5px;
 background: #00ffbb;;
 color: #fff;
 border-radius: 4px;
 font-weight: bold;
}

/* Ховер эффекты */
.pagesBlockuz1 a:hover,
.pagesBlockuz2 a:hover {
 background: #00ffbb;;
 color: #fff;
}

/* Точки при большом количестве страниц */
.swchItemDots {
 padding: 8px 10px;
 color: #666;
 font-size: 14px;
}

/* Меню */
nav { background: #34495e; }
nav ul { display: flex; flex-wrap: wrap; list-style: none; justify-content: center; align-items: center; }
nav ul li { margin: 0 15px; }
nav ul li a { display: block; padding: 10px 5px; color: #fff; text-decoration: none; font-weight: bold; }
nav ul li a:hover { border-color: #00ffbb;background: #1abc9c; border-radius: 50px; }

/* Поиск */
nav form { margin-left: 20px; }
nav input[type="text"] { padding: 7px; border-radius: 5px; border: none; }
nav button { padding: 7px 10px; border:none; background: #1abc9c; color:#fff; border-radius:5px; cursor:pointer; }
nav button:hover { background:#16a085; }

/* Контент */
main { padding: 20px 0; }
.allEntries { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.allEntries div { background:#fff; border-radius:10px; padding:10px; box-shadow:0 0 10px rgba(0,0,0,0.1); text-align:center; transition: transform 0.3s; }
.shun div:hover { border-style: dotted dashed solid double;border-color: #00ffbb;background:#1abc9c;transform: scale(1.05); }
.allEntries img { width:100%; border-radius:10px; }
.allEntries h3 { margin:10px 0; font-size:1.1em; }
#allEntries {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 20px;
}

/* Футер */
footer { background: #2c3e50; color: #fff; text-align: center; padding: 15px 0; margin-top: 20px; }

/* Адаптивность */
@media(max-width:768px){ 
 nav ul { flex-direction: column; }
 nav form { margin:10px 0; }
}


/* Адаптивность */
@media(max-width:768px){ 
 nav ul { flex-direction: column; }
 nav form { margin:10px 0; }
}
.item-slider-box {
 max-width: 900px;
 margin: 0 auto;
 padding: 15px;
}

/* Название */
.item-title {
 text-align: center;
 font-size: 26px;
 margin-bottom: 15px;
 color: #222;
}

/* Слайдер */
.slider {
 position: relative;
 overflow: hidden;
 border-radius: 12px;
 background: #f2f2f2;
}

.slides {
 display: flex;
 transition: transform 0.4s ease;
}

.slides img {
 width: 100%;
 height: 420px;
 object-fit: contain;
 flex-shrink: 0;
 background: #fff;
}

/* Кнопки переключения */
.nav {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 background: rgba(0,0,0,0.6);
 color: #fff;
 border: none;
 font-size: 30px;
 padding: 6px 14px;
 cursor: pointer;
 border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Кнопка скачать */
.download-btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 margin: 20px auto 0;
 padding: 14px 28px;
 background: #007acc;
 color: #fff;
 text-decoration: none;
 font-size: 18px;
 border-radius: 8px;
 transition: background 0.25s, transform 0.15s;
}

.download-btn .icon {
 margin-right: 8px;
 font-size: 20px;
}

.download-btn:hover {
 background: #005fa3;
 transform: translateY(-2px);
}

/* Адаптив */
@media (max-width: 600px) {
 .slides img {
 height: 260px;
 }
}
/* 1. Сетка-контейнер для всех блоков (если их много) */
.shun-wrapper {
    display: flex;
    flex-direction: column; /* На мобилках в одну колонку */
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 10px;
}

/* 2. Основной блок .shun */
dlazer.shun {
    display: block !important;
    width: 100% !important;
    max-width: 350px !important; /* Ограничиваем ширину, чтобы не было гигантским */
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

.shun a {
    text-decoration: none !important;
    display: block !important;
}

/* 3. Контейнер внутри ссылки */
.shun div {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important; /* Делает все блоки одной высоты в ряду */
    background: #222 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #333;
}

/* 4. АДАПТАЦИЯ ФОТО (Делаем все фото одинаковыми) */
.shun img {
    width: 100% !important;
    height: 200px !important; /* ФИКСИРОВАННАЯ ВЫСОТА для единообразия */
    object-fit: cover !important; /* Обрезает лишнее, не растягивая лица/объекты */
    display: block !important;
}

/* 5. АДАПТАЦИЯ ТЕКСТА */
.shun h3 {
    padding: 15px !important;
    margin: 0 !important;
    font-size: 18px !important;
    color: #fff !important;
    text-align: center !important;
    flex-grow: 1 !important; /* Растягивает блок текста, если он короткий */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    word-wrap: break-word !important;
}

/* Настройка для маленьких экранов (iPhone SE и т.д.) */
@media (max-width: 360px) {
    dlazer.shun {
        max-width: 290px !important;
    }
    .shun img {
        height: 160px !important; /* Чуть уменьшаем высоту фото на крошечных экранах */
    }
}

