body{
background-color: black;
}
#M1{
	border-radius:10px;
	width:95%;
	Margin:auto;
	height:28px; 
	border-color:red;
	background-color:limegreen;
}

#M2{
	border-radius:15px;
	width:95%;
	Margin:auto;
	height:30px; 
	border-color:white;
	background-color:limegreen;
}
#thnk{
	position:relative;
	margin:auto;
	margin-top:30px;
	background-color:orange;
	color:blue;
	text-align:center;
	vertical-align:middle;
	height:35px;
	width:85%;
	border-radius:10px;
}
#main{
	position:relative;
	float:left;
	width:450px;
	height:425px;
	background-color:grey;
	margin:auto;
	margin-top:100px;	
}

#nav1 {
width:200px;
height:104px;
position :absolute;
Margin-left:0px;
marging:auto;
background-color:pink;
animation-direction: alternate-reverse;
-webkit-animation: mymove 5s infinite;
  animation: mymove 5s infinite;
  
  }
  
  @keyframes mymove {
  //from {top: 0px;}
   // to {top: 200px;}
  
0%   {background: red; left: 0px; top: 0px;}
  25%  {background: yellow; left: 250px; top: 0px;}
  50%  {background: blue; left: 250px; top: 250px;}
  75%  {background: green; left: 0px; top: 250px;}
  100% {background: red; left: 0px; top: 0px;}
}

#nav2 {
width:300px;
height:220px;
margin-left:50px;
margin-top:77px;
background-color:green;
position :absolute;
//-webkit-animation: mymove 5s infinite;
	//animation-name: mymove;
  //animation: mymove 5s infinite;
}
  //@keyframes mymove {
  //from {left: 0px;}
 // to {left: 200px;}

//}
#header {
	float:right;
	background-color:hotpink;
	position:relative;
	width:600px;
	height:450px;
	margin-top:100px;
}
/*
#fname{
	margin-left:35px;
	width:100px;
}
#lname{
	margin-left:35px;
	width:100px;
}
#phone{
	margin-left:35px;
	width:100px;
}
#email{
	margin-left:35px;
	width:250px;
}
#slct{
	margin-left:35px;
}
#sbmt{
	margin-left:35px;
	background-color:red;
}*/
#msg{
	margin-left:35px;
	background-color:lightblue;
}
#rqd{
	margin-top:250px;
	color:blue;
	background-color:#d3d3d3;
	width:130px;
	height:19px;
}
label{
    display: inline-block;
    float: left;
    clear: left;
    width: 250px;
    text-align: right;
}
input {
  display: inline-block;
  float: right;
}
#slct {
  display: inline-block;
  float: right;
}
#txtar {
  display: inline-block;
  float: right;
}
#frm{
	margin:auto;
	background-color:blue;
}
