:root {
  --header-space: 80px;
}

#navbar {
  z-index: 100;
  position: fixed !important;
  width: 100%;
  background-color: #fafafa;
  border-bottom: 1px #c8c8c8 solid;
  color: black;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

@media (min-width: 1200px) {
  .navbar-static {
    border-color: transparent !important;
    background-color: transparent !important;
  }
}

#navbar-content-wrapper {
  width: min(1500px, 100%);
  margin: auto;
}

#header-space {
  height: 80px;
}

.navbar-logo {
  margin-top: 17px;
  margin-bottom: 17px;
  height: 36px;
}

.navbar-logo, #login-button {
  position: relative;
  z-index: 10;
}
.navbar-nav .nav-link {
  position: relative;
  padding-bottom: 8px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 0%;
  background-color: #0d6efd;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  width: 95%;
}

@media (min-width: 1399px) {
  .navbar-nav {
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
  }
}

@media (max-width: 1200px) {
  :root {
    --header-space: 57px;
  }

  #header-space {
    height: 57px;
  }

  .navbar-logo {
    margin-top: 8px;
    margin-bottom: 8px;
    height: 22px;
  }
}