.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a, .dropbtn {
  color: rgba(0,0,0,.07);
  text-decoration: none;
  font-size: 16px;
  padding: 8px 12px;
  transition: background 0.3s ease;
  
}

.nav a:hover, .dropbtn:hover {
  background-color: #02070c;
  border-radius: 4px;
  color: white;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropbtn {
  background-color: rgb(255, 255, 255);
  border: none;
  cursor: pointer;
  color: #0f0b47;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0,0,0,.07);
  min-width: 180px;
  box-shadow: 0px 8px 16px rgb(21, 25, 48);
  border-radius: 6px;
  overflow: hidden;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.dropdown-content a {
  color: #ebf5fe;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #0f0b47;
  color: #ebf5fe;
}

.dropdown:hover .dropdown-content {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
