
nav {
  background-color: rgb(255, 255, 255);
  height: 6rem;
  width: 100%;
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

label.logo {
  font-size: 3.5rem;
  line-height: 80px;
  padding: 0 3rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  font-size: 1rem;
  padding: 7px 13px;
  color: black;
}

a.active, a:hover {
  background: bisque;
  transition: .5s;
  padding: 0.5rem;
  border-radius: 1rem;
}

.checkbtn {
  font-size: 30px;
  color: rgb(255, 153, 0);
  line-height: 80px;
  margin-right: 40px;
  display: none;
}

#check {
  display: none;
}

@media (max-width: 952px) {
  label.logo {
    font-size: 30px;
    padding-left: 50px;
  }

  nav ul li a {
    font-size: 16px;
  }
}

@media (max-width: 858px) {
  .checkbtn {
    display: block;
  }

  nav ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: beige;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all .5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  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: brown;
  }

  #check:checked ~ ul {
    left: 0; 
  }
}
