/* Общие стили для сайта */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background-color: #1c1c1c; /* Чёрный фон */
  color: #dcdcdc;
}

/* Верхнее меню */
.top-menu {
  background-color: #111; /* Темный фон */
  padding: 20px 35px;
  border-radius: 0 0 12px 12px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  position: relative;
  animation: slideDown 0.6s ease;
}

.top-menu a {
  color: #00bfff; /* Синие ссылки */
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.top-menu a:hover {
  background-color: #00bfff; /* Синяя подсветка при наведении */
  color: white;
}

/* Фреймы */
.frame {
  background-color: #2a2a2a;
  margin: 20px;
  padding: 30px;
  border-radius: 12px;
  font-size: 16px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.frame:nth-child(2) { animation-delay: 0.3s; }
.frame:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Анимация меню */
@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Стили для кнопок */
.button {
  background-color: #00bfff; /* Синий фон */
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #0077b3; /* Тёмно-синий при наведении */
}
/* Стили для блога */
.blog-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 80%;
  max-width: 1000px;
  margin: 30px auto;
}

.blog-post {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: scale(1.03);
}

.blog-post h3 {
  font-size: 24px;
  color: #ff8c00; /* Оранжевый для заголовков */
  margin-bottom: 15px;
}

.blog-post p {
  font-size: 16px;
  margin-bottom: 20px;
}

.blog-post a {
  color: #00bfff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border: 2px solid #00bfff;
  padding: 10px 20px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.blog-post a:hover {
  background-color: #00bfff;
  color: white;
}

.blog-post .date {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}
/* Стиль блог полная статьи */
.article-container {
  max-width: 900px;
  margin: 40px auto;
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.article-container h1 {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.article-container .date {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
  text-align: center;
}

.article-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.article-container p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8;
}

.article-container p:last-of-type {
  margin-bottom: 0;
}

.article-container a {
  display: inline-block;
  background-color: #00bfff;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  margin-top: 20px;
}

.article-container a:hover {
  background-color: #0088cc;
  transform: translateY(-5px);
}