/* Set global styles */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	font-size: 16px;
}

/* Style the header */
header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background-color: red;
}

/* Style the logo */
.logo img {
	max-height: 100px;
	width: auto;
}

/* Style the navigation */
nav ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}

nav ul li {
	margin-right: 20px;
}

nav ul li:last-child {
	margin-right: 0;
}

nav ul li a {
	color: white;
	text-decoration: none;
}

nav ul li a:hover {
	color: #ddd;
}

/* Style the main content */
main {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 20px;
	background: grey;
}

/* Style the left column */
.main-left {
	flex-basis: 65%;
	margin-right: 20px;
	background-color: white;
}

/* Style the article */
article {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ccc;
}

article h2 {
	margin-bottom: 10px;
}

article p:last-child {
	margin-bottom: 0;
}

article a {
	color: blue;
	text-decoration: none;
}

article a:hover {
	text-decoration: underline;
}

/* Style the right column */
.main-right {
	flex-basis: 30%;
}

.main-right ul {
	list-style: none;
	margin-bottom: 20px;
}

.main-right ul li {
	margin-bottom: 10px;
}

/* Style the middle section */
.main-middle {
	flex-basis: 100%;
	margin-top: 20px;
	padding: 20px;
	background-color: grey;
}

.purple-area {
	margin-bottom: 20px;
}

/* Style the footer */
footer {
	padding: 20px;
	background-color: darkgrey;
	color: white;
	text-align: center;
}

footer p {
	margin-bottom: 0;
}
