#navs {
  position: fixed;
  top: 0;
  background-color: var(--vgec-primary);
  width: 100%;
  z-index: 999;
  transition: all 0.5s;
}

#nav-1 {
  background-color: var(--vgec-primary);
}

#nav-1 .nav-item {
  margin-left: 15px !important;
}

.logo img {
  margin-top: auto;
  height: 65px;
  width: 65px;
}

#vgec-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--vgec-back);
  line-height: 1.6rem;
  word-break: keep-all;
}

#vgec-subname {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--vgec-back);
  margin-top: 10px;
}

.nav-link {
  color: white !important;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

#nav-phone .nav-item .nav-link,
#nav-phone .custom-dropdown {
  user-select: none;
}

.nav-item {
  position: relative !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* .inner-list > .custom-dropdown > a > div::first-line {
	line-height: 2rem;
} */

nav {
  padding: 10px 2% !important;
}

.inner-list {
  position: relative;
}

.inner-list .custom-dropdown {
  top: -16px;
  left: 100%;
  padding: 0;
  border: 1px solid var(--vgec-text);
  white-space: inherit;
}

.inner-list > span {
  padding-right: 20px;
}

.inner-list::after {
  content: ">";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.custom-dropdown {
  position: absolute;
  top: 3.7rem;
  left: 0;
  background-color: white;
  border-radius: 4px;
  display: none;
  z-index: 15;
  border: 1px solid var(--vgec-text);
  border-top: none;
  max-width: 300px;
  width: max-content;
}

.custom-dropdown div {
  padding: 8px 16px;
  line-height: 1;
}

.custom-dropdown > a > div:hover,
.custom-dropdown > div:hover {
  background-color: var(--vgec-primary) !important;
  color: var(--vgec-back);
  cursor: pointer;
}

.custom-dropdown > a:first-of-type > div {
  margin-top: 15px;
}

.custom-dropdown > a:last-of-type > div {
  margin-bottom: 15px;
}
#mynavbar .hover-underline-animation {
  color: var(--vgec-primary);
}
#mynavbar .hover-underline-animation:after {
  height: 2px;
  background-color: var(--vgec-primary);
}
#mynavbar > ul > li > a {
  color: var(--vgec-primary) !important;
  /* font-weight: bold; */
}

@media screen and (min-width: 1200px) {
  .inner-list:hover .custom-dropdown:first-of-type {
    display: block !important;
  }

  .nav-item:hover > .custom-dropdown:first-of-type {
    display: block !important;
  }
}

@media screen and (max-width: 1200px) {
  #vgec-name {
    font-size: 1.3rem;
  }
  #vgec-subname {
    margin-top: 0;
    color: white;
  }
}

@media screen and (max-width: 992px) {
  nav {
    padding: 10px 4% !important;
    border-bottom: 1px solid hsl(0, 0%, 80%);
  }

  #navs {
    transition: all 0.5s;
  }

  #nav-1 .nav-item {
    margin-left: 10px !important;
  }

  #vgec-name {
    font-weight: 600;
  }
}

@media screen and (max-width: 768px) {
  .logo img {
    height: 50px;
    width: 50px;
    display: inline-block;
  }

  #vgec-name {
    font-size: 0.8rem;
    line-height: normal;
  }

  #vgec-subname {
    font-size: 0.8rem;
    line-height: normal;
    margin-top: 0;
  }
  .nav-link {
    font-size: 1rem;
  }
}
