@font-face {
  font-family: 'flame';
  src: url(../fonts/FlameRegular.otf) format('opentype');
  font-weight: normal;
}

body{
    background-color:rgba(245, 235, 220, 1);
    margin:0px;
    /*width: 98vw;*/
}
#Menu{
    min-height: 100px;
    max-height: 200px;
    width: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    background-color:rgba(80, 35, 20, 1);
    color:white;
    font-family: 'flame';
}
#Categories{
    margin-top: 25px;
    height: 100%;
    width: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    font-family: 'flame';
}
#CategoriesList{
    display:flex;
    flex-wrap: wrap;
    justify-content:center;
    gap:4%;
    max-width: 1300px;
    margin: 0 auto;
    
}
.Category{
    width:370px;
    height:250px;
    border-radius: 15px;
    background-color:rgb(255, 255, 255);
    display:flex;
    flex-direction: column;
    align-items: center;
    margin: 5% 10% 3% 5%;
}
.Category img{
    width: 100%;
    height: 200px;
    border-radius: 20px 20px 0px 0px;
    background-color: #D32200;
}
.CategoryName{
    display:flex;
    width:100%;
    height:50px;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-family: 'flame';
}

a{
    color: black;
    text-decoration: none;
}

.products{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 98vw;
    height: 100%;
}

.product{
    display: flex;
    flex-direction: column;
    background-color: white;
    align-items: center;
    width: 20%;
    padding: 1%;
    height: 28vh;
    margin: 1%;
    border-radius: 10px;
}

.product img{
    max-width: 55%;
    height: 50%;
}

.addButton{
    display: flex;
    align-items: center;
    background-color: #D32200;
    color: white;
    height: 20%;
    padding: 2%;
    border-radius: 10px;
}

.addButton a{
    color: white;
}

.naamBack{
    margin-left: 3.5%;
}

#ScrollBar{
    width: 98vw;
    display:flex;
    flex-direction: row;
   justify-content: center;
   align-items: center;
    
}

#ScrollBar div img{
    width: 100%;
    height:70%;
    display:flex;
    justify-content: center;
    align-items: flex-end;
    border-radius: 10px 10px 0px 0px;
}

.box{
    display: flex;
    height: 100%;
    width: 100%;
}

#categories{
    display: flex;
    flex-direction: row;
    height: 15vh;
    width: 75%;
}

#leftButton{
    height: 10%;
}

#rightButton{
    height: 10%;
}

.categoryBar{
    width: 100%;
    height: 100%;
    border-radius: 15px;
    display:flex;
    flex-direction: column;
    align-items: center;
    margin: 5% 10% 3% 5%;
}

.categoryBar img{
    max-width: 100%;
    max-height: 100%;
}

@media only screen and (max-width: 450px){
    .Category{
        width: 340px;
        height: 210px;
    }

    #CategoriesList{
        justify-content: flex-start;
    }

    #ScrollBar{
        display: none;
    }

    .product{
        width: 45%;
        height: 35vh;
        margin: 5% auto;
    }

    .addButton{
        height: 5vh;
    }

    
}

