
/* Navigation Content */
/* Navbar CSS Code */
.navbar {
  font-family: Arial, Helvetica, sans-serif;
  background-color: black;
  overflow: hidden;
  margin-top: 0px;
}

/* Inner Navbar ul Design CSS Code */
.navbar ul {
  display: flex;
  align-items: center;
  list-style-type: none;
  color: white;
  font-weight: bold;
}


.navbar ul li {
  padding: 0 20px;
  cursor: pointer;
}

.navbar ul li:hover {
  background-color: white;
  padding: 10px 20px;
  color: black;
  border-radius: 8px;
}

.right {
  display: inline-block;
  right: 20px;
  top: 20;
  position: absolute;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-weight: bold;
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.dropdown:hover .dropbtn {
  background-color: red;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 140px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Responsive CSS Code */
@media only screen and (max-width: 1230px) {
  .navbar ul {
    display: flex;
    flex-direction: column;
    height: 260px;
    padding: 12px;
    line-height: 3.1;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.8s;
  }

  .navbar ul li:hover{
    padding: 0px 20px;
  }
}

@media screen and (max-width: 750px) {
  .navbar ul {
    height: 240px;
    transition: 0.5s;
  }
  .navbar ul li{
    font-size: 0.9rem;
  }
  .dropdown .dropbtn {
    font-weight: bold;
    font-size: 0.9rem;
  }

  .dropdown-content {
    font-size: 0.9rem;
    line-height: 1.2;
    width: 130px;
  }
}
