/* Уникальные стили для модального окна */
.custom-modal {
    display: none; /* По умолчанию окно скрыто */
    justify-content: center;
    align-items: center; /* Центрируем по горизонтали и вертикали */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Фон затемнения */
    z-index: 2000; /* Увеличиваем z-index, чтобы окно было выше галереи */
    padding: 20px;
    box-sizing: border-box;
}

.custom-modal-content {
    max-width: 500px; /* Максимальная ширина окна */
    width: 100%;
    max-height: 80vh; /* Ограничиваем высоту */
    background-color: var(--hntrgrnd-color);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    text-align: left;
    overflow-y: auto;
    color: #dde3f4; /* Цвет текста */
    font-family: 'Arial', sans-serif; /* Шрифт */
    margin-bottom: 20px; /* Отступ снизу для отделения от края экрана */
}

.custom-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgba(8, 60, 79, 0.2); /* Цвет кнопки закрытия */
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.custom-modal-content p {
    color: #dde3f4; /* Цвет текста */
    font-size: 16px;
    margin-bottom: 10px;
}

.custom-modal-content strong {
    color: #fff; /* Цвет выделенного текста */
    cursor: pointer;
    transition: box-shadow 0.3s ease, color 0.3s ease; /* Добавляем плавный эффект */
}

/* Эффект свечения при наведении */
.custom-modal-content strong:hover {
    color: #d4ebf9; /* Цвет свечения при наведении */
    box-shadow: 0 0 8px #d4ebf9, 0 0 16px #d4ebf9; /* Эффект свечения */
}
