body {
  background: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}

nav {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  font-size: 14px;
  box-shadow: 0 0 0px rgba(0,0,0,1);
}

/* first stage */

nav > ul {
  position: relative;
  width: 410px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

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

nav li {
  display: inline-block;
  color: #000;
  list-style: none;
  transition: 0.5s;
}

nav > ul > li > a {
  padding: 5px 25px;
}

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

nav ul > li.submenu:hover > a:after {
  margin-top: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid #000;
}

nav > ul > li:hover {
  background: #eeeeee;
}

/* second stage (the mega-menu) */

nav ul.megamenu {
  position: absolute;
  width: 420px;
  top: -9999px;
  left: 0;
  padding: 0px 0px 0px 5px;
  background: #fff;
  text-align: left;
  border-top: px solid #ffffff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

nav ul li:hover ul.megamenu {
  top: 100%;
}

/* third stage (child-menus in the mega-menu) */

nav .column {
  float: left;
  width: 200px;
  margin-right: 2%;
}

nav .column:last-child {
  margin-right: 0;
}

nav .column ul {
  margin-bottom: 5px;
}

nav .megamenu li {
  display: block;
}

nav .megamenu li a {
  margin-top: 15px;
  transition: 0.5s;
  color: #000;
}

nav .megamenu li a:hover {
  color: #8B0000;
}

nav .megamenu h4 {
  margin-bottom: 15px;
  color: #000;
  text-transform: uppercase;
}