* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
	background: white;
  	font-family: "Open Sans", sans-serif; 
	font-color: grey;
  	font-weight: 300;
	font-size: 1.5em;
	line-height: 1.5;
	min-height: 100%;
}

header {
	background: white;
	position: static;
	width: 70%;
	height: auto;
	margin: 10px 15% 0px 15%;
	padding: 0;
	float: right;
	/*border: 1px solid grey;*/
}

nav {
	position: fixed;
	z-index: +1;
	top: 0px;
	right: 0px;
	margin: 10px 0 0 0;
	padding: 0px auto 10px auto;
	width: 15%;
	float: right;
	text-align: center;
	/*border: 1px solid green;*/
}

#textbox {
	background: white;
	text-align: left;
	position: static;
	height:auto;
	font-size: 125%;
	width: 70%;
	margin: 0 15% 0 15px;
	padding: 10px 0 10px 0;
	float: right;
	color:grey;
	/*border: 1px solid black;*/
}	

/*all code pertaining to images and thier descriptions*/
#imagebox{
	background: white;
	color:grey;
	float: right;
	position: static;
	height:auto;
	width: 70%;
	margin: 0 15% 0 15%;
	padding: 0;
	/*border: 1px solid black;*/
}

#container{
	/*border: 1px solid red;*/
	max-height: auto;
	max-width: 100%;
	margin: 5px 0 0 0;
}
		
img.landscape {
	width: 90%;
	height: auto;
	display: inline-block;
	margin: 8% 5% 0 5%;
}

img.portrait {
	width: 60%;
	height: auto;
	margin: 8% 20% 0 20%;
}

img.banner{
	width: 100%;
	margin: 0;
	padding: 0;
} 

img.square{
	width: 80%;
	height: auto;
	margin: 8% 10% 0 10%;
}
#description {
	text-align: center;
	color: grey;
	float:both;
	padding: 0;
	margin: 10px 0 2% 0 ;
	width: 100%;
	font-size: 100%;
	/*border: 1px solid grey;*/
}


/* FOR DIFFERENT SCREEN RESOLUTIONS */
/* SOURCE: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/  */
/* http://www.creativebloq.com/responsive-web-design/determining-breakpoints-responsive-design-8122871 */

@media only screen and (min-device-width: 300px) and (max-device-width: 599px){
	  header{
		width: 70%;
	  	padding: 10px 0 0 0;
	  	margin: 0 15% 0 15%;
	  }
	  #textbox{
	  	font-size: 130%;
	  	width: 70%;
	  	margin: 0 15% 0 15%;
	  	padding: 25px 0 10px 0;
		line-height: 120%;
	  }
	#imagebox{
	  	height:auto;
	  	width: 70%;
	  	margin: 0 15% 0px 15%;
	  	padding: 0;
      }
	  #description{
	  	padding: 0;
	  	margin: 10px 0 2% 0 ;
	  	width: 100%;
	  	font-size: 95%;
		line-height: 100%;
		text-align:center;
	  } 
}

@media only screen and (min-device-width: 600px) and (max-device-width: 699px){
	  header{
	  	width: 70%;
	  	min-height: 10%;
	  	max-height:20%;
	  	padding: 10px 0 0 0;
	  	margin: 0 15% 0 15%;
	  }
	  #textbox{
	  	font-size: 120%;
	  	width: 70%;
	  	margin: 0 15% 0 15%;
	  	padding: 25px 0 10px 0;
		line-height: 120%;
	  }
      #imagebox{
	  	height:auto;
	  	width: 70%;
	  	margin: 0 15% 0px 15%;
	  	padding: 0;
      }
	  #description{
	  	padding: 0;
	  	margin: 10px 0 2% 0 ;
	  	width: 100%;
	  	font-size: 90%;
		line-height: 100%;
		text-align:center;
	  } 
}

@media only screen and (min-device-width: 700px){
	  header{
	  	width: 60%;
	  	min-height: 10%;
	  	max-height:20%;
	  	padding: 10px 0 0 0;
	  	margin: 0 20% 0 20%;
	  }
	  #textbox{
	  	font-size: 115%;
	  	width: 60%;
	  	margin: 0 20% 0 20%;
	  	padding: 25px 0 10px 0;
		line-height: 120%;
	  }
      #imagebox{
	  	height:auto;
	  	width: 60%;
	  	margin: 0 20% 0px 20%;
	  	padding: 0;
      }
	  #description{
	  	padding: 0;
	  	margin: 10px 0 2% 0 ;
	  	width: 100%;
	  	font-size: 85%;
		line-height: 100%;
		text-align:center;
	  } 
	}
}


