
/******************************Menu Styling***********************************/
nav {
  width: 100%;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.nav-wrapper {
  align-items: center;
  justify-content: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 12vh; /* Add this line to set the height */
}

@media only screen and (min-width: 769px) {

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 19vh;
    height: 19vh;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: auto 10px;
    padding: 0;
}

.comp-width-logo {
    display: none;
}
}

@media only screen and (max-width: 768px) {
.comp-width-logo img {
  width: 12vh;
  height: 12vh;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 10px;
  padding: 0;
}

.logo {
    display: none;
}
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 20px;
  text-decoration: none;
}

.menu ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > ul > li {
  position: relative;
}

.menu li {
  margin-right: 20px;
}

.menu a {
  color: #111;
  text-decoration: none;
  font-family: Verdana, sans-serif;
}

.menu ul ul {
  background-color: #222;
  position: absolute;
  top: 100%;
  left: -20px;
  width: 150px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.menu ul li:hover > ul {
  opacity: 0.9;
  visibility: visible;
}

.menu ul li ul {
    width: 200px;
    z-index: 2;
    align-items: center;
}

.menu ul ul li {
  margin: 0;
  width: 100%;
}

.menu ul ul a {
  color: #fff;
  display: block;
  padding: 10px 20px;
}

.hamburger {
  display: none;
}

.sidebar {
  background-color: #fff;
  height: 100%;
  left: -300px;
  position: fixed;
  top: 0;
  width: 300px;
  z-index: 999;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 20px;
  text-align: center;
}

.sidebar ul li {
  margin: 10px;
  padding: 10px 0;
}

.sidebar a {
  color: #222;
  text-decoration: none;
}

.item-menu {
border-bottom: 1px solid #ccc;
text-align: center;
}

/* Updated CSS for Hamburger Button */
.hamburger-btn {
  display: flex;
  margin-right: 20px;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger-btn div {
  width: 100%;
  height: 2px;
  background-color: #111;
}

@media only screen and (min-width: 601px){
  .nav-wrapper{
     height: 20vh;
     }
   }

@media only screen and (max-width: 768px) {
  .nav-wrapper {
    flex-wrap: wrap;
  }
  

  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .sidebar {
    left: -100%;
    transition: left 0.5s ease-in-out;
  }

  .sidebar.active {
    left: 0
          }

  /* Updated CSS for Active Sidebar */
  .sidebar.active {
    left: 0;
    transition: left 0.5s ease-in-out;
  }

  /* Updated CSS for Overlay */
  .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    display: none;
  }

  /* Updated CSS for Active Overlay */
  .overlay.active {
    display: block;
  }
}

 .link-button1 {
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: #fff;
  color: #333;
  border-radius: 5px;
  text-decoration: none;
  border: 1px solid blue;
  margin-top: 0;
  margin-left: 0;
  z-index: 2;
}


.link-button2 {
  width: 100px;
  display: inline-block;
  padding: 10px 20px;
  background-color: green;
  color: #333;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
  margin-left: 0px;
  z-index: 2;
}

.login {
display: flex;
flex-direction: column;
align-items: center;
}

.link-button1:hover {
    background-color: #858585;
}

/* ...Previous CSS code... */

@media only screen and (max-width: 480px) {
.nav-wrapper {
/*flex-direction: column;
align-items: flex-start;
height: auto;*/
}

.menu {
display: none;
}

.hamburger {
display: flex;
}

.sidebar {
left: -70%;
width: 70%;
transition: left 0.5s ease-in-out;
}

.sidebar.active {
left: 0;
}

.overlay {
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 998;
display: none;
}


.overlay.active {
display: block;
}
}

#fundraise-submenu {
display: none;
}
/*******************************End*******************************************/
