*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

#hamburger{
	position: absolute;
	right: 20px;
	top: 35px;
	display: none;
}
#hamburger span{
	border: 1px solid #000;
	width: 20px;
	height: 1.5px;
	border-radius: 5px;
	background: #000;
	display: block;
	margin: 5px 0; 
}

header{
    background-color: #f67e7d;
    width: 20%;
    height: 740px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: fixed;
}

.logo i{
    font-size:115px;
    margin-top: 40px;
}
.logo h2{
	font-family: 'Poppins', sans-serif;
	font-size: 30px;
}
.menu{
	margin: 63px 0 59px 0;
}
.menu ul li{
    list-style-type: none;
    margin: 16px 0;
    padding: 5px 0 5px 0;
}

.menu ul li:first-of-type a:first-of-type{
	border-bottom: 2px solid #000;
	margin: 14px 9px;
	color: #000;
}
.menu ul li a{
    text-decoration:none;
    color: rgba(0,0,0,0.7);
    font-size: 18px;
}
.social h4{
	margin-bottom: 20px;
	font-size: 18px;
}
.social a{
	text-decoration: none;
	color: #000;
}
.social i{
	margin: 15px 3px 40px 3px;
    font-size: 23px;
    border-radius: 20px;
    padding: 11px;
    background-color: #f46665;
    width: 41px;
    height: 41px;
}

.section{
	margin-left: 20%;
}
.section .img{
	display: flex;
	flex-wrap: wrap;
}
.section .image{
	width: 33.33%;
	height: 280px;
	position: relative;
}
.section .image img{
	width: 100%;
	height: 100%;
}
.section .image::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	display: none;
}
.section .image span{
	font-family: 'Montserrat', sans-serif;
	text-align: center;
	position: absolute;
	left: 35%;
	top: 40%;
	font-size: 19px;
	color: #fff;
	text-shadow: 0 0 3px rgba(0,0,0,0.4);
	z-index: 2;
	display: none;
}

.img .image:hover::before{
	display: block;
}
.img .image:hover > span{
	display: block;
}

footer{
	margin-left: 20%;
	background-color: #242423;
	color: #fff;
	padding: 30px;
	font-family: 'Montserrat', sans-serif;
}
 .footer{
 	display: flex;
 	justify-content: space-between;
 	padding-bottom: 50px;
 }
 .footer > div{
 	width: 30%;
 }
.footer li{
	list-style-type: none;
	border-bottom: 1px solid #c3c3c3;
	margin: 20px 0;

}
.footer .cate li{
	display: flex;
	justify-content: space-between;
	color: #fff;
}
.footer li a{
	text-decoration: none;
	color: #c3c3c3;
	margin-right: 150px;

}
.footer .que p{
	margin: 20px 0;
	display: flex;
	justify-content: start;
	color: #c3c3c3;
}
.footer .que p a{
	text-decoration: none;
	color: #fff;
}
.footer .que p i{
	margin-right: 10px;
}



/*Blog page css*/

.container{
	width: 93%;
	margin: 0 auto;
}

.head, .article{
	background-color: #f3f3f3;
}
.head ul{
	display: flex;
}
.head li{
	list-style-type: none;
	margin: 40px 15px 40px 0;
}
.head li a{
	color: #000;
	text-decoration: none;
	border-bottom: 2px solid #C0C0C0;
	font-family: 'Montserrat', sans-serif;
}
.head li:first-of-type a:first-of-type{
	color: #C0C0C0;
}


.article{
	font-family: 'Montserrat', sans-serif;
	margin-bottom: 30px;
}
.article h1{
	font-size: 40px;
}
.article p{
	color: #C0C0C0;
	padding: 20px 0;
	line-height: 20px;
	font-size: 19px;
}

.blogs{
	display: flex;
	justify-content: space-between;
}
.left{
	width: 72%;
}
.blogs .blog{
	display: flex;
	flex-wrap: wrap;
}
.blog .sblog{
	width: 44.3333%;
	margin: 32px 45px 32px 0;
	font-family: 'Montserrat', sans-serif;
}
.blog .sblog .img1{
	width: 100%;
	height: 350px;
}
.blog .sblog .img1 img{
	width: 100%;
	height: 100%;

}
.blog .sblog h3{
	font-size: 18px;
	margin: 18px 0;
}
.blog .sblog p{
	color: #C0C0C0;
	margin: 18px 0;
}
.blog .sblog p a{
	text-decoration: none;
	color: #000;
	margin: 0 10px;
}
.button{
	font-family: 'Montserrat', sans-serif;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 60px 0 50px 0;
}
.button p{
	/*border: 1px solid #ff0000;
    border-radius: 21px;*/
    margin: 0 20px;
    font-size: 15px;
}
.button p a{
	text-decoration: none;
	color: #ff0000;
	border: 1px solid #ff0000;
    border-radius: 30px;
    padding: 14px 19px;
}
.button p:nth-of-type(2) a{
	background-color: #ff0000;
	color: #fff;
}


.right{
	margin-top: 30px;
    background-color: #f3f3f3;
    width: 30%;
}
.right > div{
	margin: 40px 0;
}
.right .search{
	color: #C0C0C0;
	margin: 30px;
	position: relative;
}
.right .search input{
	border: none;
	width: 100%;
	padding: 11px 26px;
	background-color: #f3f3f3;
	border: 1px solid #c3c3c3;
	outline: none;
}
.right .search i{
	position: absolute;
	top: 30%;
	right: 5%;
}

.ctg{
	/*margin: 85px 0;*/
	font-family: 'Montserrat', sans-serif;
	padding: 30px;
}
.ctg h4{
	margin: 30px 0;
	font-size: 15px;
}
.ctg li{
	list-style-type: none;
	border-bottom: 1px solid #c3c3c3;
	display: flex;
	justify-content: space-between;
	color: #c3c3c3;
	margin: 15px 0;
	font-size: 13px;
}
.ctg li a{
	text-decoration: none;
	color: #000;
}

.popular{
	font-family: 'Montserrat', sans-serif;
	padding: 30px;
}
.popular h4{
	font-size: 15px;
	margin: 30px 0;
}
.popular .blog1{
	display: flex;
	justify-content: space-between;
}
.popular .blog1 .simg{
	/*width: 70%;*/
	min-width: 100px;
	height: 90px;
}
.popular .simg img{
	width: 100%;
	height: 100%;
}
.popular .par{
	margin-left: 25px;
}
.popular .par p:first-of-type{
	color: #000;
	font-size: 16px;
}
.popular .par p{
	padding-bottom: 20px;
	color: c3c3c3;
	font-size: 12px;
}

.tags{
	font-family: 'Montserrat', sans-serif;
	/*margin: 80px 0;*/
	padding: 30px;	
}
.tags h4{
	margin: 30px 0;
}
.tag a{
	text-decoration: none;
	border: 1px solid #c3c3c3;
    padding: 10px;
    margin: 3px;
    border-radius: 5px;
    color: #000;
    display: inline-block;
}

.newsletter{
	background-color: #808080;
	background-image: url(img/bg_1.jpg);
	background-size: cover;
	font-family: 'Montserrat', sans-serif;
	padding: 30px;
	position: relative;

}
.newsletter::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
}
.newsletter .bg{
	position: relative;
	top: 0;
	left: 0;
}
.newsletter h4{
	font-size: 15px;
	color: #fff;
	padding: 30px 20px;
}
.newsletter p{
	color: #c3c3c3;
	font-size: 14px;
	margin: 0 0 20px 20px;
}
.newsletter input{
	margin: 10px;
	border: 2px solid #c3c3c3;
}
.newsletter  input[type=email]{
	background: snow;
	width: 87%;
	padding: 13px 10px;
	font-size: 16px;
	outline: none;
}
.newsletter input[type=submit]{
	background-color: #fff;
	width: 87%;
	padding: 13px 10px;
	border: none;
	font-size: 16px;
}


.archives{
	font-family: 'Montserrat', sans-serif;
	/*margin: 80px 0;*/
	padding: 30px;
}
.archives h4{
	margin-bottom: 40px;
}
.archives ul li{
	list-style-type: none;
	border-bottom: 1px solid #c3c3c3;
	display: flex;
	justify-content: space-between;
	color: #c3c3c3;
	margin: 10px 0;
	padding: 10px 0;
	font-size: 14px;
}
.archives li a{
	text-decoration: none;
	color: #000;
}

.about{
	font-family: 'Montserrat', sans-serif;
	padding: 30px;
}
.about h4{
	margin-bottom: 20px;
}
.about p{
	color: #c3c3c3;
}



/******Media Queries for Home Page******/

@media all and (max-width: 1228px){
	.section .image span{
		left: 30%;
		top: 42%;
		font-size: 16px;
	}
	.footer li a{
		margin-right: 0;
	}
	.footer .que p i{
		margin-right: 5px;
	}
	.footer .que p a{
		font-size: 13px;
	}
}


@media all and (max-width: 1022px){
	header{
		width: 100%;
		height: auto;
		flex-direction: row;
		position: unset;
		padding: 10px;
	}
	.logo i{
		font-size: 60px;
		margin-top: 0;
	}
	.logo h2{
		font-size: 20px;
	}
	.menu{
		margin: 0;
	}
	.menu nav ul{
		display: flex;
	}
	.menu ul li{
		margin: 16px 10px;
	}
	.social h4{
		display: none;
	}
	.social i{
		margin: 0;
		font-size: 16px;
		width: 39px;
		height: 39px;
	}
	.section, footer{
		margin-left: 0;
	}
}

@media all and (max-width: 800px){
	.social{
		display: none;
	}
	.menu ul li{
		margin: 16px 16px;
	}
	.menu ul li a{
		font-size: 16px;
	}
	.section .image{
		width: 50%;
	}
	footer{
		font-size: 12px;
		padding: 30px;
	}

}

@media all and (max-width: 600px){
	.menu nav ul{
		display: none;
	}
	#hamburger{
		display: block;
	}
	.section .image{
		width: 100%;
	}
	.section .image span{
		left: 40%;
	}
	.footer{
		display: block;
	}
	.footer > div{
		width: 100%;
		margin-bottom: 35px;
	}
}

@media all and (max-width: 440px){
	.section .image span{
		left: 35%;
	}
	footer p{
		font-size: 8px;
	}
}


/******Media Queries for Bloge Page******/

@media all and (max-width: 1512px){
	.blog .sblog{
		margin-right: auto;
	}
}

@media all and (max-width: 1100px){
	.article h1{
		font-size: 30px;
	}
	.article p{
		font-size: 16px;
	}
	.blog .sblog .img1{
		height: 300px;
	}
	.right > div{
		margin: 0;
	}
	.right .search{
		margin: 20px;
	}
	.ctg, .popular, .tags, .newsletter, .archives, .about{
		padding: 20px;
	}
	.button p{
		margin: 0 15px;
	}
}

@media all and (max-width: 900px){
	.article h1{
		font-size: 20px;
	}
	.blog .sblog .img1{
		height: 250px;
	}
	.blog .sblog p a{
		margin: 0;
	}
	.button p{
		margin: 0 10px;
	}
	.popular .blog1 .simg{
		min-width: 60px;
		height: 70px;
	}
	.popular .par{
		margin-left: 15px;
	}
	.popular .par p:first-of-type{
		font-size: 13px;
	}
	.popular .par p{
		font-size: 10px;
	}
	.tag a{
		font-size: 14px;
		padding: 8px;
	}
	.ctg, .popular, .tags, .newsletter, .archives, .about{
		padding: 15px;
	}
	.newsletter input[type="email"], .newsletter input[type="submit"]{
		padding: 6px 10px;
		font-size: 14px;
	}

}


@media all and (max-width: 700px){
	.blogs{
		display: block;
	}
	.left{
		width: 100%;
	}
	.blog .sblog{
		margin: 32px auto;
	}
	.blog .sblog p{
		font-size: 15px;
	}
	.button{
		margin-top: 0;
	}
	.button p{
		font-size: 10px;
	}
	.button p a{
		padding: 14px 17px;
	}
	.right{
		width: 100%;
		padding: 10px 0;
		margin: 30px auto;
	}
	.right h4{
		font-size: 18px;
	}
	.ctg li{
		font-size: 15px;
	}
	.popular .blog1{
		justify-content: start;
	}
	.popular .blog1 .simg{
		min-width: 150px;
		height: 86px;
	}
	.popular .par{
		margin-left: 25px;
	}
	.popular .par p:first-of-type{
		font-size: 15px;
	}
	.popular .par p{
		font-size: 12px;
	}
	.newsletter input[type="email"], .newsletter input[type="submit"] {
    	padding: 10px 10px;
    	font-size: 15px;
	}
	.archives ul li{
		font-size: 15px;
	}
}

@media all and (max-width: 470px){
	.head li{
		font-size: 12px;
	}
	.article h1{
		font-size: 16px;
	}
	.article p{
		font-size: 13px;
	}
	.blogs .blog{
		display: block;
	}
	.blog .sblog{
		width: 100%;
	}
	.blog .sblog h3{
		font-size: 16px;
	}
	.blog .sblog p{
		font-size: 13px;
	}
	.button p{
		margin: 0 5px;
	}
	.button p a{
		padding: 10px 14px;
	}
	.tags h4{
		margin-top: 0;
	}
	.archives h4{
		margin: 20px 0;
	}
}