@font-face {
  font-family: "mainfont";
  src: url(../font/vazir/Vazir-Medium.ttf);
}

* {
  font-family: "mainfont";
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
}
body {
  overflow-x: hidden;
}

.Header {
  background-color: rgb(160, 185, 159);
  display: flex;
  justify-content: space-around;
  justify-items: center;
  align-items: center;
  align-content: center;
  width: 100%;
  height: 120px;
}
.MiddlePanel {
  background-color: #819d81;
  margin-top: 8%;
  border-radius: 100%;
  width: 170px;
  height: 170px;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-items: center;
  align-content: center;
}

.MiddlePanel img {
  height: 110px;
}

.RightPanel ul {
  display: flex;
  direction: rtl;
}
.LeftPanel {
  width: 33.33%;
}
.RightPanel {
  width: 33.33%;
}

.LeftPanel ul {
  display: flex;
}
.RightPanel ul li a,
.LeftPanel ul li,
.RightPanel ul li {
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  transition: 0.2s;
}
.RightPanel ul li:hover,
.LeftPanel ul li:hover {
  scale: 1.3;
}
.RightPanel ul li {
  padding: 20px;
  list-style: none;
}
.LeftPanel ul li {
  padding: 20px;
  list-style: none;
}
.LeftPanel ul li a {
  color: white;
}
.SideMenu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.712);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0px 10px rgb(65, 65, 65);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.SideMenu ul li {
  background-color: darkolivegreen;
  padding: 10px;
  text-decoration: none;
  list-style: none;
  width: 100%;
  margin-top: 15px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 2px 5px black;
}
.SideMenu ul {
  width: 100%;
  padding: 10px;
}
.SideMenu ul li a,
i {
  color: white;
  font-size: 16px;
  text-align: center;
}
.MobileHeadLefts li,
.MobileHeadRight li {
  display: none;
}
.box {
  background-color: whitesmoke;
  width: auto;
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  width: 100%;
  border-radius: 20px;
  transition: 0.2s;
}
.fa-user {
  padding: 10px;
  font-size: 20px;
}
.box:hover {
  width: 100%;
}
.box input {
  width: 0;
  outline: none;
  border: none;
  font-weight: bold;
  transition: 0.2s;
  color: black;
  background-color: transparent;
}
.box:hover input {
  width: 100%;
}
.box a .fa-magnifying-glass {
  color: black;
}
.SearchBox:hover .SearchContent {
  display: flex;
  flex-direction: column;
}
.SearchContent:hover,
.box,
.box input {
  width: 100%;
}
.SearchContent {
  position: absolute;
  width: 100%;
  height: 160%;
  background-color: rgba(187, 187, 187, 0.534);
  display: none;
  border-radius: 15px;
  flex-direction: column;
  justify-content: space-around;
  justify-items: center;
  align-items: center;
  align-content: space-around;
  padding: 5px;
}
.Products {
  width: 100%;
  height: 20%;

  border: 10px;
}
.pName {
  background-color: rgba(78, 78, 78, 0.507);
  width: 100%;
  height: 100%;
  text-align: center;
  border-radius: 25px;
}
.pName a {
  text-align: center;
}
@media only screen and (max-width: 1024px) {
  .MiddlePanel {
    margin-top: 15%;
  }
}
@media only screen and (max-width: 954px) {
  .RightPanel ul li a,
  .LeftPanel ul li,
  .RightPanel ul li {
    font-size: 14px;
  }
}
@media only screen and (max-width: 768px) {
  .RightPanel ul li a,
  .LeftPanel ul li,
  .RightPanel ul li {
    font-size: 10px;
    scale: 1.2;
  }
  .MiddlePanel {
    margin-top: 20%;
  }
}
@media only screen and (max-width: 600px) {
  .MobileHeadLefts li,
  .MobileHeadRight li {
    display: flex;
  }
  .MiddlePanel img {
    height: 110px;
  }

  .RightPanel ul {
    display: flex;
    direction: rtl;
  }
  .LeftPanel {
    width: 33.33%;
  }
  .RightPanel {
    width: 33.33%;
  }

  .LeftPanel ul {
    display: flex;
  }
  .RightPanel ul li a,
  .LeftPanel ul li,
  .RightPanel ul li {
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    transition: 0.2s;
  }
  .RightPanel ul li:hover,
  .LeftPanel ul li:hover {
    scale: 1.3;
  }
  .RightPanel ul li {
    padding: 20px;
    list-style: none;
  }
  .LeftPanel ul li {
    padding: 20px;
    list-style: none;
  }
  .LeftPanel ul li a {
    color: white;
  }
  .Mobileremoval li {
    display: none;
  }
  .MobileHeadLefts {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
    margin-top: 25%;
  }
  .MobileHeadRight {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
    margin-top: 25%;
  }
  .MobileHeadRight li a i {
    font-size: 30px;
  }
  .MobileHeadLefts li a i {
    font-size: 30px;
  }
  .MiddlePanel {
    background-color: #819d81;
    margin-top: 27%;
    border-radius: 100%;
    width: 170px;
    height: 150px;
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
  }
  .MiddlePanel img {
    height: 90px;
  }
}
