@media only screen and (min-width: 800px) {
	.top {
		background-image: url("../images/homeBackground.jpg");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
		height: 100vh;
		width: auto;
	}

	.top img {
		width: 400px;
		position: relative;
		left: 35%;
	}

	a {
		text-decoration: none;
		cursor: pointer;
	}

	a:link {
		color: #0C3249;
	}

	a:visited {
		color: #447A99;
	}

	a:hover {
		color: #5A9CC4;
	}

	a:active {
		color: #9CC6DF;
	}

	nav ul {
		font: 700 30px Sen, sans-serif;
		margin-top: 10px;
		text-shadow: 0 2px 4px #dedfe0;
		text-transform: uppercase;
		display: flex;
		align-items: center;
		justify-content: space-around;
		width: 70%;
		margin-left: 20%;
	}

	.intro h1 {
		font: 700 45px Sen, sans-serif;
		text-align: center;
		margin-top: 60px;
		color: #0C3249;
	}


	.intro p {
		font-family: Roboto, sans-serif;
		font-size: 20px;
		margin: 30px 80px 30px 80px;
		padding: 50px;
		text-indent: 5%;
		line-height: 25px;
		text-align: center;
		color: #022A41;
	}

	.info {
		display: flex;
		margin: 10px 80px 0 80px;
		justify-content: space-between;
	}

	.info p {
		padding: 0 50px 50px 50px;
		font-family: Roboto, sans-serif;
		font-size: 20px;
		text-align: center;
		line-height: 25px;
		text-indent: 5%;
	}

	hr {
		margin: 35px 100px 35px 100px;
		border: 1px solid #3E6880;
		border-radius: 5px;
	}

	.services h1 {
		font: 700 45px Sen, sans-serif;
		text-align: center;
		margin-top: 60px;
		color: #0C3249;
	}

	.services h2 {
		font-family: Sen, sans-serif;
		font-size: 35px;
		margin-top: 60px;
		margin: 60px 0 40px 90px;
		color: #0C3249;
	}

	.list1 {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		margin-left: 80px;
	}

	.list1 img {
		width: 400px;
		margin: 10px;
	}

	.list1 figcaption {
		font-family: Roboto, sans-serif;
		font-size: 25px;
		position: relative;
		top: -400px;
		left: 20px;
		color: whitesmoke;
		text-shadow: 5px 5px 10px black;

	}

	.list2 {
		display: flex;
		flex-direction: row;
		margin-left: 80px;
	}

	.list2 img {
		width: 400px;
		margin: 10px;
	}

	.list2 figcaption {
		font-family: Roboto, sans-serif;
		font-size: 25px;
		position: relative;
		top: -400px;
		left: 20px;
		color: whitesmoke;
		text-shadow: 5px 5px 10px black;

	}

	.click {
		text-align: center;
	}

	button {
		background-color: #3E6880;
		border: 4px solid #044063;
		font-family: Roboto, sans-serif;
		border-radius: 10px;
		color: #FFF;
		font-size: 25px;
		padding: 20px;
		transition-duration: 0.4s;
		margin-top: 20px;
		margin-bottom: 20px;
		text-align: center;
	}

	button:hover {
		background-color: #95AFBE;
		box-shadow: 0 12px 16px grey;
	}

	footer {
		font-family: Roboto, sans-serif;
		border-top: 3px solid black;
		background-color: #E3F2FB;
		padding: 40px;
		line-height: 30px;
		margin-top: 100px;
	}

	footer img {
		width: 200px;
		float: right;
	}


}





@media only screen and (max-width: 799px) {

	html {
		font-size: 100%;
	}

	body {
		width: 100%;
		font-family: Roboto, sans-serif;
	}

	.top {
		background-image: url("../images/homeBackground.jpg");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
		height: 100vh;
	}

	img {
		width: 300px;
		height: auto;
		margin-top: 30px;
		margin-left: 10%;
	}

	a {
		text-decoration: none;
		cursor: pointer;
	}

	a:link {
		color: #0C3249;
	}

	a:visited {
		color: #447A99;
	}

	a:hover {
		color: #5A9CC4;
	}

	a:active {
		color: #9CC6DF;
	}

	nav ul {
		margin-top: 150px;
		text-shadow: 0 2px 4px #dedfe0;
		font: 700 35px Sen, sans-serif;
		line-height: 50px;
		text-transform: uppercase;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	main {
		margin: 30px;
		line-height: 20px;
		color: #022032;
	}

	hr {
		margin: 35px 25px 30px 25px;
		border: 2px solid #3E6880;
		border-radius: 5px;
	}

	.intro h1, .services h1 {
		font-family: Sen, sans-serif;
		font-size: 35px;
		font-weight: 700;
		color: #0C3249;
		margin-top: 50px;
		margin-bottom: 50px;
		text-align: center;
	}

	.intro p, .info p {
		text-indent: 7%;
	}

	h2 {
		font-family: Sen, sans-serif;
		font-size: 25px;
		margin-top: 25px;
		margin-bottom: 10px;
	}

	.list1 img {
		display: none;
	}

	.list2 img {
		display: none;
	}

	.click {
		text-align: center;
	}

	button {
		background-color: #3E6880;
		border: 4px solid #044063;
		font-family: Roboto, sans-serif;
		border-radius: 10px;
		color: #FFF;
		font-size: 20px;
		padding: 10px;
		transition-duration: 0.4s;
		margin-top: 40px;
		margin-bottom: 20px;
	}

	button:hover {
		background-color: #95AFBE;
		box-shadow: 0 12px 16px grey;
	}

	footer {
		text-align: center;
		border-top: 3px solid black;
		background-color: #E3F2FB;
		padding: 20px;
		margin-top: 80px;
	}

	footer p {
		line-height: 30px;
		font-family: Roboto, sans-serif;
		font-size: 18px;
	}

	footer img {
		width: 150px;
		margin-top: 10px;
	}



}