@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: Quicksand, sans-serif;
    background-color: #FFFFFF;
}
header{
    border-bottom: 1px solid #ECEDED;
}
.main-container{
    width: 1512px;
    margin: auto;
}
.top-section{
    position: relative;
    display: flex;
    justify-content: space-between;
}
.left-side{
    display: flex;
    font-size: 46px;
    font-weight: bold;
    margin: 20px 20px 20px 0;
}
.letter:first-child{
    color: #3D8493;
}
.letter:nth-child(2){
    color: #D89F65;
}
.letter:last-child{
    color: #4A5C2F;
}
a{
    display: flex;
    text-decoration: none;
}
input{
    background-color: #ECF3F5;
    width: 357px;
    margin-left: 109px;
    border-radius: 10px;
    border: none;
    padding: 20px;
    outline: none;
}
input:hover{
    outline: none;
    border: 1px solid #3D8493;
    background-color: #B1CED4;
}
.right-side{
    display: flex;
    align-items: center;
    margin: 20px;
}
.right-side img{
    width: 18px; 
    position: relative;
    top: 2px;
}


.button{
    width: 175px;
    height: 58px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0%;
    background-color: #B1CED4;
    margin-left: 21px;
    border: none;
    color: #2C3832;
}
.button:hover{
    background-color: #5cadbdb7;
}
.button img{
    position: relative;
    top: 2px;
    right: 8px;
}


/* 
    Main
*/

main{
      margin-left: 170px;
}
.food-content{
    overflow-y: auto;
    display: flex;
    width: 940px;
    height: 619px;
    margin-top: 42px;
    margin-left: 139px;
    flex-wrap: wrap;
}

.food-card{
    display: flex;
    background-color:#D8E6E9;
    border: 1px solid #ECEDED;
    width: 203px;
    height: 214px;
    overflow: hidden;
    margin: 14px;
    padding-bottom: 10px;
    border-radius: 15px;
}
.food-card img{
    display: flex;
    width: 203px;
    height: 147px;
    object-fit: cover;
}
.food-card:hover{
    transform: scale(1.05);
    transition: ease-in-out 0.2s;
    border: 2px solid #2C3832;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px, rgba(0, 0, 0, 0.3) 0px 7px 13px 1px, rgba(0, 0, 0, 0.2) 0px -2px 1px inset;
}
.first-row, .second-row, .third-row{
    display: flex;
    flex-direction: row;
}
figcaption{
    display: flex;
    justify-content: center;
    width: 203px;
}
.card-title{
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.card-footer{
    padding: 8px 14px 10px 11px;
}
.card-info{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.card-category{
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    padding-right: 40px;
}
.category-level{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background-color: #E0B284;
    color: #FFFFFF;
    margin-right: 12px;
}
.category-level.oneN{
    color: #030200;
}
.category-level.n{
    background-color: #A2774C;
}
.category-level.g{
    background-color: #030200;
}
.category-level.o{
    padding: 2px;
    display: block;
    background-color: #EAF0F0;
    color: #030200;
}
.card-icons{
    display: flex;
    justify-content: space-between;
}
.card-icons img{
    top: 2px;
    position: relative;
    height: 17px;
    width: auto;

}

/* FOOTER  */


.footer-btns{
    position: fixed;
    width: min(100%, 930px);
    height: 106px;
    margin: auto;
    background-color: #EAF0F0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    bottom: 100px;
    left: 305px;
    z-index: 1;
}
.footer-btns button{
    border: none;
    cursor: pointer;
    border-radius: 10px;
    min-width: 140px;
    font-size: 16px;
    font-weight: 500;
    font-family:  Quicksand, sans-serif;
    text-transform: uppercase;
    width: auto;
    height: 58px;
    background-color: #D9D9D9;
   
}
.footer-btns button:first-child{
    background-color: #4A5C2F;
    color: #ECF3F5;
}
.footer-btns button:first-child:hover{
    background-color: #4A5C2F;
    color: #ECF3F5;
    border: 2px solid black;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
.footer-btns button:hover{
    background-color: #4A5C2F;
    transition: all 0.2s;
    color: #ECF3F5;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
footer{
    height: 200px;
}