

/*Pacifico*/
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
/*Lato*/
@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=Pacifico&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 165px)) minmax(0px, 1fr);
}

header,
nav,
#homeMain,
#homeMenu,
footer {
    display: grid;
    grid-column: 1/-1;
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 165px)) minmax(0px, 1fr);
}

.content {
    display: grid;
    grid-column: 2/-2;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: repeat(6, minmax(0px, 165px));
    
}

header {
    background-color: #B22222;
}

header img {
    width: 7rem;
    grid-column: 1/3;
    padding: 5px 0px;
}

header h1 {
    float: right;
    color: #FFD700;
    grid-column: -3/-1;
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
    padding-top: 20px;
    font-size: 3rem; 
}

nav {
    background-color: #FAF9F6;
    text-align: center;
    position: sticky;
    top: 0px;
    transition: all 0.3s ease;
}

nav ul {
    grid-column: 1/-1;
}

nav ul li {
    display: inline-block;
    list-style-type: none;
    margin: 20px;
}

nav ul li a {
    text-decoration: none;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: black;
    font-size: 2rem;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #FFD700;
}

#homeMain {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("image/BackGround.jpg");
    background-color: rgba(0, 0, 0, 0.5);
    height: 45rem;
}

#homeMain {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#homeMain h3,
#homeMain h2,
#homeMain h5,
#homeMain button {
    text-align: center;
}

#homeMain h3 {
    margin-top: 20px;
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    color: #B22222;
}

#homeMain h2 {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 5rem;
}

#homeMain h5 {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
}

#button {
    background-color: #B22222;
    color: #FAF9F6;
    border-style: none;
    height: 3.5rem;
    border-radius: 20px;
    font-size: 2rem;
    margin-top: 40px;
    padding: 5px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

#button:hover {
    background-color: #FAF9F6;
    color: #B22222;
    transition: all 0.3s ease;
}

#buttonMenu{
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    border-style: none;
    width: 3.5rem;
    border-radius: 10px;
    font-size: 2rem;
    margin-top: 40px;
    padding: 5px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    display: none;
}
#buttonMenu:hover{
    background-color: #FAF9F6;
    color: #B22222;
}
#homeMenu {
    background-color: #FAF9F6;
}

#homeMenu h1 {
    grid-row: 1/2;
    grid-column: 3/5;
    color: #B22222;
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    text-align: center;
}

#homeMenu img {
    width: 18rem;
    padding-left: 30px;
}

#homeMenu h2 {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    color: #B22222;
    text-align: center;
}

#homeMenu h3 {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    color: #FFD700;
    position: absolute;
    bottom: 160px;
    left: 100px;
    opacity: 0;
}

#homeMenu h3 a {
    text-decoration: none;
}

#appetizer,
#main,
#dessert {
    position: relative;
}

#appetizer {
    grid-column: 1/3;
    grid-row: 2/3;
    margin-bottom: 10px;
}

#main {
    grid-column: 3/5;
    grid-row: 2/3;
    margin-bottom: 10px;
}

#dessert {
    grid-column: 5/7;
    grid-row: 2/3;
    margin-bottom: 10px;
}

#appetizer:hover h3 {
    opacity: 1;
}

#appetizer:hover img {
    opacity: 1;
    filter: brightness(0.3);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

#main:hover h3 {
    opacity: 1;
}

#main:hover img {
    opacity: 1;
    filter: brightness(0.3);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

#dessert:hover h3 {
    opacity: 1;
}

#dessert:hover img {
    opacity: 1;
    filter: brightness(0.3);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

footer {
    background-color: #008000;
}

.line_left {
    margin-top: 60px;
    height: 0.1rem;
    grid-column: 1/3;
    background-color: white;
    border: white 1px solid;
    display: inline-block;
}

.line_right {
    margin-top: 60px;
    height: 0.1rem;
    grid-column: 5/7;
    background-color: white;
    border: white 1px solid;
    display: inline-block;
}

#icon {
    margin-top: 40px;
    grid-column: 3/5;
}
footer img {
    margin-left: 28px;
    display: inline-block;
    width: 2rem;
}

footer h2,
footer h5 {
    grid-column: 3/5;
    text-align: center;
    color: #FAF9F6;
}

footer h2 {
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    margin: 10px;
}

footer h5 {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.5rem;
    margin-bottom: 20px;
}

@media only screen and (max-width: 1100px) {
    #wrapper {
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 165px)) minmax(0px, 1fr);
    }

    header,
    nav,
    #homeMain,
    #homeMenu,
    footer {

        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 165px)) minmax(0px, 1fr);
    }

    .content {
        grid-template-columns: repeat(6, minmax(0px, 165px));
    }
}

@media only screen and (max-width: 900px) {
    #wrapper {
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 125px)) minmax(0px, 1fr);
    }

    header,
    nav,
    #homeMain,
    #homeMenu,
    footer {
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 125px)) minmax(0px, 1fr);
    }

    .content {
        grid-template-columns: repeat(6, minmax(0px, 125px));
    }
    html{
        font-size: 11px;
    }
    header h1{
        font-size: 3.5rem;
        padding-top: 10px;
    }
    #appetizer h2, #main h2, #dessert h2{
        padding-left: 5px;
    }
    #appetizer img, #main img, #dessert img{
        padding-left: 50px;
    }
    #homeMenu h3{
        top: 60px;
        left: 75px;
    }
    .line_left{
        margin-top: 35px;
    }
    .line_right{
        margin-top: 35px;
    }
    #icon {
        margin-top: 15px;
    }
    footer img{
        width: 1.5rem;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 600px) {
    #wrapper {
        grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 90px)) minmax(0px, 1fr);
    }

    header,
    nav,
    #homeMain,
    #homeMenu,
    footer {
        grid-template-columns: minmax(0px, 1fr)  repeat(6, minmax(0px, 90px)) minmax(0px, 1fr);
    }

    .content {
        grid-template-columns: repeat(6, minmax(0px, 90px));
    }
    html{
        font-size: 7px;
    }
    header h1{
        padding-top: 10px;
    }
    nav{
        display: none;
        background-color: #FAF9F6;
        color: #B22222;
        position: absolute;
    }
    #buttonMenu{
        display: inline-block;
        top: 30px;
        right: 30px;
    }
    #buttonMenu:hover + nav, nav:hover{
        display: block;
        top: 50px;
        transition: all 0.3s ease;
    }
    #homeMenu img{
        padding-left: 0px;
        margin-left: 40px;
    }
    #homeMenu h3{
        top: 40px;
        left: 65px;
    }
    #appetizer img, #main img, #dessert img{
        padding-right: 25px;
    }
    #appetizer h2, #main h2, #dessert h2{
        padding-left: 0px;
    }
    footer img{
        width: 1.5rem;
        margin-top: 10px;
        margin-left: 20px;
    }
}
