.navbar {
    font-size: 14px;
    display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  background-color: #0F0F28;
  position: fixed; 
  top: 0; 
  width: 100%;
  height: 46px;
  z-index: 999;
}
.navbar a {
    flex: 0 0 auto;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
.navbar a:hover {
  background: LightCoral;
  color: #fff;
}