:root {
  --primary: #353530;
  /* --dark-primary: #1c1b19; */
  --dark-primary: #000000;
  --gray: #8e8f9b;
  --light-gray: #f5f5f5c2;
  --lighter-gray: #f7f7f7;
  --accent: #f3791b;
  --secondary: #ffd042;
  --holyday: #747474;
  --birthday: #f03939;
}

@font-face {
  font-family: iranSans;
  src: url(../font/IRANSansWeb.woff2);
}

* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  direction: rtl;
  text-decoration: none;
  font-family: iranSans;
}

body {
  background-color: #f5f5f5c2;
  display: flex;
  width: 100vw;
  height: 100vh;
  min-height: max-content !important;
  margin: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--dark-primary);
  background: linear-gradient(var(--gray), var(--light-gray));
}

body::-webkit-scrollbar,
.scroll::-webkit-scrollbar {
  background: linear-gradient(var(--secondary), var(--primary));
  width: 3px;
}

body::-webkit-scrollbar-thumb,
.scroll::-webkit-scrollbar-thumb {
  background: #000;
  width: 3px;
  height: 2px;
}

.hide {
  display: none !important;
}

.opacity {
  opacity: 0%;
}

.todayInfo {
  grid-row: 1;
  grid-column: 1;
  background-color: var(--accent);
  padding: 10px;
  margin: auto;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid var(--secondary);
  height: 85%;
  width: 95%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around !important;
}

.dateToday div {
  padding: 10px;
  font-size: 16px;
}

.menu,
.menu_link {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around !important;
  padding: 8px;
  color: #000;
}

.menu_link {
  height: 100%;

}

.menu {
  margin-bottom: 10px;
  overflow-x: scroll;
  overflow-y: hidden;
}

.menu::-webkit-scrollbar {
  background: linear-gradient(var(--secondary), var(--primary));
  /* width: 3px; */
  height: 3px;
}

.menu::-webkit-scrollbar-thumb {
  background: #000;
  /* width: 3px; */
}

.menu_link {
  justify-content: center;
  flex-direction: column;
}

.menu_index {
  overflow: auto;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.menu_item {
  width: 8%;
  height: 100%;
  background-color: var(--secondary);
  border: 1px solid var(--dark-primary);
  border-radius: 5px;
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.menu_item-index {
  align-self: center;
  width: 90%;
  height: 85%;
  margin: auto;
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.menu_item-index .menu_img {
  width: 60px;
}

.menu_item-index h5 {
  font-size: 20px;
}

.menu_img {
  width: 40px;
  margin: 5px 10px;
}

.result {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 5px;
}

.result_box {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid var(--primary);
  border-radius: 5px;
  margin: 5px;
}

.result_img {
  width: 15px;
}

.result_input {
  width: 70%;
  border: none;
  background-color: transparent;
  text-align: center;
  font-size: 13px;
}

.section_btnDiv {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin: 5px;
}

.section_btn {
  width: 49%;
  border-radius: 5px;
  padding: 5px;
  border: 1px solid var(--dark-primary);
  background-color: var(--primary);
  color: var(--lighter-gray);
  cursor: pointer;
}

.section_title {
  position: absolute !important;
  top: -70px;
  width: 50%;
}

footer {
  display: none;
  /* margin-top: 30px; */
  width: 100vw;
  height: 30px;
  background-color: var(--dark-primary);
  color: var(--lighter-gray);
  padding: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.footer_title {
  width: 80%;
  text-align: center;
  color: var(--lighter-gray);
}

@media (max-width: 800px) {

  * {
    font-size: 12px;
  }


  .menu {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    height: 100%;
  }

  .menu_item {
    width: 95%;
    margin-top: 10px;
    height: max-content !important;
  }

  .menu_img {
    width: 30px;
    margin: 5px;
  }

  /*   .menu_link{
  width: 100%;
  display: flex;
  flex-direction: column;
} */
  .menu_link h5 {
    font-size: 10px;
  }
}

@media (max-width: 550px) {

  .menu_link {
    flex-direction: column;
  }
}