nav{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
    
}

 /* Navbar container */
 .navbar {
    overflow: hidden;
    background-image: linear-gradient(to right, rgb(250, 0, 0) , rgb(250, 160, 0), rgb(170, 100, 50), rgb(0, 250, 40), rgb(80, 130, 250), rgb(130, 0, 250));
    border-radius: 20px;
  }
  
  /* Links inside the navbar */
  .navbar a {
    float: left;
    font-size: .9em;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 4px 6px;
    text-decoration: none;
  }
  
  /* The dropdown container */
  .dropdown {
    float: left;
    overflow: hidden;
  }
  
  /* Dropdown button */
  .dropdown .dropbtn {
    font-size: .9em;
    border: none;
    outline: none;
    color: white;
    padding: 15px 20px;
    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 */
  .navbar .dropdown:hover  {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
  }
  
  /* Dropdown content (hidden by default) */
  .dropdown-content{
    display: none;
    position: absolute;
    background-color: whitesmoke;
    min-width: 100px;
    box-shadow: 4px 8px 10px rgba(0,0,0);
    z-index: 1;
    border-radius: 10px;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a{
    float: none;
    color: black;
    padding: 5px;
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 2px;
  }
  
  /* Add a grey background color to dropdown links on hover */
  .dropdown-content a:hover {
    background-color: #ddd;
    border-radius: 5px;
    margin: 2px;
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  } 