a {
  text-decoration: none;
  color: #505055;
}
li {
  list-style: none;
}

.navbar {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  padding: 20px 20px 0 20px;
  position: fixed;
  background-color: #fff;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.155);
  font-size: calc(1em * 0.85);
  font-weight: 600;
  width: 100%;
  z-index: 3;
}

.navicon {
  background-image: url(../img/main.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 100%;
  display: inline-block;
  height: 1.5em;
  vertical-align: middle;
  width: 1.5em;
}

.hamburger {
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem 0.75rem;
  transition: box-shadow 0.15s ease-in-out;
  cursor: pointer;
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.55);
}

.menu {
  display: flex;
  /* gap: 1em; */
  gap: 0;
  font-size: 15px;
}
.menu li:hover {
  background-color: #ffff;
  border-radius: 5px;
  transition: 0.3s ease;
}
.menu li {
  /* padding: 5px 15px; */
  padding: 8px;
}
.services {
  position: relative;
}
.dropdown {
  background-color: #fff;
  padding: 1em 0;
  position: absolute;
  display: none;
  border-radius: 8px;
  top: 35px;
}
.dropdown li + li {
  margin-top: 10px;
}
.dropdown li {
  padding: 0.5em 1em;
  width: 8em;
  text-align: center;
}
.dropdown li:hover {
  background-color: #fff;
}
.services:hover .dropdown {
  display: block;
}

/*RESPONSIVE NAVBAR MENU STARTS*/
/* CHECKBOX HACK */
input[type="checkbox"] {
  display: none;
}

.hamburger {
  display: none;
  font-size: 24px;
  user-select: none;
}

@media (max-width: 768px) {
  .navbar {
    justify-content: space-between;
  }
  .menu {
    display: none;
    position: absolute;
    background-color: #fff;
    right: 0;
    left: 0;
    text-align: center;
    padding: 16px 0;
    margin-top: 21px;
  }
  .menu li:hover {
    display: inline-block;
    background-color: #fff;
    transition: 0.3s ease;
  }
  .menu li + li {
    margin-top: 12px;
  }
  input[type="checkbox"]:checked ~ .menu {
    display: block;
  }
  .hamburger {
    display: block;
  }

  .dropdown {
    left: 50%;
    top: 30px;
    transform: translateX(35%);
  }
  .dropdown li:hover {
    background-color: #fff;
  }
}
