/**************************
RESET to ensure user agent padding and 
margin on elements do not affect layout.

Note this reset is not appropriate for
production websites.
***************************/

* {margin: 0; padding: 0;}

body {
	margin: auto;
	font-family: Arial;
	color:#333;
	background-color: #E2E2E2;
}


header {
	padding: 50px 0; 
	background-color: azure;
}


nav {
	align-items: baseline;
	display: flex;
	background-color: beige;
	margin-bottom: 20px;
}


nav ul {
	display: flex;
	width: 100%;
	align-items: baseline;
	
	
}


nav ul li {
	list-style-type: none;
	padding: 0 20px; 
	color: black;
	border-right: 2px solid #666;

}


nav ul li a {
	display: block;
	text-decoration: none;
	list-style-type: none;
	text-align: center;
	color: #000000;
}


li:last-of-type {
	margin-left: auto;
}


li:last-of-type {
	border: none;
}


li form {
	padding: 5px 0;
}


input {
	padding: 5px;
	margin-right: 5px;
	border: 1px solid hsla(69,13%,59%,1.00);
}


#logo {
	width: 120px;
	height: 120px;
	line-height: 120px;
	background-color: coral;
}


#logo p {
    font-weight: 700;
    font-size: 1.9em;
	text-align: center;
}


li a:hover {
	color: darkmagenta;
}



h1 {
	text-align: center;
}


main {
	width: 1000px;
	padding: 20px;
	margin: auto;
	display: block;
	background-color:white;	
}


#section1 {
	display: flex;
	justify-content: space-between;
	background-color: aqua;
}



article {
	background-color: bisque;
	width: 31.5%;
}


#two {
	background-color: beige;
}



h2 {
	text-align: center;
	padding-bottom: 20px;
}



p {
	margin-bottom: 1em;	
}



#section2 {
	background-color: darkgray;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 20px;
}


#section2 h2 {
	flex: 100%;
}


#section2 article {
	background-color: darkgray;
	width: 47%;
	padding-bottom: 20px;
}


footer {
	background-color:azure;
}


footer p {
	padding: 70px;
	text-align: center;
}
