#top_frame {
	position: absolute;
	top: 0;
	left: 0;
	height: 45%;
	width: 100%;
	border: 0;
}


#output_frame {
	position: absolute;
	top: 45%;
	left: 0;
	height: 55%;
	width: 100%;
	border: 0;
}

img.resize_full {
	max-width:none;
	max-height:62%;
}

#top_header {
	position: absolute;
	top: 2%;
	left: 10%;
	color: none;
}

#photo {
	position: absolute;
	top: 20%;
	left: 10%;
}

#menu1 {
	position: absolute;
	top: 20%;
	left: 35%;
}
#menu2 {
	position: absolute;
	top: 20%;
	left: 55%;
}

ul[name="menu"]{
	font-size: 130%;
}
/* Change frame sizes for a mobile device */

h2[name="photo_full"]{
	font: bold 10px Times;
	text-align: center;
	padding: 10px;
	font-size: 100%;
}

img.resize {
  max-width:32%;
  max-height:none%;
}

h1[name="top"]{
	font: bold 10px Times;
	font-size: 200%;
}


/* Clear default margins for more browser compatibility*/

*{
	margin: 0px;
	padding: 0px;
}

h2{
	font: bold 14px Tahoma;
}

header, section, footer, aside, nav, article, hgroup{
	display:block;
}

body {
	margin: 0;
	padding: 0;
	padding-left: 0;
	background-image: url("background.gif");
	background-color: #cccccc;
}


h3 {
	padding-bottom: 15px;
}


body[name="poem"]{
	text-align: center;
	font-size: 130%;
	margin-left: 10%;
	margin-right: 10%;}
	
body[name="plain_text"]{
	margin-left: 10%;
	margin-right: 10%;
	font-size: 130%;}

p {
	padding-bottom: 15px;
}

p[name="poem"]{
	font: bold;
	font-family: times;
	text-align: center;
	font-size: 130%;
}

ul[name="service"]{
	list-style-position: inside;
}

/* iphone 5, SE are 320 px so this section is triggered for them */
/* iphone 6 are 375 px so this section is triggered for them */

@media only screen and (max-device-width: 450px) {
	#top_frame {
		position: absolute;
		top: 0;
		left: 0;
		height: 28%;
		width: 100%;
		border: 0;
	}

	#output_frame {
		position: absolute;
		top: 28%;
		left: 0;
		height: 72%;
		width: 100%;
		border: 0;
	}

	img.resize_full {
		max-width:none;
		max-height:100%;
	}

	img.resize {
		max-width:50%;
		max-height:none%;
	}

	#photo {
		position: absolute;
		top: 15%;
		left: 10%;
	}

	#menu1 {
		position: absolute;
		top: 15%;
		left: 40%;
	}

	#menu2 {
		position: absolute;
		top: 15%;
		left: 65%;
	}
	
	ul[name="menu"]{
		font-size: 220%;
	}
	
	h2[name="photo_full"]{
		font: bold 10px Times;
		text-align: center;
		padding: 20px;
		font-size: 200%;
	}
	
	h1[name="top"]{
		font: bold 10px Times;
		font-size: 270%;
	}
	
	body[name="plain_text"]{
		font-size: 200%;
	}
	
	body[name="poem"]{
		font-size: 200%;
	}

}






