﻿html {
	background-color: white;
	
	
* {
	box-sizing: border-box:

}

}

	body {
		display: block;
		margin-left: auto;
		margin-right: auto;
		align: center;
		max-width: 960px;
		width: 100%;
		
	}

article {

	
	display: block;
	width:95%;
	padding: 20px;
	align: center; 
	

}

footer {
	
	background-color: silver;
	display: block;
	padding-left: 20px;
	
}

p {
	font-size: 1.1em;
	line-height: 1.5em;
}

h4 {
	font-style: italic;
	
}

h2 {
	
	font-weight: bold;
	font-size: 1.4em;
}

h3 {
	
	font-weight: bold;
	font-size: 2em;
}

img {
	max-width: 100%; 
	height: auto;
	object-fit: contain;
	margin: 10px 2px 5px 2px;
	
	}
	
/* now work on MENU */

a:link {
	text-decoration: none;
	
}

a:visited {
	text-decoration: none;
}

nav {
	font-decoration: none;
	background-color: #fififi;
}
	
	
}nav ul {
	list-style-type:none;
	
}

nav ul li {
  cursor: pointer;
  padding: 0.5em;
  flex: auto;
  text-align: center;
}

nav ul li:hover {
 background-color: #555;
 color: white;
}

/* Flex Container */

nav ul {
  list-style-type: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

li {
		float: right;
		width: 50%;
		font-size: 1.5em;
		padding: 5px 2px 5px 2px;
		display: block;
		text-align: center;
		background: silver;
		color: white;
		font-weight:bold;
	}
	
/* now do classes */


.banner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
	background-color:white;
		
	}


.left-banner {
	margin-left: 4px;
	flex-grow: 1;
	flex-shrink:1;
	flex-basis: 30%;
}


.right-banner {
	align:center;
	margin-left: 10px;
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 40%;
}
	
p .clear {
	
	clear:both;
	
}

/* now fix for phone size (480 pixels or less) */

@media only screen and (max-device-width: 480px) {
	

.banner  {
	
	display:flex;
	flex-direction: column;
}

.left-banner {
	margin-left: 4px;
	width: 100%;
}

.right-banner {
	margin-left: 4px;
	width: 100%;
}

image {
	
	width: 100%;
	height:auto;

}

article {
	
	
	width: 100%;
}

body {
	display:block;
	width: 95%;
	margin-left:auto;
	margin-right:auto;
	
}

p {
	
	font-size: 1.2em;
	line-height: 1.5em;
}


 ul li {
	
	font-size: 1em;

	
}


}
