*{
	margin:0; padding:0;
	box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: capitalize;
	text-decoration: none;
}

body{
	min-height: 100vh;
}

header{
	position: fixed;
	top:0; left: 0; right:0;
	background: #ffffff;
	box-shadow: 0 5px 10px rgb(0,0,0,.1);
	padding: 10px 7%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 1000;
}

header .logo{
	font-weight: bolder;
	font-size: 20px;
	color: #333;
}

header .navbar ul{
	list-style: none;
}

header .navbar ul li{
	position: relative;
	float: left;
}

header .navbar ul li a{
	font-size: 15px;
	padding: 15px;
	color: #333;
	display: block;
}

header .navbar ul li a:hover{
	background: #F0F0F0;
	color:#333;
	transition: .5s;
}

header .navbar ul li ul{
	position: absolute;
	left:0;
	width: 200px;
	background: #ffff;
	display: none;
	
}

header .navbar ul li ul li{
	width: 100%;
	border-top: 1px solid rgba(0,0,0,.1);
	
}

header .navbar ul li ul li ul{
	left: 200px;
	top:0;	
}

header .navbar ul li:focus-within > ul,
header .navbar ul li:hover > ul{
	display: initial;
}

#menu-bar{
	display: none;
}

header label{
	font-size: 20px;
	color: #333;
	cursor: pointer;
	display: none;
	
}


footer{
	position: absolute;
	background-color: #F0F0F0;
	height: 8vh;
	width: 100%;
	color: #505050;
	bottom: 0;
	
}

footer h5{
	position: absolute;
	font-family: "Arial";
	margin-top: 20px;
	left: 8%;
	
}



@media(max-width:990px){
	
	header{
		padding:20px;
	}
	
	
	header label{
		display: initial;
	}
	
	header .navbar{
		position: absolute;
		top:100%; left:0; right:0;
		background: #fff;
		border-top: 1px solid rgba(0,0,0,.1);
		display: none;
	}
	
	
	header .navbar ul li{
		width: 100%;
	}
	
	header .navbar ul li ul{
		position: relative;
		width: 100%
	}
	
	header .navbar ul li ul li{
		background: #eee;
	}
	
	header .navbar ul li ul li ul{
		width: 100%;
		left: 0;
	}
	
	#menu-bar:checked ~ .navbar{
		display: initial;
	}
	
}

























