* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    /* 弹性布局 */
    flex-direction: column;
    /* 主轴为垂直方向 */
    justify-content: center;
    /* 垂直居中 */
    align-items: center;
    /* 水平居中 */
    width: 100vw;
    font-family: "微软雅黑";
    font-size: 14px;
}

/*公共样式*/
.w {
    width: 1300px;
}

li {
    list-style: none;
}

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

/* <!-- 版心1200px ，最大宽度1400px -->
<!-- 常用字体颜色 ：#323232 ， #646464 ， #999999 -->
<!-- 设计尺寸规范
网页宽度：1920px
首屏高度：700-750px
主体内容区域：1200px

字体规范
常用中文字体：宋体、微软雅黑、苹方
常用英文字体：Arial、sans

中文字符常用尺寸：
导航文字14px、16px、18px、20px；
本文内容12px，14px；
标题22px、24px、26px、28px、30px；
辅助信息12px，14px。

英文字符常用尺寸：
标题10-16px；
本文内容10-16px；
底部信息最小10px。 --> */

/*==============================================================一锅粥导航栏开始==============================================================*/

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    /*vw表示视窗宽度*/

    height: 410px;
    background: linear-gradient(to right, #acecea, #f3d9e4);

}

/*==============================================================一锅粥导航栏导航标题开始========================================================*/

.nav-title {
    width: 1300px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    /* 固定定位 */
    top: 0;
    left: 50%;
    z-index: 999;
    transform: translateX(-50%);
    /* 居中 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-left {
    width: 100px;
    height: 60px;
    /* background-color: #fff; */
}

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

.nav-user {
    margin-right: 20px;
}

.nav-user::before {
    content: "";
    display: block;
    background: url(../img/user.svg) no-repeat center center;
    margin: 5px auto 5px;
    width: 20px;
    height: 20px;
}

.nav-right {
    height: 60px;
    /* 整体向右移动 */
    margin-left: 510px;
    /* background-color: #fff; */
}

.nav-right ul {
    /* 所有li在一行显示 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right ul li {
    margin: 20px 15px 20px 20px;
    /*四个5px代表上下左右的间距*/
}

.nav-right ul li a {
    font-size: 16px;
}

.nav-right ul li a:hover {
    color: #323232;
}

/*==============================================================一锅粥导航栏导航标题结束========================================================*/

.tip {
    position: absolute;
    top: 65px;
    right: 120px;
    width: 500px;
    height: 20px;
    /* background-color: #fff; */
}

/*==============================================================一锅粥导航栏结束==============================================================*/

/*主题色切换按钮位置*/
.mode {
    position: fixed;
    bottom: 150px;
    right: 10px;
    background-color: rgb(0, 0, 0, 0.2);
}


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

/*==============================================================一锅粥简介区域开始=============================================================*/
.content-intro {
    width: 100%;
    height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f3f3f3;
}

.content-intro ul {
    box-sizing: border-box;
    width: 100%;
    height: 88px;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #323232;
}

.content-intro ul p {
    text-align: left;

    margin: 10px 50px 0px 0px;
    /*依次为上右下左的外边距*/
    font-size: 12px;
}

/*==============================================================一锅粥简介区域结束=============================================================*/





/*====================================================一锅粥精彩推荐轮播图区域开始=============================================================*/
.content-lunbo {
    width: 100%;
    height: 450px;
    display: flex;
    margin-top: 30px;
}

.lunbo {
    width: 866px;
    height: 450px;
    position: relative;
}

/*设置轮播图的图片大小*/
.lunbo img {
    width: 866px;
    height: 450px;

}



/*设置轮播图的按钮*/
.lunbo-btn {
    position: absolute;
    bottom: 40px;
    left: 10%;
    transform: translateX(-50%);
    display: flex;
    /*设置按钮为行内块元素*/
    justify-content: space-between;
    /*按钮两端对齐*/
    width: 100px;
    height: 25px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.active {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    /*设置圆形按钮*/
    /* 按钮上下左右在span元素内居中 */
    margin-top: 5px;
    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-btn-prev {

    position: absolute;
    /*绝对定位*/
    top: 50%;
    /*按钮距离顶部距离*/
    left: 20px;
    /*按钮距离左侧距离*/
    transform: translateY(-50%);
    cursor: pointer;

}

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

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

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

}

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

.lunbo-right ul li {
    margin: 10px 0px;
    font-size: 14px;
}

/* 一锅粥精彩推荐右边推荐区域结束 */

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


/* 2024年9/24日更新 */
/*====================================================一锅粥tab标签区域开始区域开始=============================================================*/
.tab {
    display: flex;
    height: 490px;
    margin-top: 30px;
}

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

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

/* 将按钮设置为初始激活状态 */
.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-around;
    align-items: center;
    flex-wrap: wrap;

}

.tab-ul ul {
    display: flex;
    width: 370px;
    height: 200px;
    margin: 10px;
    background-color: #acecea;
}

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

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

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

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

.trailer {
    display: flex;
    justify-content: center;
    /*水平居中*/
    align-items: center;
    /*垂直居中*/
    height: 400px;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
}

.trailer ul li {
    width: 200px;
    height: 300px;
    margin: 0 auto;
    padding: 50px;
    font-size: 18px;
}

.trailer-left {
    width: 450px;
    height: 400px;
    background: linear-gradient(to right, #b2fbf8, #b0f6f3);
}

.trailer-center {
    width: 400px;
    height: 450px;
    background: linear-gradient(to right, #b0f6f3, #def7f6);
}

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

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