* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
body {
  background-color: rgb(52, 52, 52);
  overflow-x: hidden;
}
.logo {
  color: white;
  font-family: "Courier New", Courier, monospace;
}
.menu-btn {
  color: white;
  cursor: pointer;
  /* display: no; */
}
.menu-btn i {
  display: none;
  font-size: 18px;
}

.navbar {
  height: 3rem;
  background-color: rgb(39, 38, 38);
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  padding: 0 50px 0 50px;
  border-radius: 5px;
}
.nav-item {
  display: flex;
}

#menu {
  display: none;
}
.nav-link {
  margin: 0 5px;
}
.nav-link a {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  /* width: auto; */
  padding: 6px 8px;
  transition: all 0.1s ease;
  border-radius: 10px;
}
.nav-link a:hover,
.nav-link .active {
  color: black;
  background: white;
}

@media (max-width: 800px) {
  .navbar {
    justify-content: space-between;
  }
  .menu-btn i {
    display: block;
  }
  .nav-item {
    position: fixed;
    top: 48px;
    left: -100%;
    background-color: rgb(0, 0, 0);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    /* justify-content: space-evenly; */
  }

  #menu:checked ~ .nav-item {
    left: 0;
  }
  .nav-link {
    margin: 20px 0;
  }
  .nav-link a {
    font-size: 18px;
    display: block;
  }
  .nav-link a:hover,
  .nav-link a.active {
    color: cyan;
    background: none;
  }
}

#menu:checked ~ .menu-btn i::before {
  content: "\f00d";
}

/* new navbar */

.header {
  margin: auto;
  color: #fff;
}

.navbar-2 {
  background-color: #1b58ba;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
  padding: 0 50px 0 50px;
}

.nav-item-2 {
  display: flex;
  /* display: block; */
  font-size: 16px;
  padding: 0 8px;
}

.nav-link-2 {
  margin: 6px 8px;
}
.nav-link-2 a {
  /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  /* width: auto; */
  padding: 6px 8px;
  transition: all 0.1s ease;
  border-radius: 10px;
}
.nav-link-2 a:hover {
  background-color: azure;
  border-radius: 10px;
  cursor: pointer;
  color: #1b58ba;
  padding: 6px 8px;
  /* margin: 0 8px; */
}
#menu-2 {
  display: none;
}
.menu-btn-2 i {
  display: none;
  font-size: 18px;
}

@media (max-width: 850px) {
  .nav-item-2 {
    position: absolute;
    top: 90px;
    background-color: #1b58ba;
    height: 100%;
    width: 100%;
    right: -100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.55s ease;
  }
  .nav-link-2 {
    margin: 15px;
  }
  .menu-btn-2 i {
    display: block;
  }
  #menu-2:checked ~ .nav-item-2 {
    right: 0;
  }
  #menu-2:checked ~ .menu-btn-2 i::before {
    content: "\f00d";
  }
}

/* navbar 3 */

.navbar-3 {
  background-color: #d6f042;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3rem;
  padding: 0 50px 0 50px;
}
.logo-3 {
  color: #1f1f1f;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.nav-item-3 {
  display: flex;
  font-size: 16px;
  margin:auto;
}

.nav-link-3 {
  margin: 6px 8px;
}
.nav-link-3 a {
  /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
  text-decoration: none;
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  /* width: auto; */
  padding: 6px 8px;
  transition: all 0.1s ease;
  border-radius: 10px;
}
.nav-link-3 a:hover {
  background-color: #1c1c1c;
  border-radius: 10px;
  cursor: pointer;
  color: #d6f042;
  padding: 6px 8px;
  /* margin: 0 8px; */
}
#menu-3 {
  display: none;
}
.menu-btn-3 i {
  display: none;
  font-size: 18px;
}

@media (max-width: 850px) {
  .nav-item-3 {
    position: absolute;
    top: 142px;
    background-color: #d6f042;
    height: 100%;
    width: 100%;
    right: -100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.55s ease;
  }
  .nav-link-3 {
    margin: 15px;
  }
  .menu-btn-3 i {
    display: block;
  }
  #menu-3:checked ~ .nav-item-3 {
    right: 0;
  }
  #menu-3:checked ~ .menu-btn-3 i::before {
    content: "\f00d";
  }
}
