

/*--this is needed to keep the background color in place while resizing browser--*/
.ulcontainer{
	margin: 0 auto;
	
	}

/*--Styling the menu area--*/
.menupage ul {
  list-style: none;
  background-color:#222222;
  width:50%;
  margin: 0 auto;
   margin-top:200px;
}

.menupage li {
  padding-bottom: 30px;
  padding-top: 30px;
  text-align:center;
}

.menupage a {
  color: #fff;
  text-decoration: none;
}

/*---this is styling for the menu buttons without using ul/li---*/
.menuitem{
	float:left;
	width:100%;
	text-align:center;
	font-size:50px;
	line-height:150%;
	color:white;
	margin-top:200px;
	}

/*--this is the hamburger position and also toggle trigger--*/
#menubutton {
  position:absolute;
  z-index:500;
  float:left;
  margin-left:90%;
  margin-top:5%;
}

/*--This is the full page menu styling revealed when toggled by hambuger--*/
.menupage {
  background: #000000;
  width: 100%;
  height:100%;
  position:absolute;
  z-index:100;
  display:none;
  
}

/*--don't foget to use this---*/
* {
  margin: 0;
  padding: 0; 
}


/* Hamburger Icon */

#ham-icon2 {
  width: 60px;
  height: 45px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#ham-icon2 span {
  display: block;
  position: absolute;
  height: 2px;
  width: 50%;
  background: #ffffff;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#ham-icon2 span:nth-child(even) {
  left: 50%;
  border-radius: 0 0px 0px 0;
}

#ham-icon2 span:nth-child(odd) {
  left:0px;
  border-radius: 0px 0 0 0px;
}

#ham-icon2 span:nth-child(1), #ham-icon2 span:nth-child(2) {
  top: 0px;
}

#ham-icon2 span:nth-child(3), #ham-icon2 span:nth-child(4) {
  top: 18px;
}

#ham-icon2 span:nth-child(5), #ham-icon2 span:nth-child(6) {
  top: 36px;
}

#ham-icon2.open span:nth-child(1),#ham-icon2.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#ham-icon2.open span:nth-child(2),#ham-icon2.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#ham-icon2.open span:nth-child(1) {
  left: 3px;
  top: 7px;
 
}

#ham-icon2.open span:nth-child(2) {
  left: calc(50% - 5px);
  top: 8px;
}

#ham-icon2.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#ham-icon2.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#ham-icon2.open span:nth-child(5) {
  left: 4px;
  top: 29px;
 
}

#ham-icon2.open span:nth-child(6) {
  left: calc(50% - 5px);
  top: 29px;
}