$text_color: #3d3c42;

.navbar {
  .navbar_main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 25px;
    border-bottom: 1px solid #eee;

    .menu_logo {
      display: none !important;
      display: flex;
      align-items: center;

      .menu_icon {
        cursor: pointer;
        color: $text_color;
        font-size: 18px;
      }
    }

    .text_none {
      margin-left: 70px;
      color: $text_color;
      font-size: 20px;
    }

    .item_lists {
      display: flex;
      align-items: center;
      margin-left: auto;
      margin-right: 100px;

      .item {
        margin-left: 15px;
        display: flex;
        align-items: center;
        position: relative;

        .item_icon {
          font-size: 22px;
          cursor: pointer;
          color: $text_color;

          &.white {
            color: rgba(255, 255, 255, 0.699);
          }
        }

        .admin_pic {
          width: 30px;
          height: 30px;
          border-radius: 50%;
          object-fit: cover;
          cursor: pointer;
        }
      }
    }
  }

  .res_navbar {
    display: none;
    .res_nav_menu {
      display: block;
      position: fixed !important;
      top: 90px;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.76);
      z-index: 10;

      .res_nav_menuu {
        position: relative !important;
        width: 75%;
        background-color: #f6fcfd;
        overflow: hidden;
        height: 100vh;
        padding: 20px 5px;
        -webkit-animation: scale-up-hor-left 0.4s
          cubic-bezier(0.39, 0.575, 0.565, 1) both;
        animation: scale-up-hor-left 0.4s cubic-bezier(0.39, 0.575, 0.565, 1)
          both;
      }

      .links {
        margin: 15px 10px;
        // margin: 10px;
        ul {
          .spann {
            text-transform: uppercase;
            color: gray;
            margin: 10px 5px 5px;
            font-size: 14px;
          }

          li {
            display: flex;
            align-items: center;
            margin-left: 0px;
            color: $text_color;
            padding: 7px 10px;
            margin-bottom: 5px;
            font-weight: 500;
            transition: all 0.2s ease;
            border-radius: 4px;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.2s ease;

            &:hover {
              background-color: $text_color;
              color: white;
            }
            &:hover .icon {
              color: white;
            }
            .icon {
              color: $text_color;
              margin-right: 10px;
              font-size: 18px;
            }
          }
        }
      }
      @-webkit-keyframes scale-up-hor-left {
        0% {
          -webkit-transform: scaleX(0.4);
          transform: scaleX(0.4);
          -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
        }
        100% {
          -webkit-transform: scaleX(1);
          transform: scaleX(1);
          -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
        }
      }
      @keyframes scale-up-hor-left {
        0% {
          -webkit-transform: scaleX(0.4);
          transform: scaleX(0.4);
          -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
        }
        100% {
          -webkit-transform: scaleX(1);
          transform: scaleX(1);
          -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
        }
      }
    }
  }
}

@media screen and (max-width: 992px) {
  .navbar {
    // height: 60px;
    .navbar_main {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 25px;
      border-bottom: 1px solid #eee;

      .menu_logo {
        display: block !important;
        display: flex !important;
        align-items: center !important;
      }
    }

    .res_navbar {
      display: block;
    }
  }
}

@media screen and (max-width: 767px) {
  .navbar {
    .navbar_main {
      padding: 15px 15px;

      .menu_logo {
        margin-left: 20px;
      }

      .text_none {
        margin-left: 15px !important;
      }

      .item_lists {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 40px;
      }

      .text_none {
        margin-left: 30px;
      }

      .item_lists {
        .item {
          margin-left: 10px;
        }
        .item_lan {
          display: none;
        }
      }
    }
  }
}
