body {
	width: 1260px;
	margin: 0 auto;
}

#main {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: auto;
	grid-template-areas:
			"header header"
			"main sidebar"
			"footer footer";
}

header {
	margin-top: 40px;
	grid-area: header;
	border-bottom: #777 dashed 1px;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

main {
	grid-area: main;
}

aside {
	margin-left: 40px;
	grid-area: sidebar;
}

footer {
	border-top: #777 dashed 1px;
	margin-top: 40px;
	margin-bottom: 100px;
	padding-top: 10px;
	grid-area: footer;
}

.text-align-center {
	text-align: center;
}

.post {
	margin-top: 20px;
	margin-bottom: 20px;
}

.ad-slot {
    font-size: 24px;
	text-align: center;
	color: #000;
	border: 2px solid #ff2e2e;
	border-radius: 5px;
	padding: 15px;
	background: repeating-linear-gradient(
			45deg,
			#fab4b4,
			#fab4b4 10px,
			#f09797 10px,
			#f09797 20px
	);
}

.card-image {
	height: 300px;
	overflow: hidden;
}

.layout-container {
	text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	line-height: 1;
	font-family: sans-serif;
	-webkit-font-smoothing: subpixel-antialiased;
	box-sizing: border-box;
	outline: 0px;
	max-width: 1176px;
	margin: 0px auto;
	padding: 0px 24px;
}

.layout-group {
	display: flex;
	justify-content: center;
}

.layout-image {
	flex: 1
}
.layout-link {
	text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	line-height: 1;
	font-family: sans-serif;
	-webkit-font-smoothing: subpixel-antialiased;
	box-sizing: border-box;
	outline: 0px;
	flex: 1 0 30%;
	align-self: flex-end;
	max-width: 336px;
	overflow: hidden;
	padding: 24px 24px 32px;
}

.layout-ad-slot {
	position: relative;
	background-color: rgb(249, 249, 249);
	padding-top: 64px;
	padding-bottom: 64px;
	line-height: 0;
	min-height: 0px;
	text-align: center;
	z-index: 0;
	overflow: hidden;
}


.navbar {
	display: flex;
	justify-content: center;
}

.navbar > ul {
	display: flex;
	justify-content: center;
}

.navbar > ul > li {
	margin: 10px;
	list-style: none;
	font-size: 30px;
}

.layout-article {
	display: flex;
	justify-content: center;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 50px;
}

.layout-article > h3 {
	flex: 1;
	word-break: break-word;
	font-size: 28px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 16px;
	text-decoration: none;
}

.gird-layout {
	display: flex;
	justify-content: space-between;
}

.gird-layout-item {
	margin: 10px;
	display: flex;
	border: 1px #eee solid;
	flex-wrap: wrap;
	flex-direction: column;
}

.gird-layout-item > h3 {
	text-align: center;
}
