*{
    box-sizing: border-box;
}

.btn-rouge{
    display: block;
    cursor: pointer;
}

#overlay-filtres{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 7;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

#close-box-overlay{
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 2;
    width: calc(100% - 300px);
    height: 100%;
}

#overlay-filtres-div{
    border-radius: 0px 30px 30px 0px;
    width: 300px;

}

#overlay-filtres::-webkit-scrollbar{
    display: none;
}

main{
    display: flex;
}

aside{
    box-sizing: border-box;
    width: 400px;
}

.banner{
    background-color: black;
    background-image: url(images/box-banner-img.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% -113px;
    position: relative;
    overflow: hidden;
}

.banner::before{
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-color: black;
    overflow: hidden;
    background-size: cover;
    background-position: 50% 0;
}

.banner p{
    position: relative;
    text-align: center;
    width: fit-content;
    margin: auto auto;
    text-decoration: underline #FC594A;
}

.box-en-cours{
    border: solid 2px #5BBE83;
    border-radius: 30px;
    height: 350px;
    padding: 20px;
    position: relative;
    margin: 100px 0;

}

h3{
    font-size: 24px;
    font-weight: 600;
    margin-left: 10px;
    margin-bottom: 20px;
}

.box-en-cours-recettes{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 270px;
}

.box-en-cours-recettes ul{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 200px;
    width: 100%;
}

.box-en-cours-recettes ul li{
    background-color: #5BBE83;
    display: flex;
    justify-content: space-between;   
    width: 100%;
    padding: 3px;
    border-radius: 30px;
    font-weight: 600;
    /* position: relative;
    right: -20px; */
    box-shadow: inset 49px 0px 150px #11efff60;


}

.box-en-cours-recettes ul li span{
    padding-left: 5px;
}

.btn-suppr{
    color: white;
    background-color: red;
    border-radius: 100%;
    border: white solid 1px;
    padding: 0px 6px;
    cursor: pointer;

}

.btn-suppr:hover{
    color: red;
    background-color: white;
    border: red solid 1px;
}



.box-filter{
    background-color: #5BBE83;
    padding: 40px;
    border-radius: 30px;
    box-shadow: inset 49px 0px 150px #11efff8a;

}

.box-filter ul{
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-bottom: 50px;
    /* background-color: #FC594A; */
    /* padding: ; */
}

.box-filter ul li{
    /* position: relative; */
    display: flex;
    justify-content: space-between;
    margin-left: 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 180%;
}


fieldset{
    border: #FC594A solid 2px;
    padding: 10px;
    border-radius: 30px;
}

legend{
    margin-left: 20px;
    margin-right: 20px;
    padding: 0 10px;
    color: #FC594A;
    font-size: 20px;
    font-weight: 600;
}

.content{
    width: 100%;
    margin: 90px 0px 100px 50px;
}

.box-card{
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px 30px 50px 30px;
    border-radius: 30px;
    box-shadow: 0 11px 30px #7db99656;

}

.lower-card{
    margin-top: 50px;
}

.box-card-content{
    display: flex;
    flex-direction: row;
    position: relative;
    align-items: end;
}

.box-card-left{
    width: calc(100% / 2);
    border-right: #FC594A solid 2px;
    padding-right: 50px;
    position: relative;
}

.box-card-right{
    width: calc(100% / 2);
    padding-left: 50px;
    position: relative;
    bottom: 0%;
}


.box-card h3{
    margin: 0;
}

.box-card p{
    font-size: 24px;
}

.box-card-title{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.btn-add{
    color: #5BBE83;
    background-color: white;
    border: #5BBE83 solid 3px;
    border-radius: 100%;
    padding: 0 17px 0px 17px;
    font-size: 50px;
    margin-left: 20px;
    cursor: pointer;

}

.btn-add:hover{
    color: white;
    background-color: #FC594A;
    border: white solid 3px;
}

.box-card-meal{
    border: solid #5BBE83 2px;
    border-radius: 10px;
    overflow: hidden;
    height: 100px;
    display: flex;
    width: 100%;
    position: relative;
}

.box-card-meal-img-container{
    width: 100px;
    position: relative;
    margin-right: 10px;
}

.box-card-meal img{
    width: 100px;
    object-fit: cover;
    position: relative;
    top: -15px;
    display: inline;
}

.box-card-meal-text{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding-right: 20px;
}

.box-card-meal-title p{
    font-size: 16px;
}

.box-card-meal-bottom{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.box-card-meal-tags ul{
    display: flex;
    flex-direction: row;
}

.box-card-meal-tags li{
    margin-left: 10px;
}

.box-card-meal-container{
    position: relative;
    height: fit-content;
    width: 100%;
    margin-top: 20px;
}

.add-meal{
    position: absolute;
    right: -29px;
    bottom: 21%;
}

.box-nb-pages-list{
    display: flex;
    justify-content: center;

}

.box-nb-pages{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    border: solid #5BBE83 2px;
    text-align: center;
    border-radius: 10px;
    margin: 0 10px 100px 10px;
    cursor: pointer;

}

.box-nb-pages:hover{
    border: white 2px solid;
    color: white;
    background-color: #FC594A;
}

.filtres{
    display: none;
}

.box-fixed{
    display: none;
}










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


.box-card-content{
    flex-direction: column;
}

.box-card-left{
    border: 0;
    width: 100%;
    padding: 0;
}

.box-card-right{
    width: 100%;
    padding: 0;
}

.banner{
    background-size: auto 175%;
}

}










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

footer{
    padding-bottom: 175px;
}


aside{
    display: none;
}

.content{
    margin: 0px 0 50px 0;
}

.banner{
    height: 175px;
    background-size: cover;
}

.banner p{
    font-size: 32px;
}

legend{
    font-size: 12px;
}

h3{
    font-size: 20px; !important
}

/* .box-card h3{
    margin: 10px 0 25px 0;
} */

.box-card-title {
    margin: 10px 0 25px 0;
}

/* .box-card-title{
    margin: 0 0 25px 0;
} */

p{
    font-size: 12px; !important
}

span{
    font-size: 12px; !important
}

li{
    font-size: 12px;
}

.box-card p{
    font-size: 12px;
}

.btn-add{
    font-size: 25px;
    padding: 0 8px;
    border: solid 2px;
}

.add-meal{
    right: -14px;
    bottom: 35%;
}

.box-card-meal{
    height: 75px;
}

.box-card-meal img{
    top: -30px;    
}

.box-nb-pages{
    width: 25px;
    height: 25px;
    border-radius: 5px;
    margin: 0 5px 50px 5px;
}

.filtres{
    border-radius: 20px;
    width: 100px;
    display: flex;
    margin: 25px 0;
    padding: 10px;
    justify-content: space-around;    
    box-shadow: inset 49px 0px 150px #11efff60;
    border: 0;
}

.filtres span{
    font-size: 16px;
    font-weight: 400;
}

.box-filter{
    z-index: 5;
}

.box-fixed{
    background-color: white;
    border-top: #FC594A solid 2px;
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    padding: 20px 15px 10px 15px;
    height: 220px;
    align-items: center;

}

.box-fixed .btn-rouge{
    font-size: 16px;
    padding: 10px 20px;
}

.box-fixed-upper-container{
    display: flex;
    flex-direction: row;
    width: 100%;
}

.box-fixed-left{
    width: 100%;
    padding-right: 10px;
}

.box-fixed-left ul{
    margin-top: 29px;
}

.box-fixed-right{
    width: 100%;
    padding-left: 10px;
}

.box-fixed ul{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.box-fixed ul li{
    font-size: 16px;
    background-color: #5BBE83;
    display: flex;
    justify-content: space-between;   
    width: 100%;
    padding: 3px;
    border-radius: 30px;
    font-weight: 600;
    /* position: relative;
    right: -20px; */
    box-shadow: inset 49px 0px 150px #11efff60;
    margin-bottom: 25px;

}

.box-fixed ul li span{
    font-size: 16px;
}

}

@media screen and (max-width: 447px) {
    .banner{
        background-size: auto 164%;
    }
}