/**commmon css**/
h1{font-weight:bold;text-decoration:underline}

/**wrapper**/
#wrapper{width:100%;height:800px}

/**header**/
#header{width:100%;height:120px;background:#0080C0}

/**content**/
#content{width:100%;min-height:560px;background:#DADADA}
#text{width:50%;float:left;margin:10px 20px 10px 20px;font-family:arial;font-size:20px;text-align:justify}
#image{margin:0px 20px 10px 20px}

/**footer**/
#footer{width:100%;height:120px;background:#0080C0}

/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
 h1{color:blue}
	#text{color:#008040}
	#header,#footer{background:#FB046D}
	#content{background:#FFFFFF}
}
 
/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
/* STYLES GO HERE */
}
 
/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
/* STYLES GO HERE */
}
 
/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px){
	#text{color:#0080C0}
	#image{width:100%;height:auto}
	#header,#footer{height:120px;background:#000040}
	#content{background:#FFFFFF}	
}
 
/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
}
 
/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
}
 
/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
/* STYLES GO HERE */
}
 
/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
/* STYLES GO HERE */
}
 
/* iPhone 5 (portrait & landscape)----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) {
  
}
 
/* iPhone 5 (landscape)----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : landscape) {
/* STYLES GO HERE */
}
 
/* iPhone 5 (portrait)----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : portrait) {
/* STYLES GO HERE */
}