.accordion {
	display: flex;
	flex-wrap: wrap;
}

.accordion > * {
	padding: .5em;
}

.accordion .tab {
	background-color: blue;
	cursor: pointer;
}

.accordion .tab + * {
	max-height: 0;
	overflow: hidden;
	transition: max-height .5s;
	display: block;
}

.accordion .tab.expanded + * {
	max-height: 3000px;
}

