/* Christin Oldenburg MMDE22 800608281 */

body {
	width: 80%;
	margin: 1rem auto;
	padding: 2%;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border-radius: 1rem;
	box-shadow: #333 0 0 8px;
}

nav ul {
	list-style-type: none;
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
    
}

nav li {
	padding-right: 2%;
}

nav a {
	color: black;
	text-decoration: none;
	padding: 0.5rem;
	display: block;
}

nav a:link {
	display: block;
	background-color: white;
	width: 90%;
	font-size: 1rem;
	margin: 0.2rem;
	padding: 0.2rem;
}

nav a:hover {
	background-color: #80b8b1;
	border-radius: 0.5rem;
	transition: all 1s ease;
}

main {
	display: flex;
	gap: 30px;
}

article {
	width: 75%;
}

aside {
	width: 25%;
}

img:hover {
	transform: scale(2);
	transition: all 2s ease;
}

article figure {
	float: left;
	width: max-content;
	max-width: 100%;
	background: #ddd;
	padding: 0.5rem;
	margin-right: 2%;
	margin-left: 0;
	overflow: hidden;
	border-radius: 0.5rem;
}


@media (max-width: 40em) {
	main {
		display: block;
	}
	
	article figure {
		float: none;
	}
}
img {
	max-width: 100%;
	height: auto;
}