#topImgContainer{
	background-color: rgb(190,190,190);
	height: 600px;
	overflow: hidden;
	position: relative;
	background-image: linear-gradient(135deg, rgba(110,110,110,1) 25%, rgba(0,0,0,0) 75%);
}


#topImage{
	height: 600px;
	width: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#topText{
	z-index: 5;
	position: relative;
	text-align: center;
	top: 220px;
	font-size: 38px;
	color: white;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}

#topText h1{
	margin: 0;
}

#infoAside{
	word-wrap: break-word;
}

#viewsAside{
	margin-top: 15px;
}

@media only screen and (min-width: 721px){
	#mainPageContainer{
		width: 95%;
		margin-left: auto;
		margin-right: auto;
	}

	#mainPageContainer #postsPanel{
		float: left;
	}
	
	#postsPanel{
		width: calc(100% - 240px);
	}

	#postsContainer .post{
		width: auto;
		margin-left: 0;
	}

	#postsContainer2 .post{
		width: auto;
		margin-left: 0;
	}
	
	#mainAside{
		float: right;
		width: 220px;
		margin-bottom: 20px;
	}

	#infoAside{
		min-height: 300px;
		padding: 10px;
	}

	#viewsAside{
		padding: 10px;
	}
}

@media only screen and (min-width: 1201px){
	#mainPageContainer{
		width: 1125px;
	}
	
	#postsPanel{
		width: 865px;
	}

	#postsContainer .post{
		width: auto;
	}

	#postsContainer2 .post{
		width: auto;
	}
	
	#mainAside{
		width: 230px;
	}

	#infoAside, #viewsAside{
		padding: 15px;
	}
}

@media only screen and (max-width: 720px){
	#mainAside{
		width: 95%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 60px;
		margin-bottom: 20px;
	}

	#infoAside, #viewsAside{
		padding: 10px;
	}
}

.allPostsButton{
	width: 220px;
	margin: 20px auto;
}

.allPostsButton a{
	display: block;
	text-align: center;
	font-size: 22px;
	padding: 10px;
	text-decoration: none;
	color: black;
	background-color: #3088f1;
	border: 3px solid #0a67d6;
	border-radius: 5px;
	-webkit-box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.3);
}

.allPostsButton a:hover{
	background-color: #4794f1;
}

@media only screen and (max-width: 720px){
	#topImgContainer{
		height: 450px;
	}
	
	#topImage{
		height: 450px;
	}
	
	#topText{
		top: 145px;
	}
}