#nav_bar_head {
  width: 100%;
  max-width: 1550px;
  height: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  padding: 8px 30px;
  z-index: 100;
  color: white;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.09576330532212884) 0%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 22%,
    rgba(0, 0, 0, 0) 52%,
    rgba(0, 0, 0, 1) 83%,
    rgba(0, 0, 0, 1) 100%
  );
}

#logo {
  font-family: var(--font-family-main);
  font-size: calc(var(--heading-1));
}

.nav-links li {
  list-style: none;
  display: inline-block;
  padding: 4px 10px;
  margin: 0 4px;
  font-size: calc(var(--heading-2) - 0.2rem);
  font-family: var(--font-family-main);
  font-weight: 500;
}


.active-link{
  border-bottom: 2px solid white;
}

.nav-links a {
  text-decoration: none;
  color: white;
}


.resume {
  padding: 6px 12px;
  font-size: calc(var(--heading-2) - 0.2rem);
  border: none;
  border-radius: 20px;
  background-color: white;
  outline: 1px solid white;
  transition: all 0.1s linear 0s;
  font-family: var(--font-family-main);
  font-weight: 600;
  margin-left: 40px;
}

.resume:hover {
  outline-offset: 5px;
}

#kumar {
  color: var(--secondary-color);
}

@media screen and (max-width: 1023px) {
  #logo {
    font-size: calc(var(--heading-1) - 0.5rem);
  }
  .nav-links li{
    font-size: calc(var(--heading-2) - 0.5rem);
  }
  .resume {
    font-size: calc(var(--heading-2) - 0.5rem);
  }
}


.nav_bar {
  transition: all 0.3s linear;
}



/* side bar code */


@media screen and (max-width: 851px) {
  .nav_bar {
    position: absolute;
    background-color: rgba(21, 21, 21, 0.53);
    backdrop-filter: blur(10px);
    height: 100vh;
    top: 0;
    left: 100%;
    width: 100%;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-around;
    padding-top: 10px;
    text-align: center;
  }

  .nav-links li{
    font-size: calc(var(--heading-2));
  }


  .burgger_close {
    align-self: flex-start;
    margin: 10px;
  }

  .resume {
    align-self: center;
    font-size: var(--heading-2);
    padding: 10px;
    margin: 0;
  }
}


@media screen and (min-width: 851px) {
  #burgger {
    display: none;
  }

  #burgger_close {
    display: none;
  }

  a:hover {
    color: red;
  }
}

