form{
	margin: 0 auto;	
	width: 800px;
	background-color: #999;
	border-radius: 10px;
	box-sizing: border-box;
	border: 1px green solid;
	box-shadow: 5px 5px #555;
}		

label {
	display: inline-block;
	width: 150px;
	vertical-align: top;
	text-align: right;
	margin-right: 10px;
	font-weight: bold;
	color: #080000;  /* change for proper colour */
	font-size: 1em;
}
		
input[type='text'], textarea{
	width: 50%;	
	border-radius: 5px;
}		

form p {
	margin-top: 20px;
}
		
input[type="submit"] {  
	margin-left: 20%;
} 

@media only screen and (max-width: 942px){
	form {
		width: 90%;
	}
}

@media only screen and (max-width: 620px){	
	label {
		text-align: left;
		width: 80%;
	}
	
	input[type='text'], textarea{
	width: 80%
}
	
}
	
