/* Navigation Bar Work */

header {
	width: 100%;
	margin: 0;
}

.nav {
	background: #0b3c5d;
    height: 80px;
    width: 100%;
    position: fixed;
    z-index: 1;
}

header::after {
	content: '';
	display: table;
	clear: both;
}

.logo {
	float: left;
	width: 128px;
	padding-top: 0;
	padding-bottom: 0;	
	margin-top: 0;
	margin-bottom: 0;	
}

.nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav ul li {
	display: inline-block;
    padding-top: 1.7%;
	margin-left: 35px;
	margin-right: 35px;
	position: relative;
	float: left;
}

.nav ul li a {
	color: #FFD700;
	font-family: "Times New Roman", Times, serif;
	font-size: 130%;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	display: block;
}

.nav ul li a:hover {
	color: #ffffff;
}

.nav ul li a::before {
	content: '';
	display: block;
	height: 5px;
	background-color: #FFD700;
	position: absolute;
	top: 0;
	width: 0%;
	transition: all ease-in-out 250ms;
}

.nav ul li a:hover::before {
	width: 100%;
}

.nav .active {
	color: #bab5b5;
}

.checkbtn {
	font-size: 30px;
	color: #fff;
	float: right;
	line-height: 80px;
	margin-right: 40px;
	cursor: pointer;
	display: none;
}

#check {
	display: none;
}

@media (max-width: 1033px) {
	.checkbtn {
		display: block;
	}
	.fas.fa-bars {
		color: #FFD700;
	}
	.fas.fa-bars:hover {
		color: rgb(255, 255, 255);
	}
	.nav ul {
		position: fixed;
		width: 100%;
		background-color: #0b3c5d;
		top: 80px;
		left: 100%;
		text-align: center;
		transition: all .5s;
	}
	.nav ul li {
		display: contents;
		line-height: 54px;
	}
	.nav ul li a::before {
		background: none;
		transition: none;
	}
	#check:checked ~ ul {
		left: 0;
	}
}



/* Contact Page Work */

body {
	margin: 0;
	background-color: #eae3e3;
	font-family: "Times New Roman", Times, serif;
	font-weight: 400;
}

.main {
	padding-top: 100px;
    padding-left: 150px;
	background-color: #0b3c5d;
	height: 250px;
	font-family: "Clarkson",Helvetica,sans-serif;
}

.main h1 {
	text-align: left;
	font-size: 60px;
	color: #fff;
	font-weight: 500;
	margin-bottom: 0;
}

.main p {
	font-size: 16px;
	letter-spacing: .025ch;
	color: #999999;
	max-width: 36em;
	line-height: 1.7em;
}

.main1 {
	background-image: url(Images/ContactMeImages/background.jpg);
	width: 100%;
	height: 619px;
	background-size: 1610px 700px;
}

.contactBox {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	max-width: 20%;
	float: left;
	word-break: break-all;
	text-align: center;
	background-color: white;
	margin-top: 2%;
    margin-left: 4%;
    margin-right: 8%;
}

img {
	width: 100%;
}
  
.title {
	color: grey;
	font-size: 18px;
}

.contactLinks {
	margin-top: 24px;
	border: none;
	outline: 0;
	padding-top: 8px;
    padding-bottom: 5px;
	color: white;
	background-color: #000000;
	text-align: center;
	cursor: pointer;
	width: 100%;
	font-size: 18px;
}

p > a {
	text-decoration: none;
	font-size: 16px;
	color: black;
}
  
.contactLinks a {
	text-decoration: none;
	font-size: 34px;
	margin: 10px;
	color: rgb(255, 255, 255);
}

.fa.fa-linkedin:hover {
	color: rgb(11, 53, 137);
}

.fa.fa-github:hover {
	color: rgb(147, 6, 147);
}

.fa.fa-youtube:hover {
	color: rgb(223, 16, 16);
}

.fa.fa-chess:hover {
	color: rgb(15, 134, 15);
}

.map {
	float: left;
	width: 60%;
    margin-top: 2%;
    margin-right: 8%;
}

.map iframe {
	width:100%;
	height: 570px;
	filter: invert(100%);
}