/* css reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, textarea, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

@font-face {
    font-family: 'vazir';
    src: url('../fonts/Vazir-Regular.ttf') format('truetype');
    src: url('../fonts/Vazir-Regular-FD.ttf') format('truetype');
    src: url('../fonts/Vazir-Regular.eot') format('embedded-opentype'),
    url('../fonts/Vazir-Regular-FD.eot') format('embedded-opentype'),
    url('../fonts/Vazir-Regular-FD.woff2') format('woff2'),
     url('../fonts/Vazir-Regular.woff2') format('woff2'),
     url('../fonts/Vazir-Regular-FD.woff') format('woff'),
      url('../fonts/Vazir-Regular.woff') format('woff');
      font-display: block;
}
@font-face{
    font-family: 'bacalisties';
    src: url('../fonts/Bacalisties.ttf') format('truetype');
}
*{
    box-sizing: border-box;
}
body {
    font-family: 'vazir';
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 2rem;
}
button , input , select{
    font-family: 'vazir';
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
button{
    outline: none;
    border: none;
    cursor: pointer;
}
:root{
    --blue:#034078;
    --light-blue: #1480cc;
    --black:#000;
    --white:#fff;
}
a{
    text-decoration: none;
}

.menu-nav{
    width: 100%;
    max-width: 100%;
    position: sticky;
    top: 0;
    background-color: var(--white);
    height: 9rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 2;
    border-bottom: 2px solid var(--light-blue);
}
.menu-logo{
    width: 18%;
    font-size: 120px;
    font-family: 'bacalisties';
    color: var(--blue);
    display: flex;
    justify-content: center;
    position: relative;
    top: -1rem;
}
.menu-nav ul{
    width: 80%;
    display: flex;
    align-items: center;
    overflow-x: auto;
    height: 100%;
    height: 8rem;
    position: relative;
}
.menu-nav-right{
    position: sticky;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--white);
    padding: 1rem 3rem 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-nav ul::-webkit-scrollbar {
    height: 3px;
  }
  .menu-nav ul::-webkit-scrollbar-track {
    background: #e7eef5;
    border-radius: 3px;
  }
  .menu-nav ul::-webkit-scrollbar-thumb {
    background: #8bb7e0;
    border-radius: 3px;
  }
.menu-nav li{
    width: 6rem;
    min-width: 6rem;
    height: 6rem;
    border-radius: 0.4rem;
    border: 2px solid #3093da25;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
}
.menu-nav a{
    color: var(--blue);
    font-size: 16px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    border-radius: 0.4rem;
    padding: 0.3rem 0.2rem;
    background: var(--white);
}
.menu-list-container{
    width: 100%;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, auto));
    gap: 1.3rem;
}
.menu-list-item{
    width: 100%;
    border-radius: 0.4rem;
    height: 9rem;
    background: url('../images/bd0af764f8e10b3c154d9cf8cdaebc0a.jpg');  
    background-size: cover;
    border-right: 3px solid var(--blue);
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    color: var(--blue);
    position: relative;
}
.menu-list-item img{
    width: 8rem;
    height: 8rem;
    border-radius: 0.3rem;
    margin-left: 1rem;
}
.menu-list-item-info{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    height: 100%;
}
.menu-list-item h6{
    font-family: 'bacalisties';
    transform: rotate(-90deg);
    position: absolute;
    left: 0.5rem;
    color: var(--blue);
    font-size: 40px;
}
@media screen and (max-width:800px){
    body{
        padding: 0 1rem;
    }
    .menu-nav{
        flex-direction: column-reverse;
        align-items: center;
        height: auto;
        border-bottom: none;
    }
    .menu-nav ul{
        width: 100%;
        background-color: var(--blue);
        border-radius: 0.4rem;
        height: 5rem;
        padding-right: 1rem;
        padding-left: 1rem;
    }
    .menu-nav li{
        width: 9rem;
        min-width: 9rem;
        padding: 0.2rem 0.4rem;
        height: 4rem;
        margin-left: 0.7rem;
        border: none;
    }
    .menu-nav a{
        color: var(--blue);
        font-size: 16px;
        font-weight: bold;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        height: 100%;
        border-radius: 0.4rem;
        padding: 0.3rem 0.2rem;
        background: var(--white);
        border: none;
        outline: none;
    }
    .menu-nav ul::-webkit-scrollbar {
        height: 0;
      }
    .menu-logo{
       width: 100%;
       top: 0;
       line-height: 1;
       margin-top: 1rem;
    }
    .menu-nav-right{
        display: none;
    }
    .menu-list-container{
        width: 100%;
        padding-top: 2rem;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100%, auto));
        gap: 1.3rem;
    }
    .menu-list-item{
        background: none;
        background-color: #8dc1f186;
        color: var(--blue);
    }
    .menu-list-item h6{
        font-size: 27px;
        left: 0.3rem;
    }
    .menu-list-item-info{
        font-size: 15px;
    }
    .menu-list-item{
        height: 7rem;
    }
    .menu-list-item img{
        width: 6rem;
        height: 6rem;
    }
}