html {
	box-sizing: border-box;
	font-family: "Helvetica", "Arial";
	font-size: 12pt;
	color: #fff;
}

html,body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    
}

*, *::before, *::after {
	box-sizing: inherit;
	font: inherit;
	color: inherit;
}


/****************************
for smartphones
****************************/


body {
	margin: 0 auto;
}

header nav {
	background-color: #444;
	padding: 1.3% 0;
}

header nav a {
	text-decoration: none;
	margin: 0 3% 0 4%;
	font-size: 1.5em;
}

header nav a:hover {
	color: #4CBB4C;
}

main {
	display: flex;
}

main .content-primary {
	flex: 1;
	background-image: url('images/dof1b.png');
	background-size: cover;
}

main .content-secondary {
	flex: 1;
	background-color: #4CBB4C;
}

main .content-secondary p {
	margin: 24px;
}

aside {
	background-color: #444;
	vertical-align: top;
}

aside h2 {
	vertical-align: top;
	font-size: 1.5em;
	padding-top: 20px;
	padding-left: 50px;
	margin: 0 auto;
}

aside .content-tertiary div a {
	text-decoration: none;
}

aside .content-tertiary div a:hover {
	color: #4CBB4C;
}

aside .content-tertiary img {
    margin: 0 0 10% 25%;
}

.fa-arrow-circle-o-down {
	font-size: 3em;
	margin: 0 0 5% 48.5%;
	text-decoration: none;
}

.fa-arrow-circle-o-down:hover {
	color: #4CBB4C;
}

.content-quaternary {
	min-height: 660px;
	background: url("images/desert-scene.jpg");
	background-size: cover;
	padding-top: 34%;
}

.content-quaternary p {
	margin: 35% 0 0 16%;
}
.content-quaternary a {
	text-decoration: none;
	font-size: 1.5em;
}

.content-quaternary a:hover {
	color: #4CBB4C;
}


/***************************
for tablets 
***************************/


@media only screen and (min-width: 600px) {

    body {
    	font-size: 1.5em;
    }

	header nav a {
		margin: 0 25px 0 25px;
	}

	main .content-primary {
		flex: 1;
		min-height: 760px;
		background-size: cover;
	}

    main .content-secondary {
    	flex: 1;
    	background-color: #4CBB4C;
    	min-height: 380px;
    }

    main .content-secondary p {
    	margin: 150px 50px 0 50px;
    }
    
	aside h2 {
		font-size: 2em;
		margin: 2% 50% 0 0;
		display: inline-block;
	}

	aside .content-tertiary img {
    margin: 0 0 10% 15%;
    }
    
	aside .content-tertiary div {
		flex: 1;
		margin: 0 auto;
		min-height: 400px;
		padding-top: 50px;
	}

    aside .content-tertiary div p {
    	display: flex;
        margin: 7% 25% 1% 0;
    }
   
    aside .content-quaternary {
    	padding-top: 14%;
    	padding-bottom: 5%;
    }

    aside .content-quaternary p {
    	margin: 8% 0 0 2%;
    }

}

/**************************
for desktops
**************************/


@media only screen and (min-width: 1600px) {

	aside .content-tertiary div {
		display: inline-block;
		margin: 0 6%;
	}

	aside .content-tertiary div p:nth-child(1) {
		margin: 0 -5% 0 15%;
	}

	aside .content-tertiary {
		display: flex;
	}

	aside .content-tertiary-a {
		margin-top: 4%;
	}

	aside .content-tertiary-b {
		margin-top: 2%;
	}
}
