html {
  scroll-behavior: smooth;
}

body{
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    box-shadow: border-box;
    background-color: #000000;

}


.parallax{
    background: url('../assets/природа0.gif');  
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


h5 {
  margin-top: 90px; 
  margin-bottom: -40px;
  text-align: center;
  background-color: #2259ff;
  text-align: center;
  font-size: 40px;
  font-weight: 1000;
  color: #ffffff;
  padding: 10px 10px 20px 10px;
}

@media (max-width:700px) {
  h5 {
    font-size: 25px;
  }
}


.top-buttons {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.button-small {
  width: 180px;
  padding: 20px 40px;
  background-color: #2259ff;
  color: white;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.button-small:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.button-small:active {
  transform: scale(1.05);
}

.grid {
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(3, 0fr);
  gap: 30px;
  margin-bottom: 150px;
}

.button-large {
  width: 250px;
  height: 160px;
  background-color: #ffffff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.button-large img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  border-radius: 50%; 
}

.button-large span {
  font-size: 16px;
  color: #333;
}

.button-large:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.button-large:active {
  transform: scale(1.05);
}

@media (max-width: 700px) {

  .top-buttons {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 40px;
  }

  .grid {
    grid-template-columns: repeat(2, 0fr);
  }

  .button-small {
      padding: 10px 12px;
      font-size: 17px;
      border-radius: 20px;
  }

  .button-large {
      width: 120px;
      height: 120px;
  }

  .button-large img {
      width: 60px;
      height: 60px;
  }

  .button-large span {
      font-size: 13px;
  }
}

/* Основные стили заголовков */
h1, h2, h3 {
  font-weight: 700;
  color:#333
}

h1, h2 {
  text-align: center;
}

.unique-sub-title {
  margin-top: 0px; /* Увеличиваем отступ сверху */
  margin-bottom: 10px; /* Увеличиваем отступ снизу */
}

/* Существующие стили остаются без изменений */

p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  font-size: 10px;
}

/* Уникальные стили для блока текста */
.unique-text-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
  background-color: rgb(228, 227, 227);
  border: 2px solid #1d3df5;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.unique-text-container p {
  text-align: left;
}

/* Уникальный текстовый контейнер на мобильных устройствах */
@media (max-width: 450px) {
  .unique-text-container {
    padding: 20px; /* Увеличиваем отступы внутри контейнера */
    margin: 0 15px; /* Добавляем отступы от краев экрана */
  }
  .unique-sub-title {
    margin-top: 0px; /* Увеличиваем отступ сверху */
    margin-bottom: 10px; /* Увеличиваем отступ снизу */
  }
}

/* Центрирование заголовков внутри блока */
.unique-text-container h1, .unique-text-container h2 {
  text-align: center;
}

/* Стили кнопки */
.unique-custom-button {
  display: inline-block;
  padding: 15px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 22px;
  text-align: center;
  margin-top: 15px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.unique-custom-button:hover {
  background-color: #0056b3;
}

/* Центрирование кнопки */
.unique-text-container {
  text-align: center; /* Центрируем содержимое внутри контейнера, включая кнопку */
}

/* Параллакс-контент */
.parallax-content.unique-content {
  background: rgba(214, 213, 224, 0.608);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  width: 100vw; /* Растягиваем блок на всю ширину окна */
  height: auto;
  padding-top: 30px;
  padding-bottom: 50px;
  text-align: center;
}



.parallax-content.unique-content p {
  font-size: 16px; /* Размер шрифта для текста */
}

/* Стили для ряда с фотографиями */
.photo-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 30px 0;
}

.photo-box {
  flex-basis: 23%;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background-color: white;
  text-align: center;
}

.photo-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.photo-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
  text-align: center;
}

/* Стили для заголовка "Новости" */
.news-header {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
}

/* Мобильные стили для новостей и фотографий с горизонтальной прокруткой */
@media (max-width: 768px) {
  .photo-row {
      display: flex;
      justify-content: flex-start;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
  }

  .photo-box {
      min-width: 80%;
      flex: 0 0 auto;
      margin-right: 20px;
      scroll-snap-align: start;
  }

  .photo-box img {
      width: 100%;
      height: auto;
  }

  .photo-caption {
      text-align: center;
      max-width: 100%;
  }
}

/* Дополнительные стили для мобильных устройств */
@media (max-width: 480px) {
  .unique-text-container {
      padding: 15px;
      font-size: 14px;
  }

  .unique-custom-button {
      font-size: 16px;
  }

  .news-header {
      font-size: 28px;
  }

  .photo-caption {
      font-size: 12px;
  }
}

/* Основной контейнер карусели */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  margin-top: 25px;
}

/* Внутренний контейнер, который будет прокручиваться */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Блок для каждой новости */
.carousel-item {
  min-width: 33.33%;
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
}

.carousel-item img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 10px;
}

/* Стили для текста внутри каждой новости */
.carousel-item p {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: center;
  color: #333;
}

/* Стили для даты */
.carousel-item span {
  font-size: 14px;
  color: #000000;
  display: block;
  margin-top: 5px;
}

/* Мобильные стили для карусели: показываем только одну новость */
@media (max-width: 768px) {
  .carousel-item {
      min-width: 100%; /* Показываем только одну новость */
  }
}

/* Заголовок "Новости" */
.news-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

/* Мобильная адаптация основного блока */
@media (max-width: 768px) {
  .parallax-content.unique-content {
      padding: 30px 10px;
  }

  .unique-text-container {
      max-width: 100%;
      padding: 15px;
  }

  h1, h2 {
      font-size: 24px;
  }

  p {
      font-size: 14px;
  }
}

@media (max-width: 450px) {
  .parallax-content.unique-content {
      padding: 20px 5px;
  }

  .parallax-content.unique-content{
    padding-top: 50px;
    padding-bottom: 0;
  }

  .unique-text-container {
      padding: 20px;
      margin: 0 10px; /* Добавлен отступ от краев */
  }

  h1, h2 {
      font-size: 20px;
  }

  p {
      font-size: 12px;
  }

  .unique-custom-button {
      font-size: 14px;
      padding: 14px 18px;
  }

  .carousel-item p {
      font-size: 14px;
  }

  .carousel-item span {
      font-size: 12px;
  }
}



.slaider {
  background-color: #00000000;
  width: 100%;
  float: center;
  height: 800px;
  margin-bottom: -600px;
  margin-top: 1100px;
  position: absolute;
}

/*снизу всё что к менюшке*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  border: none;
  outline: none;
  text-decoration: none;
}


section {
  padding: 0rem 2%;
} 

.header {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 10px #000;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 100;
  border-radius: 50px;
  line-height: 35px;
  padding-right: 20px;
}

.header .logo img {
  width: 70px;
  height: 70px;
  position: relative;
  margin-left: 25px;
  margin-top: 10px;
}



.navbar a {
    margin: 0 15px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease; /* Плавный переход цвета текста */
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: blue;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease; /* Плавное появление черты */
}

.navbar a:hover::after {
    width: 100%; /* Черта появляется полностью при наведении */
}

.navbar a:hover {
    color: black; /* Оставляем цвет текста неизменным при наведении */
}


#menu {
  cursor: pointer;
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
}

.logo img {
  height: 50px;
}

.navbar a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  transition: color 0.3s ease; /* Плавный переход цвета текста */
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: blue;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease; /* Плавное появление черты */
}

.navbar a:hover::after {
  width: 100%; /* Черта появляется полностью при наведении */
}

.navbar a:hover {
  color: black; /* Оставляем цвет текста неизменным при наведении */
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  margin-right: 20px;
}

.burger .line {
  width: 30px;
  height: 3px;
  background-color: black;
}

/* Адаптивность для мобильных устройств */
@media (max-width:1300px) {
  section {
      padding: 0rem 5%;
    line-height: 35px;
  }
  html {
    font-size: 80%;
  }
  }
  
  @media (max-width:1250px) {
  section {
      padding: 0rem 5%;
    line-height: 35px;
  }
  html {
    font-size: 80%;
  }
  }
  
  @media (max-width:1200px) {
  section {
    padding: 0rem 5%;
  line-height: 35px;
  }
  html {
  font-size: 80%;
  }
  }
  
  @media (max-width:1150px) {
  section {
    padding: 0rem 5%;
  line-height: 35px;
  }
  html {
  font-size: 80%;
  }
  }
  
  @media (max-width:1100px) {
  section {
    padding: 0rem 5%;
  line-height: 35px;
  }
  html {
  font-size: 80%;
  }
  }
  
  @media (max-width:1050px) {
  section {
    padding: 0rem 5%;
  line-height: 35px;
  }
  html {
  font-size: 80%;
  }
  }
  
  @media (max-width:1000px) {
  section {
    padding: 0rem 5%;
    line-height: 35px;
  }
  html {
  font-size: 80%;
  }
  .parallax-content p {
    font-size: 16px
    }
      .parallax-content h1 {
        font-size: 26px;
        margin-top: -40px;
        margin-bottom: -90px;
        }
        .custom-button {
          font-size: 20px;
        }
        .title {
          font-size: 30px;
        }
        .container p {
          font-size: 30px;
        }
  }
  
  @media (max-width:950px) {
  section {
    padding: 0rem 5%;
  line-height: 35px;
  }
  html {
  font-size: 80%;
  }
  }
  
  @media (max-width:900px) {
  section {
    padding: 0rem 5%;
  line-height: 35px;
  }
  html {
  font-size: 80%;
  }
  }
  
  @media (max-width:887px) {
    section {
      padding: 0rem 5%;
    line-height: 35px;
    }
    html {
    font-size: 70%;
    }
    }
  
  @media (max-width:850px) {
  section {
    padding: 0rem 5%;
  line-height: 35px;
  }
  html {
  font-size: 70%;
  }
  }
  
  @media (max-width:800px) {
  section {
  padding: 0rem 5%;
  line-height: 35px;
  }
  html {
  font-size: 60%;
  }
  }
  
  @media (max-width:700px) {
    section {
    padding: 0rem 5%;
    line-height: 35px;
    }
    html {
    font-size: 65%;
    }
    .container p {
      font-size: 20px;
    }
  }
@media (max-width: 500px) {
  .navbar {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px;
      right: 0;
      background-color: white;
      width: 100%;
      text-align: center;
      padding: 20px 0;
  }

  .navbar.active {
      display: flex;
  }

  .burger {
      display: flex;
  }

  .navbar a {
      margin: 10px 0;
      font-size: 20px;
  }
}
  
  /*сверху всё что к менюшке*/


  /*снизу всё что к red blue yellow*/
  
  .container {
    background: rgba(214, 213, 224, 0); /* Фон контейнера */
    display: flex;
    background-size: cover;
    flex-direction: column;
    justify-content: center;
    padding: 50px 0 25px 0; 
    width: 100%;
    margin: 0 auto;
    padding: 0px;
  }
  
  
  .unique-slider-wrapper {
    position: relative;
    width: 80%; /* Слайдер занимает 80% экрана */
    height: auto;
    overflow: hidden;
    background-color: #fff; /* Фон белого цвета */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легкая тень */
    border-radius: 10px; /* Закругленные углы */
  }
  
  .unique-slider {
    margin-top: 0px;
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  
  .unique-slide {
    min-width: 100%;
    position: relative;
  }
  
  .unique-slide img {
    width: 90%; /* Установить ширину изображения 80% */
    height: 90vh; /* Установить высоту % от видимой области */
    object-fit: cover; /* Масштабирование изображений */
    margin: 0 auto; /* Центрирование изображения */
    display: block;
}

  
  /* Для кнопок управления слайдером */
button.unique-prev,
button.unique-next {
    position: absolute; /* Устанавливаем абсолютное позиционирование */
    top: 50%; /* Центрируем по вертикали относительно слайдера */
    transform: translateY(-50%); /* Смещаем вверх на 50% высоты кнопки */
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
    border: none; /* Убираем границу */
    color: white; /* Белый цвет текста */
    font-size: 50px; /* Размер текста */
    border-radius: 10px; /* Закругление углов */
    padding: 10px; /* Внутренние отступы */
    cursor: pointer; /* Указатель "рука" при наведении */
    z-index: 10; /* Устанавливаем кнопки выше других элементов */
}

/* Левая кнопка */
button.unique-prev {
    left: 10px; /* Располагаем кнопку с отступом от левого края */
}

/* Правая кнопка */
button.unique-next {
    right: 10px; /* Располагаем кнопку с отступом от правого края */
}

/* Hover эффект */
button.unique-prev:hover,
button.unique-next:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Более темный фон при наведении */
}

  

  #audit {
    position: absolute;
    left: 50%; /* Устанавливаем левую границу в 50% от родителя */
    transform: translateX(-50%) translateY(-200%); 
    font-size: 250%;
    margin-bottom: 0; /* Убираем лишний отступ после текста */
  }

  @media (max-width:500px) {
    #audit {
        position: absolute;
        left: 50%; /* Устанавливаем левую границу в 50% от родителя */
        transform: translateX(-50%) translateY(-150%); 
        font-size: 135%;
        margin-bottom: 0; /* Убираем лишний отступ после текста */
    }
  }

  #training {
    position: absolute;
    left: 50%; /* Устанавливаем левую границу в 50% от родителя */
    transform: translateX(-50%) translateY(-200%); 
    font-size: 250%;
    margin-bottom: 0; /* Убираем лишний отступ после текста */
  }

  @media (max-width:500px) {
    #training {
        position: absolute;
        left: 50%; /* Устанавливаем левую границу в 50% от родителя */
        transform: translateX(-50%) translateY(-150%); 
        font-size: 135%;
        margin-bottom: 0; /* Убираем лишний отступ после текста */
    }
  }

  #implementation {
    position: absolute;
    left: 50%; /* Устанавливаем левую границу в 50% от родителя */
    transform: translateX(-50%) translateY(-200%);  
    font-size: 250%;
    margin-bottom: 0; /* Убираем лишний отступ после текста */
  }

  @media (max-width:500px) {
    #implementation {
        position: absolute;
        left: 50%; /* Устанавливаем левую границу в 50% от родителя */
        transform: translateX(-50%) translateY(-150%); 
        font-size: 125%;
        margin-bottom: 0; /* Убираем лишний отступ после текста */
    }
  }

  #deadpool {
    position: absolute;
    left: 50%; /* Устанавливаем левую границу в 50% от родителя */
    transform: translateX(-50%) translateY(-200%); 
    font-size: 250%;
    margin-bottom: 0; /* Убираем лишний отступ после текста */
  }

  @media (max-width:500px) {
    #deadpool {
        position: absolute;
        left: 50%; /* Устанавливаем левую границу в 50% от родителя */
        transform: translateX(-50%) translateY(-100%); 
        font-size: 135%;
        margin-bottom: 0; /* Убираем лишний отступ после текста */
    }
  }

  
  @media (max-width: 500px) {
    button {
      top: 23%;
      font-size: 25px;
    }
    
    .unique-slider {
      margin-top: 90px;
    }
    .unique-slide img {
      height: 28vh;
    }
  }
  
  
  /* Стили для блока "Ближайшее обучение" */


/* Общий контейнер */


/* Уникальный слайдер */
.unique-slider {
  width: 100%;
  margin-bottom: 0;

}

.unique-slide {
  text-align: center;
  margin: 0 auto;
}

/* Schedule section */
.schedule {
  margin-top: 100px;
  padding: 0px;
  background: transparent;
}

.schedule p {
  color: white;
  text-align: left;
}

.schedule h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 35px;
}

.schedule .knopki {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.blue-knopka {
  background-color: #007bff; /* Цвет фона кнопки */
  padding: 15px 30px;
  margin: 0 10px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 20px;
  color: white; /* Цвет текста */
  text-align: center;
  display: inline-block; /* Для правильного центрирования текста */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Плавные эффекты */
}

.blue-knopka:hover {
  transform: translateY(-3px); /* Поднимаем кнопку */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Добавляем тень */
}

.blue-knopka a {
  color: white; /* Цвет текста */
  text-decoration: none; /* Убираем подчеркивание */
}

.blue-knopka a:hover {
  color: white; /* Оставляем цвет текста неизменным */
}

.knopki {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.cachel {
  width: 100%;
  overflow: hidden; /* Скрываем содержимое, выходящее за пределы контейнера */
  position: relative;
}

.cachel-track {
  display: flex; /* Выстраивает слайды в линию */
  transition: transform 0.3s ease-in-out; /* Анимация для переключения */
}

@media (max-width:700px) {
  .cachel-track {
    display: flex; /* Выстраивает слайды в линию */
    transition: transform 0.3s ease-in-out; /* Анимация для переключения */
    width: max-content; /* Автоматически растягивает трек */
  }
  .cachel-slide {
    width: 100%; /* Ограничивает ширину слайда */
    max-width: 100%; /* Гарантирует, что слайд не будет больше контейнера */
    padding: 20px; /* Добавляет внутренние отступы */
    box-sizing: border-box; /* Включает паддинги в расчет ширины */
  }
  .cachel-slide p, .cachel-slide div, .cachel-slide span {
    white-space: normal; /* Перенос текста */
    overflow: hidden; /* Прячем, если что-то все равно выходит за пределы */
    text-overflow: ellipsis; /* Добавляем многоточие, если текст не помещается */
  }
  .cachel-slide {
    display: flex;
    flex-direction: column; /* Столбец, чтобы текст шел вниз */
    align-items: flex-start; /* Выравнивание текста по левому краю */
  }
}

@media (max-width: 700px) {
  .cachel-slide {
    margin: 0; /* Убираем внешние отступы */
  }

  .cachel-slide-group {
    flex-wrap: nowrap; /* Отключаем перенос */
    justify-content: flex-start; /* Выравниваем группы по началу */
  }

  .schedule h2 {
    font-size: 24px; /* Адаптивный размер заголовка */
  }

  .schedule p {
    font-size: 14px; /* Уменьшение текста */
  }

  .blue-knopka {
    padding: 10px 20px;
    font-size: 16px;
  }

  .cachel-prev, 
  .cachel-next {
    padding: 10px 20px;
    font-size: 14px;
  }
}


.cachel-slide-group {
  display: flex;
  justify-content: space-between;
  min-width: 100%;
}

.cachel-slide {
  flex: 0 0 33.33%; /* Каждый слайд занимает треть ширины контейнера */
  margin: 0px; /* Убираем внешние отступы */
  padding: 20px;
  box-sizing: border-box;
  background-color: #007bff; /* Цвет фона слайда */
  color: white;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cachel-slide {
  white-space: normal; /* Разрешает перенос текста */
  overflow-wrap: break-word; /* Переносит длинные слова */
  word-wrap: break-word; /* Устаревшее, но поддерживается в старых браузерах */
  word-break: break-word; /* Поддержка переноса длинных слов */
  box-sizing: border-box; /* Учитывает паддинги при расчете ширины */
}



.cachel-prev,
.cachel-next {
  background-color: #007bff; /* Цвет фона для кнопок навигации */
  color: white;              /* Цвет текста для кнопок навигации */
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  margin: 0 10px;
  border-radius: 5px;
  font-size: 16px;
}

.cachel-prev:hover,
.cachel-next:hover {
  background-color: #000000; /* Цвет фона при наведении для кнопок навигации */
}

strong {
  color: rgb(255, 255, 255);
}

  hr {
    border: none; /* Убираем стандартные границы */
    height: 2px; /* Высота линии */
    background-color: rgb(255, 255, 255); /* Цвет линии */
    margin: 20px 0; /* Отступы сверху и снизу */
    width: 100%; /* Ширина на всю ширину родительского элемента */
  }

  .unique-sub-title {
    padding-bottom: 15px;
  }


/* Медиазапрос для экранов шириной менее 500px */
@media (max-width: 500px) {
  .schedule h2 {
    font-size: 24px; /* Уменьшение размера заголовка */
  }

  .schedule p {
    font-size: 14px; /* Уменьшение размера текста */
  }

  .blue-knopka {
    padding: 10px 20px; /* Уменьшение отступов для кнопок */
    font-size: 16px; /* Уменьшение размера шрифта кнопок */
  }
  .cachel-prev,
  .cachel-next {
    padding: 10px 20px; /* Уменьшение отступов для кнопок навигации */
    font-size: 14px; /* Уменьшение размера шрифта для кнопок навигации */
  }
}

/* Медиазапрос для экранов шириной менее 700px */
@media (max-width: 700px) {
  .cachel-slide {

    margin: 0; /* Убираем внешние отступы */
  }

  .cachel-slide-group {
    flex-wrap: nowrap; /* Убираем перенос */
    justify-content: flex-start; /* Выравниваем группы слайдов по началу */
  }
}

  
  /*сверху всё что к red blue yellow*/


  /*ниже все что к слайдеру*/


  .continent {
    position: relative;
    max-width: 500px; /* Максимальная ширина слайдера */
    margin: 50px auto; /* Центрирование слайдера */
    overflow: hidden; /* Скрываем лишнее */
    border-radius: 10px; /* Скругление углов */
  }
  .slider {
      display: flex; /* Flex для горизонтального размещения изображений */
      transition: transform 0.5s ease; /* Плавный переход при изменении положения */
  }
  .slide {
      min-width: 100%; /* Каждый слайд занимает 100% ширины контейнера */
      box-sizing: border-box; /* Учет отступов и границ в ширине */
  }
  img {
      width: 100%; /* Адаптивные изображения */
      border-radius: 20px; /* Скругление углов изображений */
  }
  .slider .slide:nth-child(4) {
    margin-top: 40%;
  }

  
  .snap {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(255, 255, 255, 0.7); /* Полупрозрачный фон */
      border: none;
      cursor: pointer;
      padding: 10px 15px;
      border-radius: 5px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      z-index: 10; /* Над другими элементами */
  }
  .snap-left {
      left: 10px; /* Положение кнопки слева */
  }
  .snap-right {
      right: 10px; /* Положение кнопки справа */
  }
  .bottom {
      position: absolute;
      bottom: 20px; /* Положение кнопки "Подробнее" */
      left: 50%;
      transform: translateX(-50%);
      background-color: #4A90E2;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 10px;
      cursor: pointer;
      font-size: 16px;
      z-index: 1; /* Над другими элементами */
  }
  /* Стиль для полного экрана */
  .fullscreen {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.759);
      justify-content: center;
      align-items: center;
      z-index: 100;
  }
  .fullscreen img {
      max-width: 40%;
  }

  @media (max-width:500) {
    .fullscreen img {
      max-width: 70%;
  }
  }

  .close-fullscreen {
      font-size: 200%;;
      position: absolute;
      text-align: center;
      margin-top: 65%;
      background: rgba(255, 0, 0, 0.7);
      color: white;
      border: none;
      padding: 10px;
      cursor: pointer;
      border-radius: 5px;
  }
 

  
 
 /*выше все что к слайдеру*/


 .animate-on-scroll {
  overflow: hidden;
  opacity: 0;
  transform: translateY(150px);
  transition: all 0.5s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}



  /*подвал снизу*/
  
  footer{
    width: 100%;
    height: auto;
    background: rgb(0, 0, 0);
    box-shadow: 0 -10px 10px #ffffff;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
    position: absolute;
    padding-bottom: 50px;
  }

footer a{
  color:white;
  font-size: 20px;
  margin-left: 20px;
}

footer nav a:hover{
  border-bottom: 1px solid white;
}

.graficlogo{
    margin-top: 30px;
    margin-bottom: 0px;
    width:200px;
    height:200px;
	  float:center;
    
}
.social img{
  margin-bottom: 20px;
  border-radius: 50%;
  height: 100px;
  width: 100px;
}

.social img:hover{
  border: 2px solid #ffffffe4;
}