
/* 
 *	Name: Responsive layout;
 *	Author: Andor Nagy;
 *	Website : andornagy.com;
 *	
------------------------------------------
 * 
 *	You are free to use this framework for you own projects
 *	and for client works. Credit is always welcome.
 *
 *	DO NOT sell it as your own work.
 *  
--------------------------------------------- */



/* General Styles
--------------------------------------------- */

body {
	margin: 0;
	padding: 0;
}



/* Imports
--------------------------------------------- */

@import url(http://fonts.googleapis.com/css?family=Roboto+Slab);
@import url(http://fonts.googleapis.com/css?family=Open+Sans);



/* Helper Classes
--------------------------------------------- */

.clearfix {
	display: block;
	clear: both;
}


/* Typography
--------------------------------------------- */

body {
	font-size: 18px;
	line-height: 32px;
	color: #333;
	word-wrap:break-word !important;
	font-family: 'Open Sans', sans-serif;
}

p {
	margin: 0 0 24px;
	margin: 0 0 2.4rem;
	padding: 0;
}


/* Links
--------------------------------------------- */

a {
	text-decoration: none;
	color: #0000ff;
	font-weight: bold;
}

a:hover {
	background-color: #ffffff;
	color: #0000ff;
	text-decoration: none;
}



/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #333;
	font-family: "Roboto Slab", sans-serif;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 16px;
}

h1 {
	font-size: 40px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}



/* Sections
--------------------------------------------- */

#container{
	margin: 0 auto;
	max-width: 1400px;
}



/* Header
--------------------------------------------- */

header {
	width: 94%;
	padding: 3%;
	background-color: #0384fc;
	text-align: center;
}

header #title {
	font-size: 50px;
	color: #fff;
}



/* Navigation
--------------------------------------------- */

nav {
	width: 97%;
	background-color: #0000ff;
	padding: 0 1.5% 0 1.5%;
	text-align: center;
}

nav ul li {
	display: inline-block;
	padding: 15px 1.5% 15px 1.5%;
}

nav ul li a {
	text-decoration: none;
	color: #ffffff;
	font-size: 1.2em;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	border-radius: 2px;
	background-color: #0384fc;
	padding: 12px;
	
}

nav ul li a:active {
	background-color: #ffffff;
	color: #0000ff;
	text-decoration: none;
}



/* Content
--------------------------------------------- */

#content {
	width: 64%;
	float: left;
}

#img1 {
	width: 256px;
	height: 256px;
}

#img2 {
	width: 165px;
	height: 235px;
}

#img3 {
	width: 300px;
	height: 150px;
	border-radius: 15px;
}

#lp1 {
	border-radius: 2px;
	background-color: #0384fc;
	padding: 12px;
	color: #ffffff;
	float: right;
}



/* Sidebar
--------------------------------------------- */

aside {
	float: right;
	padding: 3%;
	width: 24%;
	background-color: #09d8eb;
	color: #000000;
}

#sidebar h3 {
	color: #000000;
}

a:active {
	color: background-color: #0000ff;
}


/* Footer
--------------------------------------------- */

footer{
	width: 94%;
	padding: 3%;
	background-color: #0000ff;
	border-top: 5px solid #000099;
	color: #fff;
	text-align: center;
}

/* Media Queries
--------------------------------------------- */

/*tablet size*/
@media screen
  and (max-device-width: 768px)   {
	  #title {
		  font-size: 40px;
		  text-align: center;
		  padding: 3px;
	  }
	  
nav ul li {
	display: flex;
	text-align: center;
}

body {
	width: 100%;
}

nav ul li a {
	text-decoration: none;
	color: #ffffff;
	font-size: 30px;;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	border-radius: 2px;
	background-color: #0384fc;
	padding: 10px;
	width: 100%;
	text-align: center;
	
}

nav ul li a:active {
	background-color: #ffffff;
	color: #0000ff;
	text-decoration: none;
}

#container{
	margin: 0 auto;
}

aside {
	width: 95%;
	background-color: #09d8eb;
	color: #000000;
}

aside p {
	font-size: 40px;
	font-weight: bold;
	text-align: center;
}

#sidebar h3 {
	font-size: 40px;
	text-align: center;
}

#img1 {
	width: 400px;
	height: 400px;
}

#img2 {
	width: 300px;
	height: 400px;
}

img #img3 {
	text-align: center;
}

p {
	font-size: 40px;
	margin-left: 10px;
}

h2 {
	font-size: 30px;
	margin-left: 10px;
}

footer{
	width: 100%;
	padding: 3%;
	text-align: center;
	font-size: 40px;
}

/*mobile*/
@media screen and (min-width : 360px) {
	
	html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

	#title {
		  font-size: 40px;
		  text-align: center;
		  padding: 3px;
		  width: auto;
	  }
	  
	  nav {
		  overflow: hidden;
	  }
	 
	nav ul li {
	display: flex;
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
}

nav ul li a {
	text-decoration: none;
	color: #ffffff;
	font-size: 30px;;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	border-radius: 2px;
	background-color: #0384fc;
	padding: 20px;
	width: 100%;
	overflow: hidden;
}

nav a {
	margin-right: 40px;
}

nav ul li a:active {
	background-color: #ffffff;
	color: #0000ff;
	text-decoration: none;
}

#container{
	width: auto;
	overflow: hidden;
}

aside {
	width: 100%;
	background-color: #09d8eb;
	color: #000000;
	padding: 1px;
}

aside p {
	font-size: 25px;
}

#sidebar h3 {
	font-size: 25px;
}

#img1 {
	width: 200px;
	height: 200px;
}

#img2 {
	width: 150px;
	height: 200px;
}

#img3 {
	margin-left: 20px;
	width: 150px;
	height: 75px;
}

p {
	font-size: 30px;
	margin-left: 10px;
}

h2 {
	font-size: 30px;
	margin-left: 10px;
}

footer{
	width: 100%;
	text-align: center;
	font-size: 25px;
}

}