html{
    margin:0 !important;
}

main *{
    font-family:"Poppins";
    position:relative;
    z-index:1;
}

.subheader{
    height:25vh;
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center center;
    display:flex;
    align-items:center;
    justify-content: center;
    margin-bottom:25px;
}

.subheader > div{
    position:relative;
    z-index:1;
}
.subheader .overlay{
    position:absolute;
    z-index:0;
    background-color:#00000050;
    width:100%;
    height:100%;
}

h1{
    text-align:center;
    margin:0;
    color:#fff;
    text-shadow: 0 4px 10px #000000;

}

.back-to-home_btn{
    text-align:center;
    margin:0 0 25px 0;
}

.back-to-home_btn a{
    color:#fff;
}

.back-to-home_btn .back_arr{
    vertical-align:middle;
    height:20px;
    width:auto;
    margin:0 6px 0 0;
    filter:invert(100%);
}

.plats_container{
    max-width:900px;
    margin:auto;
}

.category_container{
    margin-bottom:30px;
}

.category_container[data-show="true"]{
    display:block;
}
.category_container[data-show="false"]{
    display:none;
}

.category_content{
    display:grid;
    grid-template-columns: calc(100%/3) calc(100%/3) calc(100%/3);
}


.category_content > div{
    margin-bottom:20px;
}

.category_content .left{
    height:100%;
}

.plat_card{
    width:92%;
    text-align:center;
    box-shadow:1px 2px 5px #00000015;
    border-radius:10px;
    overflow:hidden;
    cursor:pointer;
    /* margin-bottom:15px;    */
    height:100%;
}

.plat_card .plat_img{
    width:100%;
    height:150px;
    object-fit: cover;
}

.plat_card .text{
    text-align: left;
    padding:10px 10px 40px 10px;
    position:static !important;
    /* line-height:1.3em; */
}

.plat_title{
    font-weight:500;
    font-size:20px;
    margin:10px 0 7px 0;
    line-height:1.3em;
}


.plat_card .price{
    text-align: right;
    padding:10px;
    font-weight:bold;
    color:#FF6100;
    position:absolute;
    bottom:0;
    width:100%;
    box-sizing: border-box;
    left:0;
}

.plat_card .description{
    color:#535353;
    font-weight:300;
    line-height:1.2em;

    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.6em;
    overflow: hidden;
    line-height: 1.3em;
}

.plat_card .has_allergene{
    margin:15px 0 0 0;
    font-weight:400;
    font-size:14px;
}
.subcategories-filters_container{
    overflow-x:scroll;
    overflow-y:hidden;
    max-width:900px;
    margin:0 auto 15px auto;
    width:100%;
    box-sizing: border-box;
    white-space:nowrap;
}
.subcategories-filters_container::-webkit-scrollbar{
    -webkit-appearance: none;
    appearance: none;
}
.category_name{
    font-weight:bold;
    font-size:25px;
    margin-bottom:7px;
}
.filter{
    display:inline-block;
    padding:7px 15px;
    border-radius:7px;
    border:1px solid #FF6100;
    color:#FF6100;
    margin-right:15px;
}
.filter:hover{
    background-color:#FF610010;
    cursor:pointer;
}

.filter[data-selected="true"]{
    background-color:#FF610030;
}

.fullpage_container{
    position:fixed;
    width:100%;
    height:100vh;
    max-height:100vh;
    z-index:0;
    top:0;
    left:0;
}
.fullpage_container > div{
    position:absolute;
    right:min(-50%, 500px);
    width:50%;
    height:100%;
    max-height:100vh;
    max-width:500px;
    background-color:#fff;
    border-radius:10px 0 0 10px;
    transition:right 1s ease-in-out, bottom 1s ease-in-out;
    box-shadow: 2px 2px 5px #00000060;
    overflow-y:scroll;
    overflow-x:hidden;
    padding-bottom:40px;
}
.fullpage_container > div::-webkit-scrollbar{
    appearance: none;
    -webkit-appearance: none;
    width:10px;
}

.fullpage_container > div::-webkit-scrollbar-thumb{
    appearance: none;
    -webkit-appearance: none;
    border-radius:10px;
    background-color:#53535330;
}
.fullpage_container[data-show="true"]{
    background-color:#00000060;
    z-index:10;
}
.fullpage_container[data-show="true"] > div{
    position:absolute;
    right:0;
    width:50%;
    max-width:500px;
    background-color:#fff;
    border-radius:10px 0 0 10px;
}
.fullpage_container[data-show="false"]{
    transition:background-color 0s 500ms, z-index 0s 500ms;
}

.fullpage_container .close_container{
    text-align:right;
    padding:10px 15px 0 15px;
}
.fullpage_container .close_container > span{
    cursor:pointer;
}

.fullpage_container .cover_container{
    text-align:right;
    margin:20px 0 0 0;

}
.fullpage_container .cover{
    height:35vh;
    width:calc(100% - 15px);
    object-fit: cover;
    border-radius:30px 0 0 30px;
}
.fullpage_container .text{
    padding:10px 15px 0 15px;
}
.fullpage_container .title{
    font-weight:500;
    font-size:25px;
}
.fullpage_container .price_container{
    font-weight:600;
    color:#FF6100;
    font-size:18px;
}

.fullpage_container .bloc_container{
    margin-top:30px;
}

.fullpage_container .bloc_content{
    margin-top:10px;
}

.fullpage_container .subtitle{
    font-weight:500;
    font-size:18px;
}

.fullpage_container .subtitle_img{
    vertical-align:middle;
    margin-right:6px;
    height:20px;
    width:20px;
}

.fullpage_container .plat_menu_card{
    display:flex;
}

.fullpage_container .plat_menu_img{
    height:80px;
    width:80px;
    border-radius:5px;
}

.fullpage_container .plat_menu_text_container{
    padding-left:10px;
    cursor:pointer;
    flex:1;
}

.fullpage_container .plat_menu_text_container[data-collapse='true'] .plat_menu_text_collapse{
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-height: 4.2em;
    overflow: hidden;
    line-height: 20px;
}

.fullpage_container .see-more_container{
    text-align:right;
    margin-top:7px;
    font-style: italic;
}

.fullpage_container .see-more_container .more_less{
    margin-right:7px;
}

.fullpage_container .see-more_container ._arr{
    transform:rotate(270deg);
    width:15px;
    height:15px;
}

.fullpage_container .plat_menu_text_container[data-collapse='true'] .see-more_container ._arr{
    transform:rotate(90deg);
}


.fullpage_container .plat_menu_name{
    font-weight:500;
    font-size:16px;
}

.fullpage_container .plat_menu_description{
    margin-bottom:5px;
}

.fullpage_container .plat_menu_allergenes span{
    font-weight:500;
}

.fullpage_container .supplement_card{
    display:flex;
    align-items: center;
}

.fullpage_container .supplement_img{
    border-radius:5px;
    width:60px;
    height:60px;
}

.fullpage_container .supplement_text_container{
    padding-left:10px;
}

.fullpage_container .supplement_name{
    font-weight:500;
}

.fullpage_container .supplement_price{
    font-style: italic;
    font-weight:300;
}

.sauce_card,.accompagnement_card{
    margin-bottom:10px;
}

.sauce_img,.accompagnement_img{
    width:40px;
    height:40px;
    border-radius:5px;
    margin-right:7px;
}

.fullpage_container .information{
    font-size:13px;
    font-style:italic;
    font-weight:300;
}



@media screen and (max-width:700px){

    .subcategories-filters_container{
        padding:0 15px;
        max-width:100%;
        box-sizing: border-box;
    }

    .category_container{
        margin-bottom:20px;
    }
    
    .category_name{
        font-weight:bold;
        font-size:21px;
        margin-bottom:7px;
        padding:0 15px;
    }

    .category_content{
        grid-template-columns: 100%;
        padding:0 9px;
    }
    
    .plat_card{
        text-align:center;
        display:flex;
        justify-content: space-between;
        align-items:center;
        min-width:100%;
        box-shadow:none;
        border-bottom:1px solid #e0e0e0;
        border-radius:0;
    }

    .plat_title{
        margin:0 0 5px 0;
    }

    .plat_card .left{
        display:flex;
        align-items:center;
        width: 100%;
        padding:0 0 15px 0;
    }

    .plat_card .text{
        padding:10px 10px 0 10px;
        flex:1;
    }
    
    .plat_card .plat_img{
        width:100px;
        height:100px;
        border-radius:10px;
        align-self: flex-start;
        margin:10px 0 0 0px;
    }
    
    .plat_card .price{
        align-items:flex-end;
        font-size:20px;
        padding:0;
        position:relative;
        bottom:unset;
        left:unset;
        width:auto;
    }


    .plat_card .has_allergene{
        font-size:13px;
        margin-top:7px 0 0 0;
        color:#000;
        font-weight:600;
    }

    .fullpage_container > div{
        right:unset;
        border-radius:10px 10px 0 0;
        bottom:-85vh;
        max-height:85vh;
        width:100%;
        max-width:100%;
        overflow-y:scroll;        
        overflow-x:hidden;
        box-shadow:0 0 10px #000000;
    }
    .fullpage_container[data-show="true"] > div{
        bottom:0;
        width:100%;
        max-width:100%;
    }

    .fullpage_container .cover_container{
        text-align:center;
        margin:20px 0 0 0;
    }

    .fullpage_container .cover{
        width:calc(100% - 30px);
        object-fit: cover;
        border-radius:20px;
    }

    .fullpage_container .text{
        /* max-height:calc(50vh - 40px); */
        padding:15px 15px 85px 15px;
    }

    .fullpage_container > div::-webkit-scrollbar{
        appearance: none;
        -webkit-appearance: none;
        width:10px;
    }

    .fullpage_container > div::-webkit-scrollbar-thumb{
        appearance: none;
        -webkit-appearance: none;
        border-radius:10px;
        background-color:#53535330;
    }

    



}