#checkbox {
  display: none;
}

.toggle {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition-duration: 0.5s;
  z-index: 10;
}

#bar2 {
  transition-duration: 0.8s;
}

#bar1,
#bar3 {
  width: 70%;
}

#checkbox:checked + .toggle {
  transition-duration: 0.5s;
  transform: rotate(180deg);
}

.scrolled {
  background-color: #eb5805;
}

/* .nav-bar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    right: -250px;
    background-color: #eb5805;
    transition: right 0.6s ease;
} */

.nav-bar {
  height: 100vh; /* Adjust height to cover the full viewport height */
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  background: #eb5805;
  transition: 0.6s ease;
  overflow: hidden;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.nav-bar.active {
  right: 0;
}

.nav-bar ul {
  display: block;
  width: fit-content;
  /* margin: 80px auto 0 auto; */
  margin: 150px auto 0 auto;
  text-align: center;
  transition: 0.1s;
  opacity: 1;
  padding: 0px;
  list-style: none;
}

.serviceDropdown ul {
  margin: 20px auto 0 auto !important;
}
.nav-bar ul li {
  margin-bottom: 22px !important;
}
.nav-bar ul li a {
  font-size: 22px;
  color: white;
  text-transform: uppercase !important;
  font-family: Oswald;
}

/* .h1div{
    border: 2px solid red;
} */

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

.logo {
  font-size: 30px;
  font-weight: 700;
  color: #fefefe;
}

.hamburger {
  display: none;
}

.nav-bar ul {
  display: flex;
}

.nav-bar ul li a {
  display: block;
  color: #fefefe;
  font-size: 18px;
  font-weight: 500;
  padding: 1px 25px;
  border-radius: 50px;
  transition: 0.2s;
  margin: 0 6px;
  text-decoration: none;
}

.nav-bar ul li a:hover {
  /* color: #11101b; */
  /* background-color: #fefefe; */
}

/* .labelbox{display: none;} */

.labelbox {
  display: block;
  
}

.hamburger {
  display: block;
  cursor: pointer;
}

.hamburger .line {
  width: 30px;
  height: 3px;
  background: #fefefe;
  margin: 6px 0;
}

.nav-bar.active {
  /* width: 23%; */
  width: 38%;
  height: 100vh;
  z-index: 10;
  margin-left: auto;
}

.nav-bar.active ul {
  opacity: 1;
}

.nav-bar ul {
  display: block;
  width: fit-content;
  /* margin: 80px auto 0 auto; */
  margin: 110px auto 0 auto;
  text-align: center;
  transition: 0.1s;
  opacity: 0;
  text-align: left;
  padding: 0px;
}

.nav-bar ul li a {
  margin-bottom: 12px;
  font-size: 22px;
  color: white;
  text-transform: uppercase !important;
}

#checkbox {
  display: none;
}

.toggle {
  position: relative;
  width: 30px !important;
  height: 19px !important;
  /* width: 40px;
  height: 39px; */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition-duration: 0.5s;
  z-index: 1;
}

.bars {
  width: 100%;
  height: 4px;
  background-color: #eb5805;
  /* background-color: white; */
  border-radius: 4px;
}
.barsArt {
  width: 100%;
  height: 4px;
  /* background-color: #eb5805; */
  background-color: white;
  border-radius: 4px;
}

#bar1,
#bar3 {
  width: 100%;
}

#checkbox:checked + .toggle .bars {
  position: absolute;
  transition-duration: 0.5s;
  background-color: white;
}
#checkbox:checked + .toggle .barsArt {
  position: absolute;
  transition-duration: 0.5s;
  background-color: white;
}

#checkbox:checked + .toggle #bar2 {
  transform: scaleX(0);
  transition-duration: 0.5s;
}

#checkbox:checked + .toggle #bar1 {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: 0.5s;
}

#checkbox:checked + .toggle #bar3 {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: 0.5s;
}

#checkbox:checked + .toggle {
  transition-duration: 0.5s;
  transform: rotate(180deg);
  width: 30px !important;
  z-index: 11;
  height: 19px !important;
  position: fixed;
  right: 4%;
}

@media (max-width: 500px) {
  #mainlogo {
    width: 22%;
    /* border: 2px solid white; */
    height: 100%;
    /* margin-left: -10px; */
  }

  .nav-bar.active {
    width: 100%;
    height: 100vh;
    margin-left: auto;
    z-index: 1;
    /* position: fixed; */
  }

  .toggle {
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition-duration: 0.5s;
    margin-bottom: 10px;
    z-index: 10 !important;
  }
}

#mainheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px 0 30px;
}

.nav-bar ul li{
  transform: translateX(200%);
}

@media (min-width:1200px){
    .labelbox {
  margin-top: -25px;
        
    }
}