#navbar {
  width: 100%;
  height: 100px;
  padding-top: 20px;
  padding-bottom: 20px;
  position: fixed;
  background-color: transparent;
  top: 0;
  z-index: 2;
  transition: background-color 0.5s ease;
}

#navbar-wrapper {
  max-width: 2000px;
  height: 100%;

  display: flex;
  flex-direction: row;
  justify-content: flex-start;

  margin: auto;
}

#navbar .left-space,
.right-space {
  width: 50px;
  height: 100%;
}

#logo {
  width: 100px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#logo svg {
  width: 55%;
  height: 90%;
}

#links {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

#links .link {
  position: relative;
  font-size: 20px;
  margin-left: 35px;
  margin-right: 35px;
}

#links .link a {
  color: var(--color-white);
  font-weight: 300;
  text-decoration: none;
}

#links .link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--color-white);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease-in-out;
}

#links .link:hover::after {
  width: 100%;
}

#mobile-menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  align-items: center;
}

#mobile-links {
  display: none;
  flex-direction: column;
  background-color: var(--color-white);
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  z-index: 1;
  padding: 20px;
  gap: 15px;
  text-align: center;
}

#mobile-links a {
  color: white;
  font-size: 18px;
  text-decoration: none;
}

#mobile-links.show {
  display: flex;
}

.mid-space {
  display: none;
}

@media screen and (max-width: 768px) {
  #navbar {
    height: auto;
  }

  #navbar-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden !important;
  }

  #navbar .left-space,
  .right-space {
    width: 25px;
  }

  .mid-space {
    display: block;
    width: 50%;
  }

  #links {
    display: none;
  }

  #mobile-menu-icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  #mobile-links a {
    color: black;
    font-size: 22px;
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  #mobile-links.show {
    display: flex;
  }
}