
.container{
    width: 95vw;
    max-width: 1200px;
    height: 460px;
    position: relative;
    overflow: hidden;
}
.banner{
    width: 1100px;
    height: 500px;
    position: relative;
    overflow: hidden;
}
.banner-slide{
    width: 100%;
    height: 100%;
    /* 默认都隐藏 */
    display: none;
}
.slide1{
    background: url("../images/UrbanCuisine/北京烤鸭.jpg") no-repeat;
}
.slide2{
    background: url("../images/UrbanCuisine/油墩子.jpg") no-repeat;
}
.slide3{
    background: url("../images/UrbanCuisine/驴打滚.jpg") no-repeat;
}
/* banner激活态 */
.slide-active{
    display: block;
}
/* 上一张、下一张按钮 */
.button{
    width: 40px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 244px;
    margin-top: -40px;
    background-color: rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.button.next{
    left: auto;
    right: 0;
}
.button .fa{
    font-size: 50px;
    color: #fff;
}
.button:hover{
    background-color: rgba(0,0,0,0.5);
}
/* 指示器 */
.dots{
    position: absolute;
    right: 0;
    bottom: 24px;
    padding-right: 24px;
}
.dots span{
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(7,17,27,0.4);
    margin-left: 8px;
    cursor: pointer;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.8);
}
/* 激活态 */
.dots span.dot-active{
    background-color: #fff;
    box-shadow: inset 0 0 0 2px rgba(7,17,27,0.4);
}
/* 左侧分类菜单 */
.menu-content{
    width: 260px;
    height: 500px;
    background-color: rgba(7,17,27,0.25);
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 6px;
}
.menu-item{
    height: 64px;
    line-height: 66px;
    padding: 0 24px;
    cursor: pointer;
}
.menu-item a{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 0 8px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    height: 64px;
    font-size: 16px;
}
.menu-item:last-child a{
    border-bottom: none;
}
.menu-item a span{
    flex: 1;
}
.menu-item a .fa{
    color: rgba(255,255,255,0.6);
    font-size: 18px;
}
/* 二级分类菜单 */
.sub-menu{
    border: 1px solid #d9dde1;
    background-color: #fff;
    width: calc(80vw - 244px);
    max-width: 300px;
    height: 458px;
    position: absolute;
    left: 244px;
    top: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.hide{
    display: none;
}
.inner-box{
    width: 100%;
    height: 100%;
    background: url("../images/UrbanCuisine/fe.png") no-repeat;
    overflow: auto;
}
.sub-inner-box{
    width: 100%;
    margin-left: 40px;
    width: calc(100% - 40px);
}
.sub-inner-box .title{
    color: #f01414;
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
    margin-top: 28px;
    margin-bottom: 30px;
}
.sub-inner-box .sub-row{
    margin-bottom: 25px;
    line-height: 25px;
}
.sub-inner-box .sub-row .bold{
    font-weight: 700;
    margin-right: 15px;
}
.sub-inner-box .sub-row a{
    margin-right: 15px;
}

.container1{
    width: 1100px;
    height: 300px;
    margin-top: 30px;
    /* 弹性布局 默认水平排列 */
    display: flex;
}
.text{
    width: 1100px;
    height: 30px;
    display: flex;
}
.front{
    width: 1100px;
    background-color: #4caf50;
}
h1{
    text-align: center;
    color: #ff2d25;
    margin-top: 20px;
}
.t1{
    margin-left: 150px;
    width: 100px;
    height: 30px;
    text-align:left;
}
.t2{
    margin-left: 250px;
    width: 100px;
    height: 30px;
    text-align: center;
}
.t3{
    margin-left: 250px;
    width: 100px;
    height: 30px;
    text-align: center;
}
.item1{
    width: 320px;
    height: 215px;
    margin: 0 20px;
    position: relative;
}
.item1 img{
    width: 100%;
    height: 100%;
    position: absolute;
    /* 过渡效果：时长 贝塞尔曲线 */
    transition: 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.item1 .border1{
    position: absolute;
    top: 0;
    left: 0;
    width: 316px;
    height: 213px;
    border: 1px solid #ccc;
    background-color:#4caf50;
    transition: 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
/* 分别设置各个边框的位置 */
.item1 .border1:nth-child(1){
    top: 8px;
    left: 8px;
}
.item1 .border1:nth-child(2){
    top: 6px;
    left: 6px;
}
.item1 .border1:nth-child(3){
    top: 4px;
    left: 4px;
}
.item1 .border1:nth-child(4){
    top: 2px;
    left: 2px;
}
.item1:hover img,
.item1:hover .border1{
    /* 悬停加阴影 */
    box-shadow: 1px 2px 10px rgba(0,0,0,0.08);
}
/* 分别设置悬停时图片和各个边框的旋转角度 */
.item1:hover img{
    transform: rotate(-1deg);
}
.item1:hover .border1:nth-child(1){
    transform: rotate(18deg);
}
.item1:hover .border1:nth-child(2){
    transform: rotate(1deg);
}
.item1:hover .border1:nth-child(3){
    transform: rotate(-1deg);
}
.item1:hover .border1:nth-child(4){
    transform: rotate(-5deg);
}