/*wallpapercave.com*/

@font-face{
	font-family:play;
	src:url(fonts/Play-Regular.ttf)
}

body{
	margin: 0px;
	background-image: url(images/back.jpeg);
	background-repeat: no-repeat;
	background-size: cover;
	font-family: play;
	color: white;
	animation-name: opacity;
	animation-duration: 1s;
}
@keyframes opacity{
	0%{opacity: 25%}
	50%{opacity: 50%}
	100%{opacity: 100%}
}


.top{
	height: 100px;
	justify-content: center;
	align-items: center;
	display: flex;
}
.top h1{
	font-size: 50px;
	animation: flash 2s; 
}
@keyframes flash{
	0%{opacity: 100%}
	25%{opacity: 75%}
	50%{opacity: 40%}
	75%{opacity: 75%}
	100%{opacity: 100%}

}
/*NAV BAR PART*/
.nav{
	height: 60px;
	background: #ffffff1c;
	align-items: center;
	display: flex;
}
.nav ul{
	list-style: none;
}
.nav li{
	display: inline-block;
	margin-right: 20px;
}
.nav a{
	color: white; 
	text-decoration: none;
	font-size: 22px;
}
.nav a:hover{
	border: 1.5px solid transparent;
	padding: 3px;
	background: transparent;
	animation-name: borderin;
	animation-duration: 1s;
	transition: 1s;
}
@keyframes borderin{
	0%{border-color: transparent;}
	50%{border-color: white;}

}


/*MIDDLE PART*/
.middle{
	width: 100%;
}

.middle ul{
	list-style: none; 
	display: flex;
	justify-content: center;
	align-items: center;
}
.middle li{display: inline-block;}
.card{
	margin: 10px;
	height: 500px;
	width: 350px;
	text-align: center;
	background: white;
	color: black;
	cursor: default;
	animation: moveUp .8s;
}

@keyframes moveUp{
	0%{transform: translateY(-200px);}
	100%{transform: translateY(0px);}
}
.card:hover{
	transition-duration: 1s;
	transform: scale(1.02);
}


.card hr{
	position: relative;
	top: 10px;
	width: 80%;
	height: 3px;
	border: none;
	background: darkblue;
}
.card p{
	text-align: center;
	padding: 10px;
}
.card a{
	text-decoration: none;
	color: black;
}
/*BOTTOM PART*/

.bottom{
	background: black;
	text-align: center;
	position: relative;
	top: 30px;
	padding: 5px;
}

@media (max-width:720px) {
	.nav{width: 100%}
	.nav a{font-size: 15px}
	.middle ul{
		margin: 0px;
		padding: 0px; 
		display: block;
	}
	.middle li{margin: auto;}
	.card{
		width: 95%;
		height: 600px;
		margin: 0px; 
		transform: scale(0.85);
	}
	.card:hover{
		transition-duration: 1s;
		transform: scale(0.85);
	}
	.bottom{
		position: relative;
		top: 65px;
	}
}