* {
  box-sizing: border-box;
}

body {
  background: #ffea92;
  margin: 0;
  font-family: "Open Sans", Helvetica Neue, Helvetica, Arial, sans-serif;
  color: #fff;
  padding-left: 255px;
  height: 120vh;
  overflow-x: hidden;
}

main {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

main .helper {
  background: rgba(0, 0, 0, 0.1);
  position: relative;
  width: 99%;
  /* padding: 1.2em 2em; */
  border-radius: 20px;
}

.login-helper {
  position: absolute;
  width: 60%;
  top: 10%;
  border-radius: 20px;
}

main .helper span {
  color: rgba(0, 0, 0, 0.2);
  font-size: 0.4em;
  display: block;
}

.menu {
  height: 100vh;
  width: 240px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  outline: none;
}

.menu .avatar {
  background: rgba(0, 0, 0, 0.1);
  padding: 2em 0.5em;
  text-align: center;
}

.menu .avatar img {
  width: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffea92;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.menu .avatar h2 {
  font-weight: normal;
  margin-bottom: 0;
}

.menu ul {
  list-style: none;
  padding: 0.5em 0;
  margin: 0;
}

.menu ul li {
  padding: 0.5em 1em 0.5em 3em;
  font-size: 0.95em;
  font-weight: regular;
  background-repeat: no-repeat;
  background-position: left 15px center;
  background-size: auto 20px;
  transition: all 0.15s linear;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.menu ul li i {
  margin-right: 10px;
}

.menu ul li span {
  display: inline;
}

.menu ul li.icon-dashboard,
.menu ul li.icon-customers,
.menu ul li.icon-users,
.menu ul li.icon-settings {
  background-image: none;
}

.menu ul li:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.menu-active {
  background-color: rgba(0, 0, 0, 0.1);
}

.menu ul li:focus {
  outline: none;
}

@media screen and (max-width: 900px) {
  body {
    padding-left: 90px;
  }

  main {
    width: calc(100% - 90px);
  }

  .menu {
    width: 90px;
  }

  .menu .avatar {
    padding: 0.5em;
    position: relative;
  }

  .menu .avatar img {
    width: calc(90px - 30px);
  }

  .menu .avatar h2 {
    display: none;
  }

  .menu ul li {
    height: calc(90px / 1.5);
    background-position: center center;
    background-size: 30px auto;
    position: relative;
    justify-content: center;
  }

  .menu ul li span {
    display: none;
  }
}

@media screen and (max-width: 400px) {
  body {
    padding-left: 0;
  }

  main {
    width: 100%;
  }

  .menu {
    width: 60px;
    transform: translate3d(0, 0, 0);
    transition: all 0.3s ease-in-out;
  }

  .menu .avatar {
    padding: 0.5em;
    position: relative;
  }

  .menu .avatar img {
    width: 40px;
    height: 40px;
  }

  .menu .avatar h2 {
    display: none;
  }

  .menu ul li {
    padding: 1em;
    font-size: 1.2em;
    justify-content: center;
  }

  .menu ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .menu ul li a .fa {
    font-size: 1.5em;
  }

  .menu ul li span {
    display: none;
  }
}



