@font-face {
    font-family: "Rezvan";
    src: url("./assets/fonts/PINAR-MEDIUM.TTF");
}

@font-face {
    font-family: "Prezvan";
    src: url("./assets/fonts/Rezvan.ttf");
}

@font-face {
    font-family: "PINAR-DS1-REGULAR";
    src: url("./assets/fonts/PINAR-DS1-REGULAR.ttf");
}

@font-face {
    font-family: "mango";
    src: url("./assets/fonts/mango.ttf");
}

body {
    margin: auto;
    background-color: #d2d2d2 ;
    font-family: "Rezvan";
}

a {
    text-decoration: none;
    color: black;
}

li {
    cursor: pointer;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: #d7b14c;
}



.header .title {
    font-size: 20px;
}

.header img {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.main {
    position: relative;
}

.main img {
    width: 100%;
    height: 300px;
}

.list {
    position: absolute;
    top: 70px;
    width: 100%;
    justify-content: center;
    display: flex; 
}

.search {
    width: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    justify-content: center;
    top: 5%;
}

.search img {
    width: 15px;
    height: 15px;
    color: gray;
    padding: 8px 10px;
    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search input {
    padding: 7px 10px;
    outline: none;
    border: none;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 40%;
}

#result {
    width: 100%;
    display: none;
}

#result h4 {
    margin-right: 30px;
}



.list .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
    height: 120px;
    border-radius: 120px;
    background-color: #d7b14c;
    margin-right: 10%;
}

.list a {
    margin-right: 10%;
}

.list a:nth-child(1) {
    margin-right: 0px;
}

.item:nth-child(1){
    margin-right: 0px;
}

.item img {
    width: 70px;
    height: 70px;
    margin: auto;
    margin-top: 10px;
    /* background-color: white; */
    border-radius: 100%;
}

.item span {
    text-align: center;
    margin: auto;
    margin-bottom: 15px;
}

.menu-list {
    position: absolute;
    top: 270px;
    width: 100%;
    background-color: #d2d2d2;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    padding: 20px 0px;
}



.sort {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    gap: 5px;
}



.sort .sort-item {
    padding: 5px 10px;
    height: fit-content; 
    background-color: #d7b14c;
    border-radius: 20px;
}



.menu-item {
    display: flex;
    position: relative;
    background-color: #efefef;
    padding: 20px 15px;
    width: 80%;
    margin: 5px auto;
    border-radius: 10px;
}



.menu-item img {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 100%;
}

.menu-item div:nth-child(2) {
    width: 40%;
    margin-right: 10px;
}



.menu-item div:nth-child(3) {
    display: flex;
    position: absolute;
    top: 20px;
    left: 15px;
    justify-content: space-between;
    background-color: white;
    padding: 5px;
    width: fit-content;
    border-radius: 20px;
    height: fit-content;
    font-family: "Prezvan" !important;
}

.menu-item div:nth-child(3) span:nth-child(2){
    margin-right: 70px;
}

@media (width > 400px) {
    .parent-item {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .menu-item {
        width: 300px;
    }
    .sort .sort-item {
        margin-right: 2%;
    }
}
@media (width > 1012px) {
    .sort .sort-item {
        margin-right: 5%;
    }
}

@media (width > 388px) and (width < 676px) {
    .menu-item {
        width: 85%;
    }
}





@media (width > 992px) {
    .parent-item {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .menu-item {
        width: 400px;
    }
}


/* menu page styles */

.main-container {
    height: 100%;
    width: 100%;
}

.menu-main {
    padding-top: 50px;
    padding-bottom: 30px;
    background-image: url("./assets/images/menuBackground.jpg");
    height: 100%;
    width: 100%;
    background-size: cover;
    /* padding-bottom: 1000px; */
}









.menu-main span {
    width: fit-content;
    background-color: #d7b14c;
    padding: 5px 30px;
    border-radius: 7px;
    color: white;
    font-size: 20px;
    margin-right: 50px;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    column-count: 2;
    margin-right: 50px;
}






.menu-items a {
    width: 120px;
    text-align: center;
    margin-top: 15px;
    padding: 5px 30px;
    border: 1px solid white;
    border-radius: 7px;
    color: white;
    font-size: 20px;
    cursor: pointer;
}



.menu-main p {
    color: white;
    font-size: 20px;
    margin-right: 50px;
}

.details {
    margin-left: 20px;
    font-size: 30px;
}

.details .title {
   color: #d7b14c;
    font-size: 30px;
    font-weight: bold;
}



.details .middle div:nth-child(2) , .details .middle div:nth-child(3) {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #d7b14c;
    margin: 0px 5px;
}

.details .middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    width: fit-content;
    padding: 5px 0px;
    border-bottom: 2px solid white;
}

.details  {
    color: white;
}

@media (width < 450px) {
    .menu-items a {
         width: 80px;
         font-size: 15px;
    }
 }

 @media (width > 470px) {
    .menu-items a {
        width: 130px;
        font-size: 20px;
   }
 }

 @media (width > 630px) {
    .menu-items a {
        width: 200px;
        font-size: 20px;
   }
 }



@media (width > 800px) {
    .menu-items a {
        width: 229px;
        font-size: 20px;
   }
   .menu-items {
    margin-right: 200px;
   }

   .menu-main span , .menu-main p  {
    margin-right: 200px;
   }
}

@media (width > 1090px) {
    .menu-items a {
        width: 300px;
        font-size: 20px;
   }
}

@media (width > 1140px) {
    .menu-items a {
        width: 400px;
        font-size: 20px;
   }
}




