html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img{
    max-width: 100%;
    height: auto;
}
*,*::before,*::after{
	box-sizing: border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
    position: relative;
}
/*css reset end */

.wrap{
    max-width: 1000px;
    margin: 0 auto;
}
.header{
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.banner,.banner2,.banner3,.banner4{
    display: block;
    background: url(../img/header_desktop.png) center center no-repeat;
    max-width: 100%;
    height: 420px;
    z-index: 40;
}
.banner2{
    background: url(../img/ham1.png) center center no-repeat;
}
.banner3{
    background: url(../img/ham2.png) center center no-repeat;
}
.banner4{
    background: url(../img/ham3.png) center center no-repeat;
}
/* swiper輪播 */
.swiper {
    max-width: 100%;
    height: auto;
}
.topbar{
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: absolute;
    background: black;
    padding: 20px;
    z-index: 52;
    opacity: 0.8;
}
.topbar h1 a{
    background: url(../img/howbaoLogo.png) no-repeat center ;
    display: block;
    width: 120px;
    height: 24px;
    text-indent: 101%;
    color: white;
    overflow: hidden;
    white-space: nowrap;
}
.menu{
    display:flex;
}
.menu li{
    text-align: center;
}
.menu li a{
    color:white;
    padding: 20px;
    text-decoration: none;
}
.menu li a:hover{
    background: blue;
}
.slogan{
    color:white;
    text-align: center;
    width: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    padding:20px;
    background: #130400;
    opacity: 0.7;
    white-space: nowrap;
    z-index: 55;
}
.slogan h2{
    font-size: 30px;
    margin-bottom: 20px;
}
.slogan p{
    margin-bottom: 3px;
    font-size: 25px;
    color: greenyellow;
}
.tips{
    padding:20px;
    background: #efe9e7;
}
.tips h3{
    text-align: center;
    font-size: 20px;
    white-space: nowrap;
}
.dividLine{
    width: 80%;
    margin: 5px auto;
    height: 1px;
    display: flex;
    justify-content: space-around;
}
.dividLine span{
    display:block;
    overflow: hidden;
    width: 20%;
    
    border-bottom: 1px solid #000;
}
.tips ul{
    margin-top: 20px;
    display:flex;
    justify-content: space-around;
}
.tips li{
    width: 31.3333%;
    margin-left: 1%;
    margin-right: 1%;
    text-align: center;
}
.tips li img{
    border-radius:50%;
    margin-bottom: 20px;
}
.tips li img:hover{
    border: 3px solid red;
    box-shadow:5px 5px 10px gray ;
}
.tips li h4{
    font-size: 20px;
    margin-bottom: 20px;
}
.tips li p{
    text-align: left;
    margin-bottom: 20px;
}
.chefToday{
    display: flex;
    align-items: center;
    background: black;
    color:white;
}
.chefImg{
    position: relative;
    width: 50%;
}
.chefImg img{
    max-width: 100%;
}
.chefIntro{
    padding:0 50px 0 20px;
    width: 50%;
} 
.chefIntro h3{
    font-size: 25px;
    white-space: nowrap;
}
.chefIntro p{
    font-size: 20px;
    line-height: 1.3;
    margin-top: 10px;
}
.opinions{
    padding:30px 10px 30px 10px;
    background: #efe9e7;
}
.opinions h3{
    text-align: center;
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}
.opinions ul{
    display:flex;
}
.opinions li{
    width: 31.3333%;
    margin-left: 1%;
    margin-right: 1%;
    display: flex;
}
.opinions li img{
    height: 67px;
}
.clientSays{
    display:flex;
    flex-direction: column;
    justify-content: space-around;
    height: 200px;
    padding: 10px;
}
.clientSays h4{
    font-size: 20px;
}
.clientSays p{
    line-height: 1.3;
}
.clientSays span{
    text-align: right;
}
.reserve{
    padding:50px 20px 30px 20px;
    background: #f6f4f3;
    max-width: 100%;
}
.reserve h3{
    font-size: 25px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}
.reserveInfo{
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}
.reserveInfo form{
    width: 50%;
    font-size: 18px;
    padding: 10px;
}
.reserveInfo form h4{
    margin-top: 10px;
    margin-bottom: 10px;
}
.name,.phone,.mail,.people{
    width: 98%;
    margin-left: 1%;
    margin-right: 1%;
    height: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.submitBtn{
    text-align: right;
    margin-bottom: 20px;
}
.cancel,.submit{
    width: 80px;
    height: 40px;
    margin-right: 10px;
    margin-left: 10px;
    border-radius:5px;
    font-size: 18px;
    color:white;

}
.cancel:hover,.submit:hover{
    background: blue;
    cursor: pointer;
}
.cancel{
    background: #a09e9e;
}
.submit{
    background: #f56c23;
}
.footer{
    background: #efe9e7;
    display: flex;
    justify-content: space-between;
    padding:50px 20px;
}
.info{
    display:flex;
}
.about-us{
    width: 30%;
    margin-left: 2%;
    margin-right: 2%;
}
.about-us h3, .contact-us h3{
    font-size: 25px;
    margin-bottom: 10px;
    white-space: nowrap;
    font-weight: bold;
}
.about-us p{
    line-height: 1.3;
}
.contact-us{
    width: 25%;
    margin-left: 10%;
}
.contact-us ul{
    list-style: disc;
}
.contact-us ul li{
    margin-left: 10%;
    line-height: 1.3;
    white-space: nowrap;
}
.icons h2{
    font-size: 50px;
    font-weight: bold;
    white-space: nowrap;
    margin-bottom: 20px;
}
.icons ul{
    display: flex;
    margin-left: 30px;
}
.icons ul li a{
    display:block;
    margin-right: 10px;
    margin-left: 10px;
}
.icons img{
    width: 60px;
    height: auto;
}
.icons ul li a:hover{
    width: 70px;
}
.showmenu{
    display: none;
}
.menu-show .menu{
    max-height: 500px;
}
.backtotop{
    display: none;
}
.backtotop a{
	position: fixed;
	border:1px solid blue;
	bottom: 0;
	right:0;
	width: 50px;
	height: 50px;
	border-radius: 5px;
	text-align: center;
	line-height: 50px;
	text-decoration: none;
}
.backtotop a:hover{
	background: blue;
	color:white;
}
@media (max-width:768px) {
    .slogan{
        color:white;
        text-align: center;
        width: 50%;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        padding:10px;
        background: #130400;
        opacity: 0.7;
        white-space: nowrap;
        z-index: 55;
    }
    .slogan h2{
        font-size: 20px;
    }
    .chefIntro h3{
        font-size: 20px;
    }
    .chefIntro p{
        font-size: 16px;
        margin-top:5px;
    }
    .chefIntro{
        padding:0 10px 0 20px;
        width: 50%;
        margin-top:10px;
    } 
    .clientSays h4{
        margin-bottom: 10px;
    }
    .name,.phone,.mail,.people{
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
        height: 20px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .submit,.cancel{
        width: 60px;
        height: 30px;
        margin-right: 0;
        margin-left: 0;
    }
    .about-us h3, .contact-us h3{
        font-size: 20px;
    }
    .icons h2{
        font-size: 30px;
    }
}
@media (max-width:600px) {
    .header{
        border: 1px solid;
    }
    .banner{
        background: url(../img/header_mobile.png);
    }
    .banner2{
        background: url(../img/ham1Mobile.png);
    }
    .banner3{
        background: url(../img/ham2Mobile.png);
    }
    .banner4{
        background: url(../img/ham3Mobile.png);
    }
    .topbar{
        width: 100%;
        justify-content: space-between;
        position: absolute;
        background: black;
        padding: 20px;
        height: 70px;
        z-index: 52;
        opacity: 0.8;
    }
    .tips ul{
        flex-direction: column;
    }
    .tips li{
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
        text-align: center;
    }

    .chefToday{
        flex-direction: column;
        width: 100%;
    }
    .chefImg{
       width: 100%;
      
    }
    .chefImg img{
        width: 100%;
    }
    .chefIntro{
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
        padding:70px 30px 30px 30px;
        height: 400px;
    }
    .opinions ul{
        flex-direction: column;
    }
    .opinions li{
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
    }
    .reserveInfo{
        flex-direction: column;
    }

    .reserveInfo form{
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
    }

    .footer{
        display: flex;
        flex-direction: column;
    }
    .icons h2{
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
        text-align: right;
        font-size: 50px;
    }
    .icons ul{
        display: flex;
        margin-left: 30px;
        justify-content: end;
    }
    .info{
        flex-direction: column;
    }

    .about-us{
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
        margin-bottom: 20px;
    }
    .contact-us{
        width: 98%;
        margin-left: 1%;
        margin-right: 1%;
        margin-bottom: 20px;
    }
    .menu{
        max-height:0 ;
        position: absolute;
        overflow: hidden;
        transition: max-height 2s;
        top:60px;
        background: black;
        display:block;
        left: 0;
        right: 0;
        z-index: 99;
    }
    .menu li{
       text-align: center;
    }
    .menu a{
        font-size: 20px;
        display:block;
        border: 1px solid;
        line-height: 20px;
    }
    .showmenu{
        display: block;
        color:green;
        text-decoration: none;
        border: 1px solid;
        line-height: 20px;
        padding: 10px;
        height: 40px;
     }
     .showmenu:hover{
         background: blue;
         color: white;
     }

}
@media (max-width:500px){
    .slogan{
        width: 60%;
    }
    .slogan h2{
        font-size: 18px;
        margin-bottom: 20px;
    }
    .slogan p{
        margin-bottom: 3px;
        font-size: 16px;
        color: greenyellow;
    }
}
@media (max-width:300px){
    .slogan{
        width: 70%;
    }
    .slogan h2{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .slogan p{
        margin-bottom: 3px;
        font-size: 16px;
        color: greenyellow;
    }
}
