/* General Styling */
.topnav {
  /* background-image: url("images/ancient-artifact.jpg");*/
  background: linear-gradient(to right, #000000, #222222, #000000); /* Fade to black on both sides */
  line-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid #ffc700;
  height: 80px; /* Adjust as needed */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.topnav a {
  color: #f2f2f2;
  text-decoration: none;
  font-family: 'Roboto', sans-serif; /* Example font */
  font-size: 17px;
  padding: 14px 16px;
  display: inline-block;
  transition: background-color 0.3s ease; /* Smooth hover transition */
}

.nav-links {
  margin: auto;
}

.nav-links a:hover {
  background-color: #e6b800;
  color: black;
}

.nav-links a.active {
  background-color: #ffc700;
  color: white;
}

.topnav .icon {
  display: none;
}

/* Logo Styling */
.topnav .logo {
  display: inline-block;
  vertical-align: middle;
}

.logo img {
  height: 50px; /* Adjust as needed */
}

/* Profile Image Styling */
.profile {
  width: 40px;
  height: 40px;
  margin-right: 0;
}

a.profile {
  padding: 0px 20px;
}


.profile img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Mobile Menu Styles */
@media screen and (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav-links a {
    display: none;
  }

  .topnav a.icon {
    display: block;
    padding: 0px 32.75px;
  }

  .topnav.responsive .nav-links {
    display: grid;
    position: absolute;
    background: linear-gradient(to right, #000000, #111111, #000000); /* Fade to black on both sides */
    top: 100%;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive grid */
    gap: 10px;
    width: 100%;
  }

  .topnav.responsive .nav-links a {
    display: block;
    text-align: center;
    border: thin solid #ffc700;
    padding: 10px;
    font-size: 16px; /* Adjust font size for mobile */
  }

  .topnav {
    justify-content: space-between;
  }
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: transparent;
  color: #f2f2f2;
  text-decoration: none;
  font-size: 17px;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: linear-gradient(to right, #000000, #111111, #000000); /* Fade to black on both sides */
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px; /* Rounded corners */
  text-align: center;
}

.dropdown-content a {
  padding: 12px 0px;
}

.dropdown-content a {
  color: #f2f2f2;
  text-decoration: none;
  display: block;
  border: thin solid #ffc700;
  transition: background-color 0.3s ease; /* Smooth hover transition */
}

.dropdown-content a:hover {
  background-color: #e6b800;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}
