* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'pingfang', 'Microsoft YaHei', sans-serif;
    }
            html,
    body {
      position: relative;
      height: 100%;
    }

    body {
      background: #fff;
      font-family: pingfang;
      font-size: 14px;
      color: #000;
      margin: 0;
      padding: 0;
    }
    @font-face{
    font-family: 'FZFeiFTJ-1';
    src: url('../font/FZFeiFTJ-1.otf') format('opentype');
}
@font-face{
    font-family: 'pingfang';
    src: url('../font/苹方字体.ttf') format('truetype');
}
@font-face{
    font-family: 'Tibet';
    src: url('../font/YagpoSambhotaUni.ttf') format('truetype');
}
     a {
      text-decoration: none;
      color: #333;
      font-family: 苹方;
    }
 /* 头部导航样式 */
    .header{
    width: 100%;
    height: 100px;
    background-color: rgba(71, 195, 206, 0.73);
    position: relative;
    z-index: 100;
}

.nav{
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-logo{
    width: 130px;
    margin: 15px 45px;
}
.nav-list{
    display: flex;
    list-style: none;
    align-items: center;
}
.nav-list li{
    margin: 30px 45px;
}
.nav-list li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    font-family: 苹方;
    position: relative; /* 为伪元素提供定位参考 */
    top: 2px;
    letter-spacing: 3px;
}

.nav-list li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px; /* 距离文字底部6px */
    transform: translateX(-50%); /* 水平居中 */
    width: 40px;
    height: 3px;
    background-color: #ffffff; /* 白色背景 */
    opacity: 0; /* 初始隐藏 */
    transition: opacity 0.3s ease; /* 过渡效果 */
}

.nav-list li a:hover::after {
    opacity: 1; /* 鼠标悬停时显示 */
}
.nav-login a{
    margin-left: 20px;
}
.breadcrumb {
   margin:50px;
   margin-bottom: 1.875rem;
   font-size: 16px;
   color: #999;
   margin-left: 270px;
   font-family: 苹方;
}

 /* 美食列表容器 */
    .food-list {
      width: 1100px;
      margin: 0 auto 40px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 56px;
    }
    .food-item {
      border: 1px solid #eee;
      border-radius: 8px;
      padding: 15px;
      transition: box-shadow 0.3s;
    } 
  
    .food-item {
      /* border: 1px solid #eee; */
      border-radius: 8px;
      padding: 15px;
      transition: box-shadow 0.3s;
      position: relative; /* 为图片标记提供定位参考   data-label*/
    }
  
    .food-item:hover {
      box-shadow: 0px 12px 12px  rgba(0,0,0,0.1);
    }
    .food-item img {
      width: 294px;
      height: 375.2px;
      object-fit: cover;
      border-radius: 20px;
      margin-bottom: 10px;
      display: block;
      text-align: center;
    }
    .food-item p {
      font-size: 20px;
      line-height: 1.3;
      font-family: 苹方;
      padding: 10px;
      text-align: justify;
    }
h5{
    font-size: 28px;
    font-family: 苹方;
}
    /* 图片右上角文字标记 - 默认隐藏 */
    .food-item::after {
      content: attr(data-label);
      position: absolute;
      top: 25px;
      right: 25px;
      background-color: rgba(255, 255, 255, 0.788);
      padding: 4px 8px;
      border-radius: 10px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      font-size: 18px;
      font-family: 苹方;
      color: #333;
      opacity: 0; /* 默认透明 */
      visibility: hidden; /* 默认不可见 */
      transition: opacity 0.3s, visibility 0.3s; /* 添加过渡效果 */
    }
    /* 鼠标悬停时显示文字标记 */
    .food-item:hover::after {
      opacity: 1;
      visibility: visible;
    }
     
      /* 底部 */
.footer {
    width: 100%;
    height: 220px;
    background-color: #00bcd4;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    font-size: 18px;
}