/*      HEADER      */

header{
    background-color: rgba(30,30,30, 0.9);
}

#mainNav ul li{
    font-size: 1.2em;
}

#mainNav ul li:not(:first-child):hover{
    text-shadow: 1px 0 10px white;
}

#title{
    font-family: Lobster;
    font-size: 4em;
    color: white;
    border-bottom: 2px solid white;
    border-top: 2px solid white;
    padding: 20px 1px;
}

#bg-img{
    background: url(../img/tables.jpg) left center / cover no-repeat;
    height: 100%;
    filter: blur(5px);
}

#logo-bg{
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0, rgba(0,0,0, 0.4), rgba(0,0,0, 0.7) 100%);
    display: grid;
    justify-content: center;
    align-items: center;
}

#arrow-container{
    position: absolute; 
    bottom: 2%; 
    width: 100%;
    display: flex; 
    justify-content: center;
}

#arrow{
    width: 50px;
    animation: arrow-scroll 1.7s infinite ease;
}

@keyframes arrow-scroll {
    0% {transform: translateY(0)}
    50% {transform: translateY(-7px)}
    55% {transform: translateY(-7px)}
    100% {transform: translateY(0)}
}

#menuToggle{
    display: none;
}

@media screen and (max-width: 768px){
    #menuToggle{
        display: block;
        position: fixed;
        right: 9px; top: 6px;
        z-index: 2;
        background-color: rgba(30,30,30, 0.8);
        border-radius: 10px;
        width: 47px; height: 47px;
        border: none;
    }
    #menuToggle img{
        width: 100%;
    }
}


/*      PRESENTATION        */

#presentation{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 70px; margin-bottom: 80px;
}

#presentation img{
    width: 80%;
    justify-self: right;
}

#presentation p{
    font-size: 1.2em;
    width: 70%;
    font-family: Noto Serif;
    text-align: justify;
    padding: 20px;
}

#presentation p span:nth-of-type(1){
    font-family: Great Vibes;
    color: #c5ab6b;
    font-size: 3em;
}

#presentation p span:nth-of-type(2){
    font-size: 1.3em;
    font-weight: bold;
}

#presentation #tel{
    white-space: nowrap;
}

@media screen and (max-width: 1000px){
    #presentation{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    #presentation img{
        width: 90%;
    }
    #presentation p{
        font-size: 1em;
        width: 90%;
    }
}

/*      MENU       */

#titre-menus{
    font-family: Noto Serif;
    text-align: center;
    font-weight: bold;
    color: white;
    font-size: 2.5em;
    padding: 15px;
    margin-top: 10px; margin-bottom: 10px;
}

#img-menu{
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
}

#img-menu > div{
    display: flex;
    justify-content: center;
    flex-direction: row;
}

#row1 > div, #row2 > div{
    margin: 2vw;
    flex-basis: 300px;
    height: 400px;
    filter: brightness(1.3);
    box-shadow: 3px 3px 10px grey;
}

#row1 > div:nth-of-type(1){
    filter: brightness(0.9);
    background: url(../img/menu/Salade.jpg) center center / cover no-repeat;
}

#row1 > div:nth-of-type(2){
    background: url(../img/menu/Bruschetta.jpg) center center / cover no-repeat;
}

#row1 > div:nth-of-type(3){
    background: url(../img/menu/Grillade.jpg) center center / cover no-repeat;
}

#row2 > div:nth-of-type(1){
    background: url(../img/menu/kebab_assiette.jpg) center center / cover no-repeat;
}

#row2 > div:nth-of-type(2){
    filter: brightness(1.1);
    background: url(../img/menu/burger.jpg) center center / cover no-repeat;
}

#row2 > div:nth-of-type(3){
    background: url(../img/menu/cafe-espagnol.jpg) center center / cover no-repeat;
}

.img-filter{
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Noto Serif;
    color: rgb(180,180,150);
    font-size: 1.5em;
    text-shadow: 0 0 5px black;
    font-weight: bold;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255, 0) 10%, rgba(0,0,0, 0.5));
}

.img-filter span{
    padding: 10px;
    font-size: 0.8em;
    color: darkgray;
}

.img-filter:hover{
    background: rgba(60, 60, 60, 0.6);
    transition: all 400ms ease;
}

@media screen and (max-width: 768px){
    #img-menu > div{
        flex-direction: column;
    }
    #row2 > div:nth-of-type(3){
        background-image: url(../img/menu/brioche-du-patron-zoom.jpg);
    }
    #titre-menus{
        font-size: 1.7em;
    }
}

/*      ETABLISSEMENT       */

#etablissement{
    margin-top: 50px;
    margin-bottom: 150px;
}

#etablissement #subtitle{
    font-family: Noto Serif;
    font-weight: bold;
    font-size: 2.5em;
    text-align: center;
    margin: 50px;
}

#etablissement #photos{
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 10px;
}

#etablissement #photos img{
    width: 30%;
}

@media screen and (max-width: 900px){
    #etablissement #photos{
        flex-direction: column;
        align-items: center;
    }
    #etablissement #photos img{
        width: 80%;
        margin-bottom: 20px;
    }
    #etablissement #subtitle{
        font-size: 1.7em;
    }
}
