/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Cormorant, serif;
  background-color: white;
  color: #000;
  height: 100vh;
}

/* Сайдбар */
.sidebar {
  width: 25%;
  height: 100vh;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
}

/* Логотип и имя */
.brand {
  display: flex;
  align-items: flex-start; /* имя выравнено по верхнему краю картинки */
  gap: 12px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 20px; /* отступ вниз */
}

.logo {
  width: 100px;
}

.name {
  font-size: 22px;
  font-weight: 500;
  text-transform: lowercase;
  white-space: nowrap;
}

/* Активный пункт меню */
.selected {
  font-size: 18px;
  font-weight: 500;
  text-transform: lowercase;
  white-space: nowrap;
}

/* Ссылки в сайдбаре */
.sidebar a {
  text-decoration: none;
  color: black;
  font-size: 18px;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #555;
  text-decoration: none;
}

/* Контент справа */
.content {
  width: 75%;
  margin-left: auto;
  margin-right: 0;
  display: block;
  min-height: 100vh;
  background: white;
}

.main-image {
  margin-left: auto;
  margin-right: 0;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Меню */
.menu-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 18px;
}

.menu-toggle {
  cursor: pointer;
  font-size: 18px;
  color: black;
}

.submenu {
  display: none;
  flex-direction: column;
  margin-left: 10px;
  margin-top: 1px;
  margin-bottom: 10px;
  gap: 10px;
}

.submenu a {
  font-size: 16px;
  text-decoration: none;
  color: black;
}

/* Переключатель языка */
.language-switch {
  margin-top: auto; /* прижать к низу */
  display: flex;
  gap: 10px;
  font-size: 16px;
}
