body {
  background: white;
}

* {
  margin: 0;
  padding: 0;
  /*font: 'Fira Sans';*/
  font-family: sans-serif;
  box-sizing: border-box;
}

nav {
  /*float: left;*/
  width: 100%;
  margin: 0 auto;
 /* font: 'Fira Sans';*/
 font-family: sans-serif;
  /*background: #fff;*/
    background: #ffffff;
  font-size: 16px;
}

nav ul {
  margin: 0 auto;
  padding: 0;
}

nav a {
  display: block;
  color: #000000;
  text-decoration: none;
}

nav ul li {
  position: relative;
  float: left;
  list-style: none;
  color: #ffffff;
  transition: 0.5s;
  }

nav ul li a {
  padding-top: 20px;
  padding-left: 0px;
  padding-right: 15px;
  padding-bottom: 20px;
}

nav ul > li.submenu > a:after {
  position: relative;
  float: right;
  content: '';
  margin-left: 10px;
  margin-top: 5px;
  border-left: 5px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #ffffff;
  border-bottom: 4px solid transparent;
}

nav ul ul li.submenu > a:after {
  margin-left: auto;
  margin-right: -10px;
  border-left: 5px solid #ffffff;
  border-right: 5px solid transparent;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

nav ul li:hover {
  background: #bdbdbd;
}

nav ul ul {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: #fff;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

nav ul ul li {
  float: none;
  width: 200px;
  border-bottom: 1px solid #555;
}

nav ul ul li a {
  padding: 10px 20px;
}

nav ul ul li:last-child {
  border-bottom: none;
}

nav ul li:hover > ul {
  top: 100%;
  left: 0;
}

nav ul ul li:hover > ul {
  top: 0;
  left: 200px;
}