#flex{
	display: flex;
	position: relative;
	flex-direction: column;
	height: auto;
	justify-content: center;
	align-items: center;
	text-align: center;

	top: 14vh;
	margin-bottom: 5%;
}

#flex section{
	position: relative;
	top: 20%;
	display: block;
	margin: 3% 2% 3% 2%;
	overflow: hidden;

	width: 50%;
	max-width: 20cm;
	height: auto;
	min-height: 4cm;
	border: solid;	
	border-width: 4pt;
	background-color: white;
	padding: 0 2ex 1ex 2ex;

	transition: padding 0.2s;
}

@media (orientation: portrait) {
	#flex{
		top: 16vh;		
	}
	#flex section {
		width: 80%;
		margin-bottom: 8ex;
	}
}

#flex section:hover{
	padding: 0 3ex 1ex 3ex;
}

#flex section h2{
	text-align: center;
	position: relative;
	display: block;
	width: 100%;	
	z-index: 2; 
	background-color: white;
	border-bottom: solid;
	border-width: 4pt;
	margin-bottom: 0.5ex;
}

#flex section p{
	padding: 0.8ex;
	display: block;
	overflow: hidden;
}

#flex section div{	
	padding: 0.5ex 0;
}

#flex section div a{	
	color: blue;
}


#flex section img{
	height: 4ex;
	padding: 2ex;
}


#icon{
	height: 7ex;
}