.navbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #e2e4e9;
  color: #000;
  width: 100%;
  top: 0;
}

.navbar .logo {
  max-width: 160px;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}

.navbar .nav-links li a {
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 18px;
}

.donate-btn {
  font-size: 18px;
  padding: 15px 20px;
  border: 1px solid black;
  border-radius: 8px;
  background-color: #3f4491;
  color: white !important;
  font-weight: 600;
  text-wrap: nowrap;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  background-color: #f0f2f8;
  position: absolute;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  list-style-type: none;
  flex-direction: column;
  margin: 10px 0px 0px 0px;
}

.dropdown-content a {
  color: black;
  font-size: 16px;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ccced3;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.nav :hover,
.dropdown:hover .dropbtn {
  background-color: rgb(232, 231, 231);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #3f4491;
}

@media screen and (max-width: 1020px) {
  .navbar .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    text-align: center;
    padding: 40px;
    min-height: 300px;
    top: 103px;
    background: rgb(226, 228, 233); /* Cor sólida */
    background: linear-gradient(
      to bottom,
      rgb(226, 228, 233) 50%,
      rgba(226, 228, 233, 0.9) 100%
    );
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .navbar .logo {
    max-width: 100px;
  }
}
