html {
  scroll-behavior: smooth;
}
:root {
  --main-color-nav: #e0e0e0;
  --secondary-color: #f84002;
}
.over_flow {
  overflow: hidden;
}
@font-face {
  font-family: isr;
  src: url(../fonts/IRANSansX-Regular.woff);
}
@font-face {
  font-family: isb;
  src: url(../fonts/IRANSansX-Bold.woff);
}
@font-face {
  font-family: isd;
  src: url(../fonts/IRANSansX-DemiBold.woff);
}
@font-face {
  font-family: isbl;
  src: url(../fonts/IRANSansX-Black.woff);
}
/* navbar start */

.menu ul li:last-child:hover {
  transform: translateY(-3px);
  transition: all 0.5s;
}

.side_logo_white {
  width: 100px;
  height: 100px;
}

a {
  color: var(--secondary-color);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* navbar begin */
.hidden {
  visibility: hidden;
  transition: all 0.5s;
  opacity: 0;
}
.over_flow {
  overflow: hidden;
}
.color_back {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: -1;
  opacity: 0.5;
  filter: blur(100px);
}
.side_menu {
  width: 300px;
  height: 110vh;
  background-color: var(--secondary-color);
  position: absolute;
  top: -20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: right;
  transform: translateX(50px);
  transition: all 0.5s;
  overflow: scroll;
}
.side_logo_white {
  height: 60px;
  width: auto;
}
.close {
  width: 100%;
  margin-top: 10px;
}
.black_background {
  width: 100vw;
  height: 200vh;
  position: absolute;
  background-color: black;
  opacity: 0.8;
  transition: opacity 1s;
}
.close_child {
  width: 40px;
  height: auto;
  margin: 20px 5px;
}
.side_hr_hidden {
  margin: 0;
  padding: 0;
  width: 80%;
  margin: 0% 10%;
}

.navbar {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  /* border: 1px solid red; */
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  position: relative;
}
.menu li {
  display: inline-block;
  font-family: "isb";
  margin: 5px;
  color: #3f3e3e;
}
.menu ul a li:hover {
  transform: translateY(-5px);
  transition: 0.5s;
  color: var(--secondary-color);
}
.menu ul a li:not(:hover) {
  transition: 0.5s;
}
.nav_logo {
  height: 50px;
  margin-left: 30px;
}
.nav_logo_white {
  display: none;
}
.nav_logo:hover {
  transform: translateX(5px);
  transition: 0.5s;
}
.nav_logo:not(:hover) {
  transition: 0.5s;
}
.home__button {
  margin-right: 30px;
  font-size: 16px;
  padding: 10px 20px 10px 20px;
  border-radius: 100px;
  border: none;
  background-color: var(--secondary-color);
  color: white;
  font-family: "isd";
  cursor: pointer;
}
.home__button:hover {
  /* color: rgb(231, 185, 59); */
  transform: translateX(-5px);
  transition: 0.3s;
}
.home__button:not(:hover) {
  transition: 0.5s;
}
.motion_dash {
  border-bottom: 5px solid var(--secondary-color);
  color: var(--main-color-nav);
}

.hidden_menu {
  display: none;
}
.lines {
  width: 35px;
  background-color: var(--main-color-nav);
  height: 3px;
  margin: 7px 10px;
}
.hamburger_menu {
  cursor: pointer;
}
.side_menu_list {
  color: var(--main-color-nav);
  width: 80%;
  margin-top: 30px;
  font-family: "isb";
}
.list_part_one {
  display: flex;
  flex-direction: column;
}
.part_common {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0px;
}
.list_part_common {
  margin: 10px 0px;
}
.list_part_one a {
  margin: 8px 0px;
}
.list_sub {
  font-family: "isr";
  flex-direction: column;
}
.design_list_sub {
  display: none;
}
.motion_list_sub {
  display: none;
}
.video_list_sub {
  display: none;
}
.website_list_sub {
  display: none;
}
.list_sub a {
  margin: 7px 0px;
}
.display_flex {
  display: flex;
}
.rotate_arrow {
  transform: rotate(-90deg);
  transition: all 0.5s;
}
.not_rotate {
  transform: rotate(0deg);
}

/* navbar end */
/* nav media */
@media (max-width: 896px) {
  .home {
    display: none;
  }
  .menu {
    display: none;
  }
  .hidden_menu {
    display: block;
    margin: 0px 20px;
  }
  .navbar {
    background-color: #f84002;
    position: fixed;
    top: 0px;
    z-index: 2;
    margin: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .nav_logo {
    display: none;
  }
  .nav_logo_white {
    display: block;
    height: 50px;
    margin-left: 10%;
  }
}
@media (max-width: 480px) {
  .logo {
    height: 40px;
    width: 40px;
  }

  .hidden__logo {
    height: 40px;
    width: 40px;
    margin-bottom: 20px;
  }
}
@media (max-width: 430px) {
  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 30px;
  }
  .nav_logo {
    height: 40px;
  }

  .nav_logo_white {
    height: 30px;
  }
  .lines {
    width: 30px;
    height: 3px;
    margin: 5.5px 10px;
  }

  .color_back {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: -1;
    opacity: 0.5;
    filter: blur(40px);
  }
}

@media (max-width: 414px) {
  .nav_logo {
    height: 30px;
  }
  .nav_logo_white {
    height: 40px;
  }
  .lines {
    width: 25px;
    height: 2px;
    margin: 5.5px 10px;
  }
}
@media (max-width: 375px) {
  .side_hr_hidden {
    width: 70%;
    margin: 0% 26%;
  }
  .side_menu {
    width: 290px;
  }

  .side_logo_white {
    height: 40px;
    width: auto;
    margin-top: 10px;
  }
  .list_part_common {
    font-size: 13px;
  }
  .part_common img {
    height: 15px;
  }
  .close_child img {
    width: 30px;
    height: 30px;
  }
  .close_child {
    max-width: 30px;
    max-height: 30px;
    font-size: 20px;
  }

  .side_menu_contact {
    padding: 10px 30px 10px 0px;
  }
  .side_menu ul li {
    margin: 10px 40px;
    line-height: 35px;
  }
  .lines {
    width: 25px;
    height: 2px;
    margin: 5.5px 10px;
  }
}
