@import url('https://fonts.googleapis.com/css?family=Kaushan+Script|Libre+Baskerville');
nav {
  text-align: center;
  padding: 0px 0 0;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav a {
  text-decoration: none;
  display: block;
  color: #556777;
}
.topmenu > li {
  display: inline-block;
  position: relative;
}
.topmenu > li > a {
  position: relative;
  padding: 10px 0px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0px;
}
.topmenu > li > a:before {
  content: "";
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, 25px);
  opacity: 0;
  transition: .3s;
}
.topmenu li:hover a:before {
  transform: translate(-50%, 0);
  opacity: 1;
}
.submenu {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 100%;
  width: 150px;
  padding: 15px 0 15px;
  margin-top: 5px;
  background: #556777;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0,0,0,.7);
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: .3s;
}
.topmenu > li:hover .submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}
.submenu a {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  letter-spacing: 0px;
  padding: 7px 10px;
  transition: .3s linear;
}
.submenu a:hover {background: #353737;}

.hide-on-mobile { display: inline; }
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 1px)
and (max-device-width : 800px){ .hide-on-mobile { display: none; }}

.show-on-mobile { display: none; }
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 1px)
and (max-device-width : 800px){ .show-on-mobile { display: inline; }}
