* {
	box-sizing: border-box;
}

body {
	min-width: 375px;
	margin: 0;
}

.container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 350px);
	gap: 10px;
	max-width: 1280px;
	padding: 0 15px;
	margin: 0 auto;
}

.wrapper {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: auto 1fr auto;
	min-height: 100vh;
}

.header {
	grid-column: 12 span;
	grid-template-rows: 100px;
	background-color: #f00;
	min-height: 100px;
}

.aside {
	background-color: #e2e20d;
	grid-column: 1 / 3;
}

.main {
	background-color: #31bb0a;
	padding-top: 30px;
	padding-bottom: 30px;
	grid-column: 3 / 13 ;
}

.article {
	background-color: #de6e05;
	min-height: 200px;
	gap: 10px;
}

.footer {
	background-color: #0b2fe2;
	min-height: 250px;
	grid-column: 1 / 13 ;
}


@media (width<= 1200px ) { 
	.aside {
	background-color: #e2e20d;
	grid-column: 1 / 4;
}
.main {
	background-color: #31bb0a;
	padding-top: 30px;
	padding-bottom: 30px;
	grid-column: 4 / 13 ;
}

.container { 
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(4, 350px);

}

}

@media (width<= 768px ) { 
	.aside {
		display: none;
}
.main {
	background-color: #31bb0a;
	padding-top: 30px;
	padding-bottom: 30px;
	grid-column: 1 / 13 ;
}

.container { 
	grid-template-columns: repeat(1, 1fr);
	grid-auto-rows: 350px ;

}
}
