* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #cccccc1f;
  display: grid;
}

body {
  grid-template-columns: 14em 1fr;
  grid-template-areas: "menu content";
}

header{
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  position: fixed;
  z-index: 50;
}

.logo {
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  float: left;
  width: 7em;
  display: block;
  font-size: 2em;
  background-color: #333;
  padding: 0.2em;
  margin: 0;
  text-align: center;
  color: #FFF;
}

.navbar {
  float: left;
  box-shadow: 0px 3px 3px #ccc;
  left: 14em;
  position: fixed;
  top: 0;
  width: 100vw;
  background-color: #FFF;
}

.navRight {
  float: right;
  margin: 1em 16em 1em 0;
}

.navRight a {
  text-decoration:none;
  color: #2e3436;
  margin-left: 0.8em;
}

.navRight a i{
  color: #888a85;
}

.menu {
  z-index: 4;
  overflow: auto;
  overflow-x:hidden;
  top: 0;
  position: fixed;
  width: 14em;
  display: block;
  grid-area: menu;
  max-height: 100vh;
  min-height: 100vh;
  background-color: #333;
}

.menu a {
  text-decoration: none;
  color: #FFF;
}

.content {
  grid-area: content;
  overflow-y: auto;
  margin-top: 3.3em;
}

.contentName {
  min-height: 3em;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  background: #FFF;
  color: #888;
  padding: 1em 0 1em 2em;
}

.container {
  border-radius: 5px;
  border: 1px solid #e7e7e7;
  padding: 1em;
  margin: 1em 2em 3em 2em;
  background: #FFF;
  min-height: 65vh;
}

input[type="number"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.number-input {
  border: 2px solid #ddd;
  display: inline-flex;
}

.number-input,
.number-input * {
  box-sizing: border-box;
}

.number-input button {
  outline:none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  margin: 0;
  position: relative;
}

.number-input button.plus:after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
  font-family: sans-serif;
  max-width: 5rem;
  padding: .5rem;
  border: solid #ddd;
  border-width: 0 2px;
  font-size: 2rem;
  height: 2rem;
  font-weight: bold;
  text-align: center;
}

footer {
  min-height: 1em;
  background: #FFF;
  color: #888;
  padding: 0.5em auto;
}

footer p{
  text-align: center;
  margin: 0 auto;
}

.navBtn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

@media screen and (max-width: 420px) {
  .navbar {
    left: 0 !important;
  }
  .navRight, .container {
    margin: 1em 0 !important;
    width: 100%;
  }
  .navBtn {
    display: inline-block !important;
    outline: none;
    color: black !important;
    margin-left: 1em;
  }
  .menu {
    margin-top: 3.5em;
  }
  #showChatRoom {
    display:none !important;
  }
}