.text {
    color:black;
    font-size: 15px;
    padding-top: 12px;
    padding-bottom: 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #D9D9D9;
    transition: 0.3s;
   
    
}

.ingredient {
    margin-left: 0;
    margin-bottom: 0px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    outline: none;
    height: 200px;
    width: 200px;
    overflow: hidden;
    margin-top: 0;
}

.ingredient img {
    height: 200px;
    width: auto;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


#ingredient_selection{
    display:flex;
    justify-content: space-evenly;
    gap:32px;
    flex-wrap:wrap;
    width:auto;
    
}

#ingredients_section{
    display:flex;
    justify-content:Center;
    align-items:center;
}
   


.carousel:hover .card-body, .recipe:hover .card-body {
    padding-top: 30px;
    padding-bottom: 30px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #ECECEC;
    color:#2f2f2f;;

}


.card{
    outline:none;
}

#content{
    display:block;
}


.card-body{
    padding-top: 12px;
    padding-bottom: 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #ECECEC;
    color:#2f2f2f;;
    transition: .3s;
    
}

.active .card-body{
    background-color: #d6ffcb;
}

.card-title{
    text-align:center;
    font-size:16px;
    font-weight:bold;
}

#no_results{
    margin-bottom:32px;
}






  


