.wrapper {
	display: flex;
	/* kich hoat flex box*/
	flex-flow: row wrap;
	font-weight: bold;
	text-align: center;
}

.wrapper>* {
	padding: 10px;
	flex: 1 100%;
	/* cho tất cả phần tử bên trong có độ dài 100% và tỉ lệ chiếm không gian trống là như nhau*/
}

.header-flex-2 {
	background: tomato;
}

.footer-flex-2 {
	background: lightgreen;
	order: 4;
}

.main {
	text-align: left;
	background: deepskyblue;
	/* height: 400px; Bai3 */
}

/* 2 phần aside sẽ chỉ chiếm 1 phần không gian */
.aside-1 {
	background: gold;
	height: auto;
	order: 1;
}

.aside-2 {
	background: hotpink;
	height: auto;
	order: 3;
}
.img-responsive {
	max-width: 100%;
	height: auto;
}
.bao-img {
	text-align: center;
}
@media only screen and (min-width: 1200px) {
	.main {
		flex: 3 0px;
		order: 2;
	}
}
@media only screen and (min-width: 600px) {
	.aside {
		flex: 1 0 0;
	}
}
