/* header navbar */
#navbar {
  position: fixed;
  height: 4rem;
  background-color: #F6F6F6;
  left: 0;
  right: 0;
  top: 0;
  max-width: 1400px;
  margin: auto;
  z-index: 100;
  font-family: lato;
}

.navbar-container a {
  text-decoration: none;
}

#navbar.opened .navbar-toggle .icon-bar:first-child,
#navbar.opened .navbar-toggle .icon-bar:last-child {
  position: absolute;
  margin: 0;
  width: 30px;
}

#navbar.opened .navbar-toggle .icon-bar:first-child {
  transform: rotate(45deg);
}

#navbar.opened .navbar-toggle .icon-bar:nth-child(2) {
  opacity: 0;
}

#navbar.opened .navbar-toggle .icon-bar:last-child {
  transform: rotate(-45deg);
}

#navbar-menu {
  position: fixed;
  top: 4rem;
  bottom: 0;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out,
    left 0.2s ease-in-out, right 0.2s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

#navbar-menu.sidebar,
#navbar-menu.sidebar.left {
  left: -1400px;
  right: 0;
}

#navbar-menu.sidebar.right {
  right: -1400px;
  left: 0;
}

#navbar-menu.detached,
#navbar-menu.attached {
  left: 0;
  right: 0;
}

#navbar.opened #navbar-menu {
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 1;
  visibility: visible;
}

#navbar.opened #navbar-menu.sidebar.left {
  left: 0;
}

#navbar.opened #navbar-menu.sidebar.right {
  right: 0;
}

#navbar.opened .navbar-links {
  padding: 1em;
  max-height: none;
}

.container {
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}

.navbar_first_part {
  display: flex;
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 100%;
  align-items: center;
}

.home-link,
.navbar-link {
  color: black;
  transition: color 0.2s ease-in-out;
  text-decoration: none;
  display: flex;
  font-weight: 400;
  align-items: center;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  padding-right: 2rem;
}

.home-link:focus,
.home-link:hover {
  color: white;
}

.navbar-link {
  justify-content: center;
  width: 100%;
  padding: 0.8em 0.8em;
  border-radius: 5px;
}

.navbar-link:focus,
.navbar-link:hover {
  opacity: 0.65;
}

.navbar-link:first-child {
  min-width: max-content;
}

.navbar-logo {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-right: 0.5em;
}

.navbar-logo>img {
  height: 100%;
  width: 100%;
}

.navbar-toggle {
  cursor: pointer;
  border: none;
  /* background-color: white; */
  background-color: #F6F6F6;
  color: black;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.icon-bar {
  display: block;
  width: 25px;
  height: 4px;
  margin: 2px;
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
  background-color: black;
}

.navbar-toggle:focus .icon-bar,
.navbar-toggle:hover .icon-bar {
  background-color: black;
}

.navbar-links {
  list-style-type: none;
  max-height: 0;
  overflow: hidden;
  position: absolute;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar .navbar-links {
  top: 0;
  bottom: 0;
}

.left.sidebar .navbar-links {
  left: 0;
  right: unset;
  box-shadow: 5px 20px 20px rgba(0, 0, 0, 0.3);
}

.right.sidebar .navbar-links {
  right: 0;
  left: unset;
  box-shadow: -5px 20px 20px rgba(0, 0, 0, 0.3);
}

.detached .navbar-links {
  left: 0;
  right: 0;
  margin: 1.4rem;
}

.attached .navbar-links {
  left: 0;
  right: 0;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.3);
}

.navbar-item {
  margin: 0.4em;
  /* width: 100%z; */
  width: auto;
  font-size: 0.875rem;
}

.demo_button {
  /* width: 153px; */
  height: 44px;

}

.demo_button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.demo_button .login {
  color: black;
  white-space: nowrap;
  font-size: 0.875rem;
}

.demo_button .login:hover {
  text-decoration: none;
  opacity: 0.65;
}

.demo_button button {
  border-radius: 35.5px;
  border: 1px solid #717171;
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  text-align: center;

  color: #000000;
  background-color: white;
  transition: all 0.3s ease 0s;
  font-family: lato;
}

.demo_button button:hover {
  background-color: #f7f7f7;
}

/* end of header navbar */