header1 {
  margin-right: auto;
  margin-left: auto;
  max-width: 22.5rem;
  margin-top:150px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

/**
 * Styling top level items
 */

.nav a, .nav label {
  display: block;
  font-size: 14px;
 padding: .85rem;
  color: #008bd2;
  background-color: #d4e7f8;
  box-shadow: inset 0 -1px #42b0ea;
  -webkit-transition: all .25s ease-in;
  transition: all .25s ease-in;
}

.nav a:focus, .nav a:hover, .nav label:focus, .nav label:hover {
  color: #008bd2;
  background-color: #d4e7f8;
  border-color: #008bd2;
  border-bottom-color: #e1e1e1 !important;
}

.nav label { cursor: pointer; }

/**
 * Styling first level lists items
 */

.group-list a, .group-list label {
  padding-left: 2rem;
  background: #008bd2;
  color: #fff;
  box-shadow: inset 0 -1px #42b0ea;
}

.group-list a:focus, .group-list a:hover, .group-list label:focus, .group-list label:hover { background: #bdbdbd; }

/**
 * Styling second level list items
 */

.sub-group-list a, .sub-group-list label {
  padding-left: 4rem;
  background: #32afef;
  box-shadow: inset 0 -1px #42b0ea;
}

.sub-group-list a:focus, .sub-group-list a:hover, .sub-group-list label:focus, .sub-group-list label:hover { background: #e2dfdf; }

/**
 * Styling third level list items
 */

.sub-sub-group-list a, .sub-sub-group-list label {
  padding-left: 6rem;
  background: #1a709c;
  box-shadow: inset 0 -1px #42b0ea;
}

.sub-sub-group-list a:focus, .sub-sub-group-list a:hover, .sub-sub-group-list label:focus, .sub-sub-group-list label:hover { background: #333333;color: #fff; }

/**
 * Hide nested lists
 */

.group-list, .sub-group-list, .sub-sub-group-list {
  height: 100%;
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height .5s ease-in-out;
  transition: max-height .5s ease-in-out;
}

.nav__list input[type=checkbox]:checked + label + ul { /* reset the height when checkbox is checked */
max-height: 1000px; }

/**
 * Rotating chevron icon
 */

label > span {
  float: right;
  -webkit-transition: -webkit-transform .65s ease;
  transition: transform .65s ease;
}

.nav__list input[type=checkbox]:checked + label > span {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
.nav li a
{
      display: block;
    padding: .85rem;
    color: #008bd2;
    background-color: #d4e7f8;
    box-shadow: inset 0 -1px #42b0ea;
    -webkit-transition: all .25s ease-in;
    transition: all .25s ease-in;
    font-weight: 600;
}
.nav li
{
  margin-bottom: 10px;
}
.group-list li a
{
    display: block;
    padding: .5rem;
    color: #fff;
    background-color: #008bd2;
    box-shadow: inset 0 -1px #42b0ea;
    -webkit-transition: all .25s ease-in;
    transition: all .25s ease-in;
    font-weight: 600;
}