body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #333;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: #1e90ff;
  /* Синий */
  color: white;
  padding: 20px 0;
  text-align: center;
}

header .container {
  padding: 0;
}

nav {
  margin: 20px 0;
  text-align: center;
  padding: 20px 0;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  /* Добавлено для удаления возможных отступов */
}

nav ul li {
  display: inline;
  margin-right: 15px;
}

nav ul li:last-child {
  margin-right: 0;
  /* Убираем отступ у последнего элемента */
}

nav a {
  color: white;
  text-decoration: none;
}

.content {
  margin: 20px 0;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

footer {
  text-align: center;
  padding: 20px 0;
  background-color: #1e90ff;
  /* Синий */
  color: white;
}

footer .container {
  padding: 0;
}

/* Стили для галереи */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.gallery-item {
  flex: 1 1 200px;
  max-width: 200px;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  transition: transform 0.3s ease-in-out;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Дополнительные стили для страницы персонала */
.profile {
  display: flex;
  align-items: flex-start;
}

.profile img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  margin-right: 20px;
}

.profile-info {
  max-width: calc(100% - 240px);
  /* Убедиться, что текст не перекрывает изображение */
}

h2 {
  margin-top: 0;
}

a {
  color: #1e90ff;
  /* Синий */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Стили для формы на странице админки */
form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 15px;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
}

textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  background-color: #1e90ff;
  /* Синий */
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: #1c86ee;
  /* Немного более тёмный синий */
}

.logout {
  margin-top: 20px;
}

.logout a {
  color: #1e90ff;
  /* Синий */
  text-decoration: none;
  font-weight: bold;
}

.logout a:hover {
  text-decoration: underline;
}
