@font-face {
  font-family: IBMPlexSans;
  src: url("../component/IBM_Plex_Sans/IBMPlexSans-SemiBold.ttf");
}

*{
margin: 0;
padding: 0;
font-family: IBMPlexSans, sans-serif;
}

body{
  min-height: 120vh;
}
nav{
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  height: 100%;
  height: 7rem;
  background: #ffffff;
  z-index: 99;
}

.spacer{
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  min-height: 2rem;
}

nav .navbar{
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  box-shadow: 0px 20px 0px #2240f8;
}


nav .navbar .nav-links{
  line-height: 70px;
  height: 100%;
  
}
nav .navbar .links{
  display: flex;

}
nav .navbar .links li{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding-right: 4rem;
}
nav .navbar .links li a{
  height: 100%;
  min-width: 100px;
  text-decoration: none;
  /* text-align: center; */
  white-space: nowrap;
  color: rgb(30, 30, 30);
  font-size: 1.2rem;
  font-weight: 700;
}

.links li a:hover {
  color: #2240f8;
  transition: all ease-in-out 400ms;

}

.links li a::before {
  content: "";
  display: block;
  height: 3px;
  position: absolute;
  bottom: 2rem;
  width: 0%;
  background-color: #2240f8;
  transition: all ease-in-out 400ms;
}

.links li a:hover::before {
  width: 70%;
  position: absolute;
  bottom: 0.7rem;
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(180deg);
  }

nav .navbar .links li .arrow{
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  display: inline-block;
  color: rgb(0, 0, 0);
  transition: all 0.3s ease;
}
nav .navbar .links li .sub-menu{
  position: absolute;
  top: 70px;
  left: 0;
  line-height: 40px;
  background: #2240f8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
  transition: all 0.3s ease;
}
nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu{
  display: block;
}
.navbar .links li .sub-menu li{
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .links li .sub-menu a{
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar .nav-links .sidebar-logo{
  display: none;
}
.navbar .bx-menu{
  display: none;
}

.logo {
  display: block;
  height: 11rem;
  padding-top: 2rem;
  padding-left: 4rem;
  z-index: 99;
}

@media (max-width:1020px) {
  nav .navbar{
    max-width: 100%;
  }

  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 10px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 15px;
  }
}
@media (max-width:850px){
  nav{
    position: relative;
  }
  .navbar .bx-menu{
    display: block;
  }
  nav .navbar .nav-links{
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 250px;
    width: 100%;
    background:  #2240f8;
    line-height: 60px;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
  }
  .navbar .nav-links .sidebar-logo{
    display: flex;
    float: right;
    justify-content: space-between;
  }

    .sidebar-logo  i{
      font-size: 2rem;
      padding: 1rem;
      color: #ffffff;
    }
    
    .navbar .bx-menu{
      font-size: 2rem;
      padding: 1rem;
      color: #000000;
    }

    .navbar .bx-menu:hover{
      transform: rotate(180deg);
    }


  nav .navbar .links{
    display: block;
    color: #ffffff;
    font-weight: bold;
    margin-top: 3rem;

  }
  nav .navbar .links li .arrow{
    line-height: 40px;
    color: #fff;
  }
nav .navbar .links li{
    display: block;
  }

  nav .navbar .links li a {
    color: rgb(255 255 255);
}

nav .navbar .links li .sub-menu{
  position: relative;
  top: 0;
  box-shadow: none;
  display: none;
}
nav .navbar .links li .sub-menu li{
  background-color: #2240f8;
}

.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(180deg);
  }

  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu{
    display: none;
  }
.navbar .nav-links.show1 .links .htmlCss-sub-menu{
      display: block;
      box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
      transition: all 0.5s ease;
    }
    .navbar .nav-links.show1 .links .htmlcss-arrow
    {
      transform: rotate(0deg);
    }

}

