*{
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}
body{
  font-family: verdana, 'comic sans', arial; 
  line-height: 1.0; 
	
}
nav{
  background: #02214F;
  height: 65px;
  width: 100%;
}


label.logo{
  color: gray;
  font-size: 35px;
  line-height: 70px;
  padding: 0 100px;
  font-weight: bold;
}
.plogo {padding: 0px 0px 0px 0px; 
	position: absolute;
}

nav ul{
  float: right;
  margin-right: 0px;
}
nav ul li{
  text-align: left;
  line-height: 65px;
  margin: 0 5px;
}

th li a{
  color: white;	
  font-size: 17px;
  padding: 0px 0px 0px 0px;
  border-radius: 3px;
  text-transform: uppercase;
  grid-template-rows: 100px;
}

nav ul li a{
  color: gray;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
}
a.active,a:hover{
  color: red;
  transition: .5s;
}
.checkbtn{
  font-size: 20px;
  color: gray;
  float: right;
  line-height: 65px;
  margin-right: 20px;
  cursor: pointer;
  display: none;
}
#check{
  display: none;
}

.footer {	font-family: verdana, 'comic sans', arial; 
		font-weight: 100; 
		font-size: small;
		background: #f8f8f9;
		height: 100px;
		width: 100%;
		padding: 15px; 5px;
		line-height: 1.0;
}

.xlhead {	font-family: verdana, 'comic sans', arial;
		font-size: 50px;
		font-weight: 1000; 
		text-align: center;
		margin-top: 100px;
		color: #02214F;

}

.pcenter {	text-align: center;
		header-align: center;
		line-height: 1.4;		

}

.prules {	padding: 15px; 5px;
		line-height: 1.4;
		font-size: 15px;

}

.p2rules {	padding: 15px; 5px;
		line-height: 1.1;
		font-size: 13px;

}

.tblrules {     width: 100%;
		background-color: #02214F;
		color: white;
}
	
.h2rules {	padding: 15px; 5px;
		color: #02214F;
	
}

.mainrules {	color: #02214F;
		margin-left: 10%;
		margin-right: 10%
	
}

.imgindex {	padding: 25px 0px 0px 0px; 
  	display: block;
 	margin-left: auto;
 	margin-right: auto;
  	width: 90%;


}

.imgcaption {	 
  	display: block;
 	margin-left: auto;
 	margin-right: auto;
  	width: 90%;
	font-size: 10px;

}

<!--START CONTACTPHP.CSS CODE-->

.contact-form {
	cursor: pointer;
	display: inline-block;
	font-family: verdana, 'comic sans', arial; 

}

input {
	width: 100%;
	line-height: 50px;
	cursor: pointer;
	display: inline-block;
	padding: 0px 18px;

}

textarea {
	resize: none;
	height: 225px;
	width: 100%;
	cursor: pointer;
	background-color: #f8f8f9;
	display: inline-block;
	line-height: 15px;
	padding: 15px 18px;
	font-family: verdana, 'comic sans', arial; 


}

input, textarea {
	outline: none;	
	border: 1px solid #02214F;
	background-color: #f8f8f9;
	display: inline-block;
	margin: 4px 0px;


}

input:focus, textarea:focus{
	border: 1.5px solid #02214F;
	background-color: #f8f8f9;
	display: inline-block;


}

.button {
	width: 20%;
	line-height: 50px;
	cursor: pointer;
	display: inline-block;
	padding: 0px 0px;
	text-align: center;
	border: 1.5px solid #02214F;


}

<!--END CONTACTPHP.CSS CODE-->







@media (max-width: 600px){
  .checkbtn{
    display: right;
  }
  ul{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #02214F;
    top: 69px;
    left: -100%;
    text-align: center;
    transition: all .5s;
  }
  nav ul li{
    display: block;
    margin: 20px 0;
    line-height: 30px;
  }
  nav ul li a{
    color: white;	
    font-size: 14px;
}


  a:hover,a.active{
    background: none;
    color: red;
  }
  #check:checked ~ ul{
    left: 0;
  }
}
section{
  background: url(bg1.jpg) no-repeat;
  background-size: cover;
  height: calc(100vh - 80px);
}
