::selection{
	color: white;
	background-color: greenyellow;
}

body{
	margin: 0;
	background-color: #111;
	font-family: Verdana, sans-serif; margin:0
}

* {box-sizing: border-box}

/*Navigation Bar*/
.hnavbar{
	background-color: transparent;
	margin: 0;
	padding: 0;
	list-style-type: none;
	overflow: auto;
}

.logo{
	float: left;
	padding: 15px 25px;
	font-size: 35px;
	font-weight: bold;
	color: white;
	background-color: olivedrab;
	text-shadow: 1px 1px 1px black;
}

.logo01{
	float: left;
	padding: 0 30px;
	font-size: 15px;
	font-weight: bold;
	color: white;
	background-color: rgb(112, 158, 21);
	text-shadow: 1px 1px 1px black;
}

.hnav{
	float: right;
}

.hnavbtn{
	display: block;
	text-decoration: none;
	color: white;
	padding: 25px 25px;
	transition: 0.4s;
}

.hnavbtn:hover{
	text-decoration: underline;
	text-shadow: 4px 4px 14px #d9d9d9;
	background-color: crimson;
	font-size: 17px;
	text-shadow: 5px 5px 15px black;
}
/*Navigation Bar*/

/*Games*/
.prt-game{
	margin-left: 20px;
	margin-top: 50px;
	padding: 0;
	width: 960px;
	height: 635px;
	background-color: #e0e0e0e1;
}

.game-title{
	text-align: center;
	width: 800px;
	background-color: #d9d9d9;
	margin-left: 25px;
	margin-top: 10px;
	padding: 15px 25px;
	border: 1px solid white;
	border-radius: 10px;
	display: block;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 35px;
	text-decoration: underline;
	text-shadow: 1px 3px 3px black;
}

.controls{
	width: 800px;
	background-color: #d9d9d9;
	margin-left: 25px;
	margin-top: 10px;
	padding: 25px;
	border: 1px solid white;
	border-radius: 10px;
	display: block;
}

.keys{
	display: inline;
	width: 50px;
	background-color: #111;
	padding: 10px;
	border: 1px solid black;
	border-radius: 10px;
	color: white;
}

.description{
	width: 800px;
	background-color: #d9d9d9;
	margin-left: 25px;
	margin-top: 10px;
	padding: 25px;
	border: 1px solid white;
	border-radius: 10px;
	display: block;
}

.mg-title{
	text-align: center;
	margin: auto;
	padding: 25px;
	margin-top: 80px;
	background-color: #d9d9d9;
	border-left: 1px solid black;
	border-right: 1px solid black;
	width: 80%;
}
/*Games*/

/*Cards and games Above Layer*/

.above-games{
	width: 95%;
	margin: auto;
}

.videocards{
	float: left;
}

.cards-link img{
	width: 100%;
}

.cards{
	float: left;
	margin: 0 5px;
	margin-top: 15px;
	width: 17.2%;
	position: relative;
	overflow: hidden;
}

.cards-relative{
	margin-top: 52px;
}

.cards-text{
	text-align: center;
	padding: 5px;
	font-size: 1vw;
	overflow: hidden;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 75%;
	width: 80%;
	background-color: transparent;
	color: transparent;
	transition: 0.2s linear;
}

.cards-link{
	color: white;
	text-decoration: none;
}

.cards:hover{
	box-shadow: 2px 5px 35px #f2f2f2;
	outline: 1px solid grey;
}

.cards:hover a img{
	-webkit-animation: scale-up-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	animation: scale-up-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.cards:hover .cards-text{
	width: 101%;
	background-color: rgba(30, 143, 255, 0.905);
	color: whitesmoke;
	text-shadow: 5px 5px 5px black;
	position: absolute;
	top: 64%;
	transition: 0.4s ease-in-out;
}

@-webkit-keyframes scale-up-center {
	0% {
	  -webkit-transform: scale(1);
			  transform: scale(1);
	}
	100% {
	  -webkit-transform: scale(1.25);
			  transform: scale(1.25);
	}
  }
@keyframes scale-up-center {
	0% {
	  -webkit-transform: scale(1);
			  transform: scale(1);
	}
	100% {
	  -webkit-transform: scale(1.25);
			  transform: scale(1.25);
	}
}

/*Cards and games Above Layer*/

/*Cards and games Ads*/
.ad-games{
	width: 50%;
	margin: auto;
}

.adcards-link img{
	width: 100%;
}

.adcards{
	float: left;
	margin: 0 5px;
	margin-bottom: 15px;
	width: 43.8%;
	position: relative;
	overflow: hidden;
}

.adcards-relative{
	margin-top: 60px;
}

.adcards-text{
	text-align: center;
	padding: 5px;
	font-size: 1vw;
	overflow: hidden;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 75%;
	width: 80%;
	background-color: transparent;
	color: transparent;
	transition: 0.2s linear;
}

.adcards-link{
	color: white;
	text-decoration: none;
}

.adcards:hover{
	box-shadow: 2px 5px 35px #f2f2f2;
	outline: 1px solid grey;
}

.adcards:hover a img{
	-webkit-animation: scale-up-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	animation: scale-up-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.adcards:hover .adcards-text{
	width: 101%;
	background-color: rgba(30, 143, 255, 0.905);
	color: whitesmoke;
	text-shadow: 5px 5px 5px black;
	position: absolute;
	top: 64%;
	transition: 0.4s ease-in-out;
}

@-webkit-keyframes scale-up-center {
	0% {
	  -webkit-transform: scale(1);
			  transform: scale(1);
	}
	100% {
	  -webkit-transform: scale(1.25);
			  transform: scale(1.25);
	}
  }
@keyframes scale-up-center {
	0% {
	  -webkit-transform: scale(1);
			  transform: scale(1);
	}
	100% {
	  -webkit-transform: scale(1.25);
			  transform: scale(1.25);
	}
}
/*Cards and games Ads*/

/*Cards and games*/
.all-games{
	width: 95%;
	margin: auto;
}

.acards-link img{
	width: 100%;
}

.acards{
	float: left;
	margin: 0 5px;
	margin-bottom: 15px;
	width: 23%;
	position: relative;
	overflow: hidden;
}

.acards-relative{
	margin-top: 60px;
}

.acards-text{
	text-align: center;
	padding: 5px;
	font-size: 1vw;
	overflow: hidden;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 75%;
	width: 80%;
	background-color: transparent;
	color: transparent;
	transition: 0.2s linear;
}

.acards-link{
	color: white;
	text-decoration: none;
}

.acards:hover{
	box-shadow: 2px 5px 35px #f2f2f2;
	outline: 1px solid grey;
}

.acards:hover a img{
	-webkit-animation: scale-up-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	animation: scale-up-center 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.acards:hover .acards-text{
	width: 101%;
	background-color: rgba(30, 143, 255, 0.905);
	color: whitesmoke;
	text-shadow: 5px 5px 5px black;
	position: absolute;
	top: 64%;
	transition: 0.4s ease-in-out;
}

.margin-setter{
	margin-top: 25px;
}

@-webkit-keyframes scale-up-center {
	0% {
	  -webkit-transform: scale(1);
			  transform: scale(1);
	}
	100% {
	  -webkit-transform: scale(1.25);
			  transform: scale(1.25);
	}
  }
@keyframes scale-up-center {
	0% {
	  -webkit-transform: scale(1);
			  transform: scale(1);
	}
	100% {
	  -webkit-transform: scale(1.25);
			  transform: scale(1.25);
	}
}
/*Cards and games*/

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/*Size Mapping*/
@media screen AND (max-width : 1185px) {
	.tagbtn{
		font-size: 1.5vw;
		width: 9.88%;
		display: flex;
		justify-content: center;
		align-items: center;
		height: 65px;
	}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
/*Profile Videos*/

@media screen AND (max-width:950px) {
	.acards{
		width: 32%;
	}
	.tagbtn{
		width: 9.87%;
	}

	.margin-setter{
		margin-top: 0;
	}

	.ads{
		display: none;
	}

	.ad-games{
		width: 95%;
		margin: auto;
	}

	.adcards{
		width: 32%;
	}

	.acards-text{
		font-size: 1.5vw;
	}

	.adcards-text{
		font-size: 1.5vw;
	}
}

/*footer*/
.footer{
	clear: both;
	color: black;
	text-align: center;
	background-color: #d9d9d9;
	padding: 25px 75px;
	margin-top: 35px;
	clear: both;
}
/*footer*/

.ads{
	background-color: #bbb;
	width: 250px;
	height: 550px;
	position: absolute;
}

.right-ads{
	right: 100px;
}

.left-ads{
	left: 50px;
}

#margin3{
	margin-top: 25;
}

#margin4{
	margin-top: 25;
}

.open{display: none;}
.close{display: block;}

@media screen AND (max-width: 890px) {
	.videocards{
		width: 100%;
		clear: both;
		margin: 0;
	}

	.cards{
		display: none;
	}
}

@media screen AND (max-width: 875px) {
	.tagsbar{
		display: none;
	}

	#myInput{
		width: 95%;
	}
}

@media screen AND (max-width: 795px) {
	.acards{
		width: 31.5%;
	}

	.adcards{
		width: 31.5%;
	}
}

@media screen AND (max-width: 612px) {
	.submit{width: 72%;}
	.reset{width: 26%;}
	.label{
		font-size: 3.5vw;
		padding: 0 24%;
	}
	.prev, .next {
		cursor: pointer;
		position: absolute;
		top: 110%;
		width: auto;
		padding: 15px 15px;
		margin-top: -22px;
		color: #111;
		background-color: white;
		font-weight: bold;
		font-size: 18px;
		transition: 0.6s ease;
		border-radius: 0 3px 3px 0;
		user-select: none;
	}

	.acards{
		width: 48%;
	}

	.adcards{
		width: 48%;
	}

	.fstmrgn{
		margin-top: 75px;
	}

	#margin2{
		margin-top: 0;
	}

	#margin3{
		margin-top: 0;
	}

	.acards-text{
		font-size: 2.2vw;
	}

	.adcards-text{
		font-size: 2.2vw;
	}
}

@media screen AND (max-width: 530px) {
	.acards{
		width: 47%;
	}

	.adcards{
		width: 47%;
	}
}

@media screen AND (max-width: 465px) {
	.logo{
		font-size: 30.8px;
	}
	.inputfield{
		font-size: 15px;
	}
}

@media screen AND (max-width: 420px) {
	.logo{
		font-size: 7vw;
		text-align: center;
	}
	.logo01{
		font-size: 3.4vw;
	}
	.footer{
		padding: 10px 30px;
		text-align: left;
	}
}

@media screen AND (max-width: 375px) {
	.label{
		font-size: 15px;
		padding: 0 5px;
	}
	.head1{
		font-size: 25px;
	}
	.logo{
		font-size: 10vw;
	}

	.acards{
		width: 98%;
	}

	.adcards{
		width: 98%;
	}

	.fstmrgn{
		margin-top: 0;
	}

	.sndmrgn{
		margin-top: 75px;
	}

	#margin4{
		margin-top: 0;
	}

	.acards-text{
		font-size: 3.5vw;
	}

	.adcards-text{
		font-size: 3.5vw;
	}
}

@media screen AND (max-width: 280px) {
	.head1{
		font-size: 20px;
	}
	.feedback{
		font-size: 15px;
	}
	.footer{
		padding: 10px 20px;
		text-align: left;
	}
}

/*Animations*/
@-webkit-keyframes puff-in-center {
	0% {
	  -webkit-transform: scale(2);
			  transform: scale(2);
	  -webkit-filter: blur(4px);
			  filter: blur(4px);
	  opacity: 0;
	}
	100% {
	  -webkit-transform: scale(1);
			  transform: scale(1);
	  -webkit-filter: blur(0px);
			  filter: blur(0px);
	  opacity: 1;
	}
  }
  @keyframes puff-in-center {
	0% {
	  -webkit-transform: scale(2);
			  transform: scale(2);
	  -webkit-filter: blur(4px);
			  filter: blur(4px);
	  opacity: 0;
	}
	100% {
	  -webkit-transform: scale(1);
			  transform: scale(1);
	  -webkit-filter: blur(0px);
			  filter: blur(0px);
	  opacity: 1;
	}
  }

 