body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.navbar {
  display: flex;
  background-color: #ffffff;
  height: 70px;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  gap: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar a,
.dropdown .dropbtn {
  color: #000000;
  text-decoration: none;
  font-size: 15px;
  height: 100%;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: inherit;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #ffffffa3;
  color: #000;
}

.dropdown {
  position: relative;
  height: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 200px;
  top: 70px;
  left: 0;
  z-index: 1;
  flex-direction: column;
}

.dropdown-content a {
  color: rgb(0, 0, 0);
  padding: 12px 18px;
  text-decoration: none;
  text-align: left;
  font-size: 16px;
  display: block;
  background-color: #ffffff;
}

.dropdown-content a:hover {
  background-color: #ffffff;
  color: #000;
}

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

.login-btn {
  background-color: #ffffff;
  color: #0400ff;
  padding: 8px 16px;
  border: 2px solid #0400ff;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
  margin-left: auto;
}

.login-btn:hover {
  background-color: #ff0000;
  color: black;
}

.register-btn {
  background-color: #ff0000;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
  margin-left: 10px;
}

.register-btn:hover {
  background-color: #d10000;
  color: #ffffff;
}

.logo img {
  height: 50px;
  width: auto;
}
.auth-buttons {
  margin-left: 15rem;
  display: flex;
  gap: 10px;
  align-items: center;
}
.dropdown-submenu {
  position: relative;
}

.dropdown-content-sub {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: #f9f9f9;
  min-width: 180px;
  z-index: 1;
  border: 1px solid #ccc;
}

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

.submenu-toggle {
  display: block;
  padding: 8px 16px;
  background-color: #fff;
  text-decoration: none;
  color: #000;
}
