@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Inconsolata', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-size: 15px;
    line-height: 1.5;
}

/* header */

header{
    background-color: black;
    position: fixed;
    width: 100%;
    z-index: 100;
}

nav{
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
}

header a{
    text-align: center;
    width: 25%;
    text-decoration: none;
    color: #fff;
    padding: 8px 16px;
}

header a:hover{
    color: black;
    background-color: #ccc;
}

/* home */

#home{
    background-image: url('pic/coffeehouse.jpg');
    background-position: center;
    background-size: cover;
    min-height: 75vh;
    filter: grayscale(50%);
}

#home .bottom-left{
    position: absolute;
    padding: 2px 8px;
    color: #fff;
    background-color: black;
    left: 24px;
    bottom: 12px;
}

#home .center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    font-size: 90px;
    color: #fff;
    text-align: center;
    line-height: 1.5;
}

#home .bottom-right{
    position: absolute;
    bottom: 12px;
    right: 24px;
    color: #fff;
}

#about,
#menu,
#where{
    margin: 0 auto;
    max-width: 700px;
}

#about h5,
#menu h5,
#where h5{
    margin: 70px auto;
    background-color: black;
    color: #fff;
    font-size: 18px;
    letter-spacing: 4px;
    font-weight: 400;
    width: fit-content;
    padding: 2px 8px;
    line-height: 1.5;
}

/* about */

#about p{
    font-size: 18px;
    margin: 18px 0;
}

#about .paragraph{
    border-left: 6px solid #ccc;
    margin: 16px 0;
    padding: 4px 16px;
    background-color: #f1f1f1;
}

#about i,strong{
    font-size: 18px;
}

#about img,
#menu img,
#where img{
    width: 100%;
    margin-top: 16px;
    filter:grayscale(50%);
}

/* menu */

.menu-list{
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.menu-list ul{
    display: flex;
    list-style: none;
    padding: 8px 16px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}


.menu-list ul li{
    flex-grow: 1;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
}

.menu-list ul li.active{
    background-color:#616161 ;
    color: #fff;
}

.menu-list .eat,
.menu-list .drink{
    padding: 48px 16px;
}

.menu-list .list h6{
    font-weight: 400;
    font-size: 18px;
    margin: 10px 0;
}

.menu-list .list p{
    font-size: 18px;
    color: #757575;
    margin: 18px 0;
}

.menu-list .drink{
    display: none;
}

.menu-list img{
    margin-top: 32px;
}

/* where */

#where p{
    margin: 18px 0;
    font-size: 18px;
}

#where p span{
    font-size: 18px;
    background-color: black;
    color: #fff;
    padding: 0 8px;
    display: inline-block;
}

#where input{
    width: 100%;
    padding: 16px 8px;
    border: 1px solid #ccc;
    outline: none;
}

#where form div{
    margin: 18px 0 ;
}

#where button{
    background-color: black;
    color: #fff;
    font-size: 18px;
    padding: 8px 16px;
    cursor: pointer;
    border: none;
}

#where button:hover{
    background-color: #ccc;
    color: black;
}

/* footer */

footer{
    padding: 48px 0;
    background-color: #f1f1f1;
    text-align: center;
    margin-top: 50px;
}

footer p{
    font-size: 18px;
    margin: 18px 0;
}

footer a{
    color: black;
    font-size: 18px;
}

footer a:hover{
    color: #4caf50;
}