/* 引入字体文件 */

@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/MyriadPro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Nexa';
  src: url('../fonts/Nexa-Heavy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Nexa', Arial, sans-serif;
  color: #777777;
  letter-spacing: 1px;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 0;
  background: url('../img/back.png') center center fixed;
  text-align: center;
}

.logo img {
  padding: 40px 0;
  max-width: 280px;
}

.cate {
  padding-bottom: 40px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 20px 0;
}

.cate-item img {
  max-width: 300px;
}

.menu {
  display: flex;
  flex-direction: column; /* 修改为竖向排列 */
  flex-wrap: wrap;
  align-items: center; /* 添加此行使内容水平居中 */
  
}


.category img {
  max-width: 300px;
}

.menu-item {
  max-width: 300px;
}

.back-btn img {
  max-width: 300px;
}

.menu-item img {
  max-width: 300px;
  border: 2px solid #9b1022;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); /* 修改为三角形效果 */
}

.price {
  display: flex;
  justify-content: space-between; /* 修改为两端对齐 */
}

.price h4 {
  color: #9b1022;
  font-size: 16px;
  margin-top: 15px;
  margin-bottom: 0;
}

.title h4 {
  text-align: left;
  color: #084220;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 15px;
}

.menu-item {
  border-bottom: 2px solid #9b1022;
}

.menu-item img {
  border: 2px solid #9b1022;
}

.name {
  text-align: left;
  margin-right: 20px;
}