body {
  background: #eee;
}

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

nav {
  background: #0082e6;
  height: 80px;
  width: 100%;
}

.nav-footer {
  margin: 0;
  text-align: center;
  width: 100%;
  background: #0082e6;
}

img.logo {
  margin-top: 10px;
  margin-left: 40px;
}

nav ul {
  float: right;
  margin-right: 20px;
}

nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}

nav ul li a {
  color: white;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 3px;
}

a.active,
a:hover {
  background: #1b9bff;
  color: white;
  transition: .5s;
}

label.fa {
  display: inline-block;
}

.check-button {
  font-size: 30px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

@media (max-width: 935px) {
  label.logo {
    font-size: 30px;
    padding-left: 10px;
  }

  .logo {
    max-height: 55px;
  }

  nav ul li a {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .check-button {
    display: block;
  }

  .logo {
    max-height: 45px;
  }

  ul-d {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 80px;
    left: -100%;
    transition: all .5s;
    text-align: center;
    z-index: 1;
  }

  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  nav ul li a {
    font-size: 20px;
  }

  a:hover,
  a.active {
    background: none;
    color: #0082e6;
  }

  #check:checked~ul {
    left: 0;
    right: 0;
  }

  #check:checked~.check-button {
    color: #2c3e50;
  }

}