style* { margin: 0 auto; font-family: sans-serif; }

body { margin: 0 auto; }

header {

	height: 70px;

	background-color: #e7e2e2;	
	border-bottom: 1px solid #e7e2e2;
	display: flex;
	align-items: center;
	justify-content: center;
}

header > .top {
	position: center;

}
header > .top a.menu_icon i {
	color: #000;
	font-size: 40px;
	padding-top: 5px;
	transition: .2s ease;
}

nav.menu {
	width: 100px;
	height: 120px;
/*
	min-height: calc(100vh - 121px);
*/	
	background-color: #e7e2e2;

	position: absolute;
	left: -300px;
	
	transition: .3s all;

	
}
nav.menu > a {

    display: block;
    padding: 5px;
    margin: 15px 0px 0px 20px;
    color: #494949;
    text-decoration: none;	
    font-family: Lato;
}

nav {
	border: 1px solid black;
} 
nav:after {
    content: "";
    display: block;
    clear: both;
}

main {
	width: 100%;
	min-height: calc(100vh - 121px);	
	padding: 30px;
	box-sizing: border-box;
	background-color: #e7e2e2;	
	background-size: cover;	
}



.menu_show {
	left: 0!important;
}


*body {
  margin: 0;
}

#navbar {
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#navbar a {
  float: left;
  display: block;
  color: #666;
  text-align: center;
  padding-right: 20px;
  text-decoration: none;
  font-size: 17px;
}


#navbar a:hover {
  background-color: #ddd;
  color: black;
}


#navbar a.active {
  background-color: #4CAF50;
  color: white;
}

#navbar button {
  margin-left: 5px;
  margin-right: 5px;
  font-family: Lato;
}

.main {
  padding: 16px;
  margin-top: 30px;
  width: 100%;
  height: 100vh;
  overflow: auto;
  cursor: grab;
  cursor: -o-grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.main img {
  height: auto;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


@media screen and (max-width: 425px) {
	header h1 {
		font-size: 16px;
	}
}
@media screen and (max-width: 360px) {
	nav.menu {
		width: 100%;
		left: -100%; 
	}
}
