

    /* Общие стили */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #f3e8ff, #dbeafe);
  color: #2d2d2d;
}


h1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0, auto;
  font-weight: bold;
  color: #4c1d95;
}

/* Внешний контейнер навигации */
.nav-wrapper {
  padding: 2rem 1.5rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

/* Внутренняя панель навигации */
nav {
  background-color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 25px;
  margin-bottom: 25px;
}

/* Увеличение изображений и отступов */
section > .flex > .flex img {
  border-radius: 0.5rem;
  width: 100%;
  height: 180px;
  margin-bottom: 0.5rem;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Мобильная адаптация */
max-width: 768px {
  #navLinks {
    display: none !important;
  }

  #mobileMenu {
    display: flex;
  }
}

/* Приветственная секция */
section > .flex {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  section > .flex {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}

section > .flex > .flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 0 0 150px;
}

section > .flex > .flex img {
  border-radius: 0.5rem;
  width: 100%;
  height: 100px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Текст справа от изображений */
.md\:ml-6 {
  margin-left: 0;
}

@media (min-width: 768px) {
  .md\:ml-6 {
    margin-left: 1rem;
  }
}

.md\:mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: 1rem;
}

.text-lg {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #2c2c2c;
  text-align: justify;
  white-space: pre-line;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

  /* Анимация появления */
  opacity: 0;
  animation: fadeIn 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

/* Анимация для плавного появления текста */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Навигационные кнопки */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  background-color: #ffffff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.btn-nav {
  padding: 0.75rem 1.5rem;
  background-color: #7c3aed;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  flex: 1 1 160px;
  text-align: center;
}

.btn-nav:hover {
  background-color: #6d28d9;
}




/* Секции */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #4c1d95;
}

.btn-add {
  background-color: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-add:hover {
  background-color: #1e40af;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .section-content {
    flex-direction: row;
    align-items: center;
  }

  .section-content.flex-row-reverse {
    flex-direction: row-reverse;
  }

  .section-content .text-left,
  .section-content .text-right {
    flex: 1;
  }
}

.section-content img {
  width: 100%;
  max-width: 400px;
  border-radius: 0.5rem;
}

/* Подвал */
footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #e5e7eb;
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 2rem;
}