* {
    margin: 0;
    padding: 0;
}

body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    /* color: #000; */
    /* background-color: #f2f2f2; */
    overflow-x: hidden;
    /*隐藏滚动条*/
    -webkit-tap-highlight-color: transparent;
    /*去除点击高亮*/

}

/* 移动端设计规范
    屏幕尺寸：375px-667px
    导航栏60-100px
    导航文字14px-18px
    横幅banner高度300px-1080px  1080px是全屏banner 通常移动端高度为400-500px
    字体大小：14px-18px，不超过20px，22px 24px
    正文字体大小28px
    行高1.5-1.8
    主标题36px-40px
    副标题32px-34px
    圆角度数12px 16px
    标签图标大小 图标44px 文字22px
    搜索栏高度30-60px，宽200px-400px
    文本框高度30px-60px，宽200px-400px  ，按钮大小16-20px
    间距30-40px
*/
.temple {
    display: none;
    /*隐藏所有内容*/
}

/*公共样式*/

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    /* 去除字体颜色 */
}

.nav {
    height: 250px;
    background: linear-gradient(to right, #acecea, #f3d9e4);
}

/* 导航栏 */
.nav-title {
    display: flex;
    justify-content: space-between;
    /*水平居中*/
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    min-width: 320px;
    max-width: 540px;
    height: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    /* background-color: pink; */
}

/*导航栏左侧logo*/
.nav-left {
    width: 70px;
    height: 60px;
    /* background-color: #fff; */
}

.nav-left img {
    width: 100%;
    height: 100%;
}

/*导航栏右侧导航文字*/
.nav-right {
    font-size: 8px;
    /* background-color: #fff; */
}

.nav-right ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-right li {
    margin: 0 10px;
}

/*导航栏右侧"我的"设置*/
.nav-user {
    margin-right: 10px;
    font-size: 12px;
}

.nav-user::before {
    content: "";
    display: block;
    background: url(../img/user.svg) no-repeat center center;
    margin: 0px 0 0 0px;
    /*5 auto 5 代表上下左右居中*/
    width: 30px;
    height: 30px;
    background-size: 100%;
}

/*tip样式*/
.tip {
    position: absolute;
    top: 65px;
    right: 10px;
    width: 50%;
    height: 20px;
    font-size: 12px;
    /* background-color: #fff; */
}

/*nav-logo样式*/
.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

.nav-logo img {
    width: 100%;
    height: 100%;
}

.mode {
    position: fixed;
    top: 220px;
    right: 10px;
    background-color: rgb(0, 0, 0, 0.2);
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*2024年9/15日更新*/

/*====================================================一锅粥精彩推荐轮播图区域开始=============================================================*/
.content-intro {
    display: none;
}

.content-lunbo {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 150px;
    margin-top: 8px;
}

.lunbo-img img {
    width: 100%;
    height: 150px;
}

.lunbo-left {
    display: flex;
    flex: 2;
    margin-left: 5px;
    margin-right: 5px;
}



.bth {
    position: absolute;

}

.lunbo-btn {
    position: relative;
    bottom: 30px;
    left: 60%;
    transform: translateX(-50%);
    display: flex;
    /*设置按钮为行内块元素*/
    justify-content: space-between;
    /*按钮两端对齐*/
    width: 50px;
    height: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.active {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    /*设置圆形按钮*/
    /* 按钮上下左右在span元素内居中 */
    margin-top: 3px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    background-color: orange;
}

.lunbo-btn span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
}

.lunbo-btn span:hover {
    background-color: #fff;
    transform: scale(1.5);
}

.lunbo {
    position: relative;
}

.lunbo-btn-prev {

    position: absolute;
    /*绝对定位*/
    top: 50%;
    /*按钮距离顶部距离*/
    left: 5px;
    /*按钮距离左侧距离*/
    transform: translateY(-50%);
    /*按钮上下居中*/
    cursor: pointer;
    /*鼠标手势*/

}

/* 按钮显示 */
.lunbo-btn-prev span {
    transform: rotate(180deg);
}

.lunbo-btn-next {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    cursor: pointer;

}

/* 一锅粥精彩推荐右边推荐区域开始 */
.lunbo-right {
    display: flex;
    flex: 1;
    flex-direction: column;
    /*设置子元素为垂直方向*/
    justify-content: space-around;
    height: 150px;
    margin-left: 8px;
    background: linear-gradient(to right, #acecea, #f3d9e4);

}

.lunbo-right ul {
    box-sizing: border-box;
    margin-left: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.lunbo-right ul h4 {
    font-size: 8px;
}

.lunbo-right ul li {
    font-size: 6px;
    margin: 2px;
}



/* 一锅粥精彩推荐右边推荐区域结束 */
/*====================================================一锅粥精彩推荐轮播图区域开始=============================================================*/


/* 2024年9/24日更新 */

/*====================================================一锅粥tab标签区域开始============================================================*/


.tab {
    display: flex;
    height: 220px;
    margin-top: 30px;
}

/* 新的标签按钮样式 */
.tablinks {
    display: flex;
    height: 220px;
    flex-direction: column;
}

/* 标签按钮样式 */
.tab button {
    display: flex;
    justify-content: center;
    background-color: #f3d9e4;
    height: 100px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: 0.3s;
    /* margin-bottom: 5px; */
    /* 修改此处来设置标签的间距 */
}

/* 将按钮设置为初始激活状态 */
.tab button.activea {
    background-color: #acecea;
}

/* 内容区域样式 */
.tabcontent {
    display: flex;
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    flex: 1;
}

.tab-ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.tab-ul ul {
    box-sizing: border-box;
    display: flex;
    width: 65px;
    height: 90px;
    /* 设置margin的上为2px，下为10px，左右为10px */
    margin: 0px 10px 10px 10px;
    background-color: #acecea;
}

.tab-ul ul img {
    width: 100%;
    height: 100%;
}

/* 设置标签内容ul的样式为可换行 */
/* 当按钮激活时显示内容 */
.tab button.activea+.tabcontent {
    display: block;
}


/*====================================================一锅粥tab标签区域结束============================================================*/

/*====================================================一锅粥预告区域开始=======================================================================*/

.trailer {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 250px;
    margin-top: 30px;
    margin-bottom: 10px;
}
.trailer ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200px;
    margin: 0 auto;
    padding: 5px;
    font-size: 10px;
}
.trailer-left {
    display: flex;
    flex:1;
    height: 200px;
    background: linear-gradient(to right, #b2fbf8, #b0f6f3);
}

.trailer-center {
    display: flex;
    flex:1;
    height: 250px;
    background: linear-gradient(to right, #b0f6f3, #def7f6);
}

.trailer-right {
    display: flex;
    flex:1;
    /* width: 450px; */
    height: 200px;
    background: linear-gradient(to right, #def7f6, #f3d9e4);
}
.UpdateLog {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -35px;
    font-size: 10px;  
}
/*====================================================一锅粥预告区域结束=======================================================================*/


.test {
    display: flex;
    justify-content: center;
    align-items: center;
}
.test img{
    width: 100%;
    height: 100%;
    margin-top: 15px;
}
footer{
    width: 100%;
    height: 100px;
    background-color:#000;
    color:#fff;
    margin-top: 15px;
}
footer p{
    /* height: 100px; */
    line-height: 100px;
    font-size: 10px;
    text-align: center;
    align-items: center;
}