#navbar_container {
  /* border-bottom: #014235 1px solid; */
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1000;
  background: var(--light-blue);
  border-bottom: grey 2 5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
}

#navbar_items {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
  gap: 2rem;
}

#call_now_button {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: white;
  background-color: #2a7a3d;
  margin-right: 1rem;
}

#call_now_button i {
  color: white;
}

.call_now_link {
  color: white;
  text-decoration: none;
}

#call_now_button:hover {
  box-shadow: 0 0 10px #0b3a2d;
  transition: box-shadow 0.3s ease;
}


.navbar_item a {
  color: #2a7a3d;
  text-decoration: none;
  font-size: 1.3rem;
}
.navbar_item>a:hover {
  color: black;
  /* transform: scale(1.2); */
  text-shadow: 0 0 5px #EAEEFB;
  border-radius: 5px; 
}

#account_item{
  color: #2a7a3d;
}

#account_item:hover{
  color: black;
  text-shadow: 0 0 5px #EAEEFB;
  border-radius: 5px; 
}


.navbar_item {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.dropbtn {
  font-size: 1.1rem;
  color: green;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
  transition: background-color 0.3s ease-in-out;
}

.dropbtn:hover {
  background-color: #444;
  border-radius: 5px;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #0b3a2d;
  min-width: 150px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease-in-out;
}

.dropdown-content a:hover {
  background-color: #555;
  border-radius: 5px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#logo {
  height: fit-content;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#logo img {
  width: 250px;
}


#navbar_items.show {
  height: auto;
  opacity: 1;
}

#navbar_overlay {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 80%;
  max-width: 300px;
  background-color: #014235;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: none;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
  z-index: 1001;
}

#close_menu {
  align-self: flex-end;
  padding: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

.overlay_item {
  color: #EAEEFB;
  font-size: 1.2rem;
  text-decoration: none;
  padding: .3rem;
  width: 100%;
  text-align: center;
}

.overlay_item i {
  margin-right: 10px;
}

#socials_container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: auto;
  padding-bottom: 12rem;
  gap: 3rem;
}

.social_icon {
  color: #EAEEFB;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social_icon:hover {
  color: #2a7a3d;
}

#hamburger_menu {
  font-size: 2rem;
  cursor: pointer;
  display: none; 
  color: #2a7a3d;
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
  #overlay_items {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    gap: 1rem;
    padding: 1rem;
    justify-items: start; 
  }

  .overlay_item {
    text-align: left; 
  }

    #navbar_items {
      display: none; 
  }

  #hamburger_menu {
      display: block; 
  }

  #navbar_overlay {
      display: flex; 
  }

  #navbar_overlay.show {
      transform: translateX(0);
  }
  #call_now_button {
    margin-left: auto;
    order: 0;
  }
}

@media (max-width: 450px){
  #logo img {
    width: 200px;
  }
}

@media (max-width: 376px){
  #call_now_button {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  #logo img {
    width: 175px;
  }

}