@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-VariableFont_wght.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat_bold";
  src: url("../fonts/Montserrat/static/Montserrat-Bold.ttf");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat";
}

.container_menu {
  max-width: 1366px;
  margin: 0 auto;
}

/* Heder меню */
.logo {
  /* margin-left: 100px; */
  margin-bottom: 10px;
}

.link_logo {
  display: flex;
  text-decoration: none;
  align-items: center;
}

.img_link_logo {
  animation: img_1 5s infinite;
}

@-moz-keyframes img_1 {
  100% {
    -moz-transform: rotateY(360deg);
  }
}

@-webkit-keyframes img_1 {
  100% {
    -webkit-transform: rotateY(360deg);
  }
}

@keyframes img_1 {
  100% {
    -webkit-transform: rotateY(360deg);
    transform: rotateY(360deg);
  }
}

.false_header {
  padding-bottom: 10px;
}

.menu_list {
  display: flex;
  justify-content: space-around;
  text-decoration: none;
  list-style: none;
  align-items: center;
  gap: 70px;
}

.menu_link {
  text-decoration: none;
  color: #541313;
  text-align: center;
  font-size: 14px;
  line-height: 96px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-items: center;
  font-family: "Montserrat_bold";
}
.text_logo {
  color: #541313;
}

/*Адаптив*/
.header_menu {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo {
  display: flex;
  justify-content: space-between; /* Центрируем логотип */
}

.burger {
  display: none; /* Скрываем бургер-меню по умолчанию */
  flex-direction: column;
  cursor: pointer;
  margin-right: 20px; /* Отступ справа */
}

.burger span {
  height: 3px;
  width: 30px;
  background-color: #541313;
  margin: 4px 0px;
  transition: 0.4s;
}

@media screen and (max-width: 1366px) and (min-width: 1024px) {
  .menu_list {
    margin-right: 10px;
  }
}

@media screen and (max-width: 1260px) {
  .menu_list {
    gap: 40px;
  }
}

@media screen and (max-width: 1125px) {
  .menu_list {
    gap: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .header_menu{
    justify-content: space-between;
  }
  .menu_list {
    display: none; /* Скрываем меню по умолчанию на мобильных */
    flex-direction: column; /* Вертикальное расположение */
    align-items: center; /* Центрируем элементы */
    width: 100%; /* Ширина меню на 100% */
    background-color: #f7f4f4; /* Цвет фона меню */
    position: absolute; /* Позиционируем меню */
    top: 60px; /* Отступ сверху */
    left: 0; /* Прижимаем к левому краю */
    z-index: 10; /* На переднем плане */
    gap: 0px;
  }

  .burger {
    display: flex; /* Показываем бургер-меню на мобильных */
  }

  .menu_link {
    line-height: 50px;
  }
}


