*{
	padding: 0;
	margin: 0;

	
}

body {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #00c6ff;  
    background: -webkit-linear-gradient(to right, #0072ff, #00c6ff);  
	background: linear-gradient(to right, #0072ff, #00c6ff);

}

ul{
	position: absolute;
	top: 5%;
	right: 1%;
	margin-right: 10px;
	float: right;
	
}

ul li{
	display: inline-block;
	padding:5px 30px; 
}

ul li a{
 	color: #fff;
 	text-decoration: none;
 	padding: 5px 40px;
 	transition: 0.6s ease;
}

ul li a:hover,a.active{
	background-color: #fff;
	color: #000;
}

.container{
	width: 1000px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;	
}

.box{
	position: relative;
	width: 300px;
	height: 400px;
	background: #000;
	box-shadow: 0 30px 30px rgba(0, 0, 0, 0.5);
}

.box .imgBx {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.box .imgBx img{
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	top: 0;
	left: 0;
	transition: 0.5s;
}

.box:hover .imgBx img{
	opacity: 0;
}

.box .content{
	
	width: 100%;
	background: #fff;
	position: absolute;
	bottom: 2px;
	height: 60px;
	padding: 15px; 
	overflow: hidden;
	box-sizing: border-box;
	transition: 0.5s;
}

.box:hover .content {
	width: 100%;
	height: 100%;
	bottom: 0;
	left: 0;
}


.box .content h3{
	margin: 0;
	padding: 0;
	font-size: 24px;
	font-family: 'Pacifico', cursive;
}	

.box .content p{
	margin: 10px 0 0;
	padding: 0;
	justify-content: center;
	opacity: 0;
	line-height: 1.2em;
	transition: 0.5s;
	text-align: justify;
	font-family: 'Lato', sans-serif;

}

.box:hover .content p{
	opacity: 1;
	transition-delay: 0.3s
}


.logo{
	position: absolute;
	height: 85px;
	top: 2%;
	left: 2%;
}

.checkbtn{
	font-size: 30px;
	color: white;
	float: right;
	line-height: 30px;
	margin-right: 30px;
	margin-top: 25px;
	cursor: pointer;
	display: none;
}

#check{
	display: none;
}



@media (max-width: 960px){


	.logo{
		position: absolute;
		float: none:;
		padding-top: 5px;
		padding-left: 1px;
		width: 100%;
		width: 150px;
		max-width: 150px;
	}

	

	.box{
		
		top: 80px;
		height: 100vh;
		width: 100%;
		min-width: 375px;
		margin: 5px ;
		padding-left: 5px;
		text-align: center;
	}
	h3{
		width: 100%;
		max-width: 900px;
		text-align: center; 
		font-size: 10px;
	}

	p{
		position: absolute;
		width: 100%;
		max-width:350px;
	}

	.container{
		width: 100%;
		height: 100vh;
		font-size: 24px;

	}

	.checkbtn{
		display: block;
	}

	ul{
		position: fixed;
		width: 100%;
		height: 100vh;
		background-size: cover;
	    background-position: center;
		background: #00c6ff;  
	    background: -webkit-linear-gradient(to right, #0072ff, #00c6ff);  
		background: linear-gradient(to right, #0072ff, #00c6ff); 
		top: 80px;
		left: -100%;
		text-align: center;
		transition: all 0.5s;
	}

	nav ul li{
		display: block;
		margin: 60px 0;
		line-height: 50px;
	}

	nav ul li a{
		font-size: 24px;
	}

	a:hover,a.active{
		background: none;
		color: #fff;
	}

	#check:checked ~ ul{
		left: 0;
		z-index: 1;}



}
