* {
        padding: 0;
        margin: 0;
}

header{
        background-color: rgba(35,28,26,0.8);
        height: 80px;
        width: 100%;
        position: fixed;
} 
h1{ 
    color:white;
    position:absolute;
    left:120px;
    top:0;
    line-height: 80px;
    background-image:url(images/logo.svg) ;
    background-repeat: no-repeat;
    background-position: center;
    width:210px;
    text-indent: -9999px; 
}
header li{
        display: inline;
        margin-right: 4vw;
}
header ul{
        position: absolute;
        right: 5vw;
        top:0;
        line-height: 80px;
}
header a{
        color: white;
        text-decoration: none;
}
header a:hover{
        text-decoration: underline;
}
.top {
       background-color: antiquewhite; 
       color:white;
       height: 95vh;
       background-image: url("images/bg.png") ;
       background-repeat: no-repeat;
       background-size: cover;
       background-position: center;
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
       
}
.top h2{
        font-size: 60px;
        margin-top: 60px;
}
.top p{
        color: #fef7e6;
        font-size: 18px;
        margin: 25px;
}
.top a{
        color: white;
        text-decoration: none;
        border: 1px solid;
        padding: 10px 20px;
        border-radius: 5px;
}
.slogan {
    background-color:#485652;
    color:white;
    height:250px;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    line-height: 1.8em;  
}
.store {
        display: flex;
}
.store img {
        width: 50%;
}
.info {
    width:50%;
    background-color: white;
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
}
.info h2 {
    font-size:40px;
    margin-bottom: 30px;
}
.info p {
    text-align: center;
    line-height: 2em;
}
.products {
        display: flex;
        background-color: #ede9db;  
        justify-content: space-between;  
        align-items: center;    
        padding: 100px 100px 80px;
}
.products div{
        width: 300px;
        text-align: center;
}
.products img{
        width: 100%;
        border-radius: 8px;
}
.products h3{
        font-size: 20px;
        margin: 20px 0;
}
.products p{
        font-size: 14px;
        line-height: 1.6em;
}
.newsletter {
        background-color: #485652;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
}
.newsletter p{
        margin: 20px;
}
.newsletter input,.newsletter button{
        background-color: transparent;
        color: white;
        border: 1px solid #949d9a;
        padding: 10px;
        border-radius: 5px;
}
.newsletter input{
        width: 200px;
        margin: 15px;
}
.newsletter button{
        width: 80px;
        cursor: pointer;
}
input::placeholder{
        color: #DDDDDD;
}
input:focus{
        outline: none;
        border-color: #d0d9a3;
}
footer {
    background-color:#000000;
    color:#B7B7B7;
    height:60px;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}
.menu {
        display: none;
}
/* 響應式設計語法 */
@media screen and (max-width: 768px) {
.header ul{
        display: none;
 }
.header .h1 {
        left: 50%;
        transform: translateX(-100%);
 }
.top h2{
        font-size: 40px;
 }
.menu {
        display: block;
        background-color: transparent;
        color: white;
        font-size: 35px;
        position: absolute;
        top:15px;
        left: 20px;
        border: none;
        cursor: pointer;
 }
.store{
        flex-direction: column;
 }
.store img{
        width: 100%;
 }
.info{
        width: 100%;
        padding: 40px 0;
 }
.info h2{
        font-size: 30px;
 }
.products{
        flex-direction: column;
        padding: 60px 0;
 }
.products div{
        margin-bottom: 30px;
}
}