body > aside {
	margin: auto;
	min-height: 83vh;
	width: 90%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

body > aside > article {
	flex: 0 0 auto;
	margin-top: 2em;
	margin-bottom: 2em;
	padding: 2em;
	background: white;
	border-radius: 20px;
	width: 400px;
	max-width: 90%;
	box-shadow: 10px 5px 5px grey;
	transition: opacity 0.2s ease-in-out;
	opacity: 1;
}

#left {
	transform: scale(0.8);
	mask-image: linear-gradient(to left, black 20%, transparent);
	-webkit-mask-image: linear-gradient(to left, black 20%, transparent);
}

#right {
	transform: scale(0.8);
	mask-image: linear-gradient(to right, black 20%, transparent);
	-webkit-mask-image: linear-gradient(to right, black 20%, transparent);
}

.selected {
	text-decoration: underline;
}

.hidden {
	opacity: 0;
}

article img {
	max-width: 90%;
}

article > h2 {
	font-size: 2em;
	margin-bottom: 1em;
}

article > a {
	color: white;
	border-radius: 20px;
	background: #e84f36;
	padding: 1em;
	margin: auto;
	display: block;
	width: 60%;
}

article figcaption {
	padding-top: 2em;
	padding-bottom: 2em;
}


#previousButton, #nextButton {
	background: rgb(242, 242, 242);
	width: 5%;
	min-width: 50px;
	position: absolute;
	padding:1em;
	transition: transform 0.5s ease-in-out;
	top: 45%;
}

#previousButton {
	left: 0;	
	box-shadow: 10px 5px 5px grey;
}

#nextButton {
	right: 0;
	box-shadow: -10px 5px 5px grey;
}

#previousButton:hover, #nextButton:hover {
	cursor: pointer;
	transform: scale(1.2);
}


