style {
  margin: auto;
  padding: auto;
  background: #ccc;
}

.rec ul {
  list-style: none;
  width: 200px;
  background-color: #005f5f;
  text-align: centre;
  padding:0px;
  margin: auto;
}

.rec li {
  font-family: 'Oswald';
  font-size: 1.5em;
  line-height: 40px;
  text-align: centre;
}
.rec a {
  text-decoration: none;
  color: #fff;
  display: block;
  padding-left: 8px;
  border-bottom: 1px solid #888;
  transition: .4s background-color: #005f5f;
}

.rec a:hover {
  background-color: black;
}

.rec a.active {
  background-color: #aaa;
  color: #444;
  cursor: pointer;
}

/* Sub Menus */
.rec li li {
  font-size: 0.8em;
}

/*******************************************
   Style menu for larger screens

   Using 650px (130px each * 5 items), but ems
   or other values could be used depending on other factors
********************************************/
@media only screen and (min-width: 130px) {

  .rec li {
    width: 200px;
    border-bottom: none;
    height: 50px;
    line-height: 50px;
    font-size: 1.2em;
    display: inline-block;
    margin-right: 0;
  }

  .rec a {
    border-bottom: none;
  }

  .rec > ul > li {
    text-align: center;
  }

  .rec > ul > li > a {
    padding-left: 4;
  }

  /* Sub Menus */
  .rec li ul {
    position: absolute;
    display: none;
    width: inherit;
  }

  .rec li:hover ul {
    display: block;
  }

  .rec li ul li {
    display: block;
  }
}


