html, body {
	background: #F6F6F6;
	color: #555;
	font-family: Roboto, sans-serif;
	font-size: 17px;
	font-weight: lighter;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

/* Preloader */
#preloader {
	bottom: 0;
	height: 100%;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 9999;
}

#preloader:not(.dark-bg) {
	background: #fff;
}

#preloader .loading-data {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	text-align: center;
	border-radius: 50%;
	border: 2px solid #00c0ff;
	border-top-color: rgba(0, 192, 255, 0);
	-webkit-animation: loader-animation 0.8s infinite linear;
	animation: loader-animation 1s infinite linear;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

@-webkit-keyframes loader-animation {
	from {
		transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
	}
}


/* Posts grid  */
.posts-grid-wrap {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 100vh;
	padding: 0 12px;
}

.posts-grid {
	display: grid;
	gap: 4px;
	grid-template-columns: 1fr 1fr 1fr;
	max-width: 100vh;
}

.post {
	background: #fff;
	border-radius: 4px;
	border: 1px solid #E4E4E8;
	min-width: 33.3333333%;
	padding: 4px;
	position: relative;
	transition: all .3s ease-in-out;
	z-index: 1;
}

.post:hover {
	box-shadow: 0 0 10px rgba(0,0,0,.1);
	transform: scale(1.2);
	z-index: 2;
}

.post a {
	display: block;
	text-decoration: none;
}

.post h4 {
	margin: 0;
}
.post h4 a {
	color: #231F20;
	font-size: 1.2rem;
	font-weight: bold;
	padding: 10px 0;
	text-align: center;
	word-break: break-all;
}

.post img {
	border-radius: 4px;
	max-width: 100%;
	transition: all .3s ease-in-out;
}

.post img:hover {
	box-shadow: 0 0 10px rgba(0,0,0,.1);
	transform: scale(1.1);
}

@media screen and (max-width: 768px) {
	.post h4 a {
		font-size: 14px;
	}
}

@media screen and (max-width: 480px) {
	.posts-grid {
		grid-template-columns: 1fr 1fr;
	}

	.post h4 a {
		font-size: 12px;
		font-weight: normal;
	}
}