/*h1 { margin:150px auto 10px auto; text-align:center; color:#fff;}*/
nav {

  /* margin: 50px auto;
  max-width: 700px;
  width: 95%; */

  /*font-family: 'Roboto Condensed', sans-serif;*/

  /*background: #0596d8;*/
  /*background: whitesmoke;*/
  padding: 5px;
  /*box-shadow: 1px 2px 3px #CCC;*/
  /*box-shadow: 1px 2px 3px whitesmoke;*/
  border-bottom: 2px solid whitesmoke;
  color: white;
}

#checkbox1,
.toggle {
  display: none;
}

.menu {
	
  padding: 0;
  margin: 0;
  /*max-width: 700px; -- */

  height: 50px;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  /*justify-content: flex-end;*/
  align-items: center;
  list-style-type: none;
  
/* 
  padding: 0px;
  margin: 0;
  max-width: 700px;
  height: 50px;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  list-style-type: none;
*/


}

.menu li {
  flex: 0 0 auto;
}

.menu li:nth-child(1) {
margin-right: auto; /* --- */ /*applied only to the right*/
}

.menu li a {
  text-decoration: none;
  align-self: center;
  border-radius: 5px;
  font-size: 16px; /* --- */
  
  padding: 10px 15px;
  transition: background .2s linear;
}

.menu li:nth-child(1) a {
font-size: 18px;
/* background-color: yellow; */
}


@media screen and (max-width: 600px) {
  .menu li a {
    font-size: 13px;
  }

  .menu div li input { /* --- */
    font-size: 13px;
  }


}

@media screen and (max-width: 550px) {
  .toggle {
    clear: both;
    display: block;
    text-align: center;
    font-size: 14px;
    line-height: 40px;
    cursor: pointer;
    width: 100%;
    /*height: 40px;*/
    font-size: 18px;
    color: #595959;
    background:  #dbdbdb;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: all .1s linear;
  }
  .toggle:hover {
    background: #cecece;
  }
  #checkbox1:checked + label .demo li {
    opacity: 1;
    visibility: visible;
    transition: all .7s linear;
  }

  #checkbox1:checked + label .demo {
    height: 440px; /* 200 px */
  }

  .menu {
    border-radius: 0px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 0px;
    transition: height .3s linear;
  }
  .menu li {
    display: flex;
    /* magic */
    align-self: center;
    width: 95%;
    opacity: 0;
    visibility: hidden;
  }
  .menu li a {
    width: 95%;
    text-align: center;
    align-self: center;
    align-content: center;
  }

  .menu div li input {
    width: 95%;
    text-align: center;
    align-self: center;
    align-content: center;
  }

  .menu li:nth-child(1) {
  margin-right: 0; /* --- */ /*applied only to the right*/
  }

}

@media screen and (min-width: 550px) {

  .no-disp {
    display: none;
  }

}


.demo {
  /*background: #625b60;*/
}

.demo li a {
  color: darkslategray;
}

.demo li a:hover {
  /*background: #6d6268; --- */
  color: blue; 
}

/*
body {
  background: #6c6b6e;
}
*/
