
    body {
      font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    background-color: #202020;
    color: #f0f0f0;
    text-align: center;
    padding: 10px 10px;
    margin: 0;
    transition: background-color 0.3s;
}






h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: #8d82fd;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
h2 {
    font-size: 2.0em;
    margin-bottom: 0.5em;
    color: #8d82fd;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 2em;
    color: #d0d0d0;
}
p2 {
    font-size: 0.7em;
    line-height: 1.6;
    margin-bottom: 2em;
    color: #d0d0d0;
}

.telegram-btn {
    display: inline-block;
   background: linear-gradient(45deg, #8d82fd, #bf8dfd);

    color: #ffffff;
    padding: 15px 30px;
    font-size: 1em;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.telegram-btn:hover {
    background: linear-gradient(45deg, #9d92ff, #7366d6);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
}

.carousel-container {
    max-width: 100%; /* Используйте 100%, чтобы контейнер слайдера занимал всю доступную ширину */
    margin: auto;
    overflow: hidden; /* Скрывает неактивные слайды за пределами контейнера */
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    flex: 0 0 auto; /* Это гарантирует, что flex-элементы (изображения) не сжимаются и не растягиваются */
    max-height: 350px;
    object-fit: cover;
    border: 3px #00bfa5;
    margin-right: 10px;
    /* Удалите max-width и используйте width, чтобы контролировать размеры изображения */
    width: calc(25% - 10px); /* Рассчитываем ширину каждого изображения как 25% контейнера минус отступ */
    box-sizing: border-box;
}

/* Отзывчивость */
@media (max-width: 1024px) {
    .carousel-slide img {
        width: calc(34.11% - 10px); /* Для планшетов покажем 3 изображения */
    }
}

@media (max-width: 768px) {
    .carousel-slide img {
        width: calc(52% - 10px); /* Для средних устройств покажем 2 изображения */
    }
}

@media (max-width: 480px) {
    .carousel-slide img {
        width: calc(52% - 10px); /* Для мобильных устройств покажем 1 изображение */
    }
}


.footer {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    text-align: center;
    border-radius: 0px 0px 10px 10px;
    position: relative;
    clear: both;
    max-width: 900px; /* Устанавливаем такую же ширину, как и у .carousel-container */
    margin: 20px auto; /* Автоматические отступы слева и справа для центрирования */
}

.footer::before {
    content: "";
    position: absolute;
    top: -3px; /* Отодвигаем псевдоэлемент наверх на толщину границы */
    left: 0;
    width: 100%;
    height: 3px;
   background-image: linear-gradient(45deg, #ff8cb4, #ff8cb4, #bf8dfd, #8d82fd);

    border-radius: 10px 10px 0 0; /* Применяем скругления только к верхним углам */
}


.footer-logo {
    width: auto;
    height: 80px;
    margin-bottom: 10px;
   
    padding: 5px; /* Немного пространства вокруг логотипа */
   
  
}



.footer p {
    font-size: 0.8em;
    margin-top: 0.5em;
}

.footer a {
    color: #00bfa5;
    transition: color 0.3s;
}



/* Добавление отзывчивости */
@media (max-width: 768px) {

    .footer-logo {
        height: 60px;
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.7em;
    }
    .telegram-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
 
    .footer-logo {
        height: 50px;
    }
    h1 {
        font-size: 1.5em;
    }
     h2 {
        font-size: 1.3em;
    }
    .telegram-btn {
        padding: 8px 16px;
        font-size: 0.8em;
    }
  

  #subscribersCount {
    font-size: 24px;
    margin-top: 20px;
    color: #fff;
  }
}
.telegram-group-image img {
    border-radius: 15px; /* Задаем радиус закругления */
  
}

 /* General styling for the container */
    .container {
        background-color: #1e1e1e; /* Dark background */
        padding: 20px; /* Padding around the content */
        border-radius: 10px; /* Rounded corners */
        max-width: 800px; /* Max width for readability */
        margin: 0 auto; /* Centered container */
    }

    /* Styling for text */
    .card-text {
        color: #f0f0f0; /* Light text for contrast */
        font-size: 1.1em;
        font-family: 'Noto Sans', sans-serif; /* Clean, sans-serif font */
        line-height: 1.5; /* Comfortable line spacing */
        margin-bottom: 15px; /* Space between paragraphs */
    }

    /* Styling for buttons */
    .telegram-btn {
        display: block;
        background-color: #9c88ff; /* Light purple background */
        color: #fff; /* White text */
        padding: 10px 20px; /* Padding around button text */
        border-radius: 5px; /* Rounded corners */
        text-align: center; /* Centered text */
        text-decoration: none; /* No underline */
        font-weight: bold; /* Bold text */
    }

    .telegram-btn:hover {
        background-color: #7d69da; /* Darker shade on hover */
    }

    /* Styling for links */
    .link-info {
        color: #9c88ff; /* Light purple links */
        text-decoration: none; /* No underline by default */
    }

    .link-info:hover {
        text-decoration: underline; /* Underline on hover */
    }

    /* Footer styling */
    .footer {
        background-color: #1e1e1e; /* Dark background */
        padding: 10px; /* Padding around content */
        text-align: center; /* Centered text */
        color: #f0f0f0; /* Light text */
    }

    .footer a {
        color: #9c88ff; /* Light purple links */
        text-decoration: none; /* No underline by default */
    }

    .footer a:hover {
        text-decoration: underline; /* Underline on hover */
    }
    
       .tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            padding: 0;
            list-style: none;
        }
        .tag-item {
            background: #f2f2f2;
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 5px 10px;
            margin: 5px;
            font-size: 14px;
            color: #333;
            flex: 1 1 calc(10% - 30px); /* четыре колонки */
            text-align: center;
        }
        @media (max-width: 1200px) {
            .tag-item {
                flex: 1 1 calc(10% - 20px); /* три колонки */
            }
        }
        @media (max-width: 900px) {
            .tag-item {
                flex: 1 1 calc(20% - 20px); /* две колонки */
            }
        }
        @media (max-width: 600px) {
            .tag-item {
                flex: 1 1 20%; /* одна колонка */
            }
        }