/*
Name: Jet / black
Hex: #373536
RGB: (55, 53, 54)

Name: Carmine Pink / red
Hex: #f04d39
RGB: (240, 77, 57)

Name: Saffron / yellow
Hex: #f0b92d
RGB: (240, 185, 45)
	
Name: Buff / light yellow
Hex: #f3d487
RGB: (243, 212, 135)

#FAF9F6: white
RGB: (250, 249, 246)
*/

/* font-family: "Pacifico", cursive; */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

/* font-family: "Open Sans", sans-serif;  */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* font-family: "Playfair Display", serif; */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* font-family: "Lato", sans-serif; */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif
}

h1{
    font-size: 3rem;    
    font-family: "Pacifico", cursive;
}

.wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 200px)) minmax(0px, 1fr);
}

header,
nav,
main,
section,
footer {
    grid-column: 1/-1;
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 200px)) minmax(0px, 1fr);
}

.content {
    grid-column: 2/-2;
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: repeat(6, minmax(0px, 200px));
}

.flex_container{
    display: flex;
}

#home_hero, #about_hero, #contact_hero, #menu_hero, #reserve_hero{
    grid-row: 1/3;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    grid-column: 1/-1;
}

/*************************** Home Page ***************************/

/* Header */
#home_hero{
    background-image: url("../image/home/background.jpg");
}

header{
    grid-row: 1/2;
    background-color: rgba(250, 249, 246, 0.7);
    font-family: "Open Sans", sans-serif;
}

.flex_container{
    flex-direction: row;
    align-items: center;
}
#logo{
    grid-column: 1/2;
}
#mobile_menu{
    grid-column: 2/3;
    justify-content: center;
    display: none;
}
#nav{
    grid-column: 3/-1;
    justify-content: flex-end;
    gap: 1rem;
}
#logo img{
    background-color: #f04d39;
    width: 5vw;
}
header a{
    text-decoration: none;
    color:#373536;
}
header a:hover{
    color: #f04d39;
    transition: all ease-in-out 0.3s;
}
header button{
    padding: 0.25rem;
    background-color:  #f0b92d;
    border: solid #373536 1px;
}
header button:hover, #shopping_cart:hover{
    background-color: #f04d39;
    transition: all ease-in-out 0.3s;
}
#shopping_cart{
    border: solid #373536 1px;
    background-color:  #f0b92d;
    padding: 0.25rem;
    align-items: center;
}
#numbers_of_product{
    background-color: rgb(250, 249, 246);
    padding: 0.25rem;
    margin-left: 0.15rem;
}

/* Main */

main{
    grid-row: 2/3;
    color: #FAF9F6;
}
main h1{
    color: #f0b92d;
}
#main{
    grid-column: 1/4;
    flex-direction: column;
    margin: 5rem 0px;
    background-color: rgba(55, 53, 54, 0.5);
    padding: 1rem;
}
.btn{
    background-color: #f04d39;
    color: #373536;
    border: solid #373536 1px;
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0px;
    font-size: 1rem;
}
.btn:hover{
    background-color: #f0b92d;
    transition: all ease-in-out 0.3s;
}

/* Section */

#home_section{
    grid-row: 3/4;
    background-color: #f3d487;
}
#home_section h1{
    grid-row: 1/2;
    grid-column: 2/6;
    text-align: center;
    color: #f04d39;
    margin: 1.5rem;
}
#home_section .flex_container{
    flex-direction: row;
    grid-row: 2/3;
    grid-column: 1/-1;
    align-items: center;
    justify-content: space-around;
}
#home_section .flex_container .flex_container{
    margin: 2rem;
    flex-direction: column;
    background-color: #FAF9F6;
    overflow: hidden;
}
#dishes img{
    width: 20vw;
}
#dishes img:hover{
    filter: brightness(0.5);
    transition: all ease-in-out 0.3s;
}
#dishes h2{
    margin: 1rem 0px;
}

/* Footer */
footer {
    background-color: #373536;
    color: #f0b92d;
    grid-row: 9/10;
}

#contact,
#location {
    margin-top: 3rem;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}

#location {
    grid-column: 1/4;
}

#contact {
    grid-column: 4/-1;
}

#contact a {
    color: #f0b92d;
    margin: 0.5rem;
}

#icon img {
    height: 2rem;
}

#icon {
    justify-content: space-around;
}

#line {
    margin: 1rem 0px;
}

footer h5 {
    border-top: solid #f0b92d 1px;
    padding: 1rem 0px;
    grid-column: 1/-1;
    text-align: center;
}

/******************************************************/

/*************************** About Page ***************************/

#about_hero{
    background-image: url("../image/about/background.jpg");
}
#about{
    background-color: rgba(55, 53, 54, 0.7);
}
#main_content{
    grid-column: 2/6;
    flex-direction: column;
    margin: 5rem 0px;
    padding: 1rem;
    line-height: 2rem;
}
#main_content h1{
    margin: 1rem 0px 1.5rem;
}
#story{
    grid-row: 3/4;
    background-color: #373536;
}
#story img{
    width: 30vw;
    grid-column: 1/3;
}
#story_text{
    flex-direction: column;
    grid-column: 3/-1;
    align-items: center;
    justify-content: center;
}
#story_text p, #mission p{
    line-height: 2rem;
}
#story .content, #mission .content{
    margin: 5rem 0px;
    background-color: #FAF9F6;
    border-radius: 2rem;
    overflow: hidden;
}
#mission{
    grid-row: 4/5;
    background-color: #f3d487;
}
#mission img{
    grid-column: 4/-1;
    width: 50vw;
}
#mission_text{
    flex-direction: column;
    grid-column: 1/4;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
}
/******************************************************/

/*************************** Contact Page ***************************/

#contact_hero{
    background-image: url("../image/contact/background.jpg");
}
#main_contact{
    grid-column: 2/6;
    justify-content: center;
    align-items: center;
    background-color: rgba(55, 53, 54, 0.7);
    flex-direction: column;
    margin: 5rem 0px;
    text-align: center;
    padding: 1rem 0px;
    grid-row: 2/3;
}
#main_contact h1{
    margin-bottom: 1rem;
}
#contact_section{
    grid-row: 3/4;
    background-color: #f3d487;
}
#contact_text{
    grid-column: 1/4;
    flex-direction: column;
    color: #f04d39;
    justify-content: center;
    align-items: center;
    border-right: solid #373536 1px;
    line-height: 2rem;
}
form{
    background-color: #373536;
}
#contact_form{
    grid-column: 4/-1;
    justify-content: center;
    align-items: center;
}
input, textarea{
    padding: 0.5rem;
    border: solid #373536 1px;
    margin: 0.25rem;
}
.vertical{
    display: flex;
    flex-direction: column;
}
input{
    flex: 1;
}
textarea{
    width: 97.5%;
    resize: none;
}
#contact_form .btn{
    width: 100%;
    border-radius: 0;
    margin: 0;
}
#contact_section .content{
    margin: 3rem;
}
#feed{
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}
#feedback{
    background-color: #FAF9F6;
    color: #373536;
    flex-direction: column;
    padding: 0.5rem;
    border: solid #373536 1px;
    border-radius: 0.5rem;
    width: 20vw;
    margin: 0px 0.5rem;
}
#profile{
    flex-direction: row;
    border-bottom: solid #373536 1px;
    padding: 0.25rem;
}
#profile i{
    padding: 0.5rem;
    border: solid #373536 5px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

/******************************************************/

/*************************** Menu Page ***************************/

#menu_hero{
    background-image: url("../image/menu/background.jpg");
}
#menu_main{
    grid-column: 1/5;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 3rem;
}
#menu_nav{
    justify-content: space-around;
    align-items: center;
    margin: 2rem 0px;
}
#menu_nav_item{
    background-color:#FAF9F6;
    color: #373536;
    margin: 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: 30%;
    overflow: hidden;
    border: solid #FAF9F6 1px;
}
#menu_nav_item img{
    width: 4vw;
    border: solid #373536 5px;
    border-radius: 50%;
    background-color: #f0b92d;
}
#menu{
    grid-row: 3/4;
    background-color: #f3d487;
}
#appetizer, #food, #drink, #dessert{
    grid-column: 1/-1;
    border: double #f04d39 10px;
    align-items: center;
    justify-content: center;
    margin: 1rem 0px;
    flex-direction: column;
}
.row{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 1rem;
    gap: 2rem;
}
#menu h1{
    color: #f04d39;
    text-align: center;
    text-decoration: underline;
}
.menu_item, .menu_item_img, .menu_item_details{
    display: flex;
}
.menu_item{
    background-color: #FAF9F6;
    flex-direction: row;
    width: 40vw;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.menu_item_img img{
    width: 15vw;
}
.menu_item_details{
    flex-direction: column;
    margin: 0px 0.5rem;
    line-height: 1.5rem;
}
.menu_item_details h2{
    color: #f04d39;
    margin-bottom: 0.25rem;
}
.menu_item_details h4{
    position: absolute;
    bottom: 0px;
    right: 0px;
    padding: 0.5rem;
    background-color: #f0b92d;
}
/******************************************************/

/*************************** Reserve Page ***************************/

#reserve_hero{
    background-image: url("../image/reserve/background.jpg");
}
#main_reserve .content{
    margin: 3rem 0px;
}
#reserve{
    background-color: rgba(55, 53, 54, 0.7);
    flex-direction: column;
    grid-column: 2/-2;
}
#reserve  form {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    margin: 2rem 0px;
    padding: 1rem;
    background-color: #FAF9F6;
}
#reserve .horizontal {
    display: flex;
    gap: 10px;
}
#reserve .horizontal input {
    flex: 1; 
}
#reserve .vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/******************************************************/

/*************************** Home Page ***************************/
/******************************************************/