::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*/

/*Tags Bar*/
.tagsbar{
	background-color: greenyellow;
	margin: 0;
	padding: 0;
	list-style-type: none;
	overflow: auto;
}

.tagbtn{
	display: block;
	text-decoration: none;
	color: white;
	padding: 15px 15px;
	margin-right: 1px;
	background-color: #2e2e2e;
	width: 9.9%;
	text-align: center;
	float: left;
	transition: 0.4s linear;
}

.tagbtn:hover{
	background-color: dodgerblue;
}
/*Tags Bar*/

/*Searchbar*/
#myInput{
	width: 72%;
	margin: 20px 1px 20px 5px;
	padding: 12px;
	transition: all 0.4s;
	font-size: 17px;
}

#myInput:focus{
	width: 98%;
	border: 2px solid orangered;
	outline: none;
}

#myInput {
	background-image: url('searchicon.png');
	background-position: 10px 12px;
	background-repeat: no-repeat;
	font-size: 16px;
	padding: 12px 20px 12px 40px;
	border: 1px solid #ddd;
	margin-bottom: 12px;
}
  
#myUL {
	position: absolute;
	z-index: 2;
	list-style-type: none;
	padding: 0;
	width: 98%;
	margin: 1px 1px 20px 5px;
	overflow: hidden;
	height: 0;
	transition: 0.4s linear;
}
  
#myUL li a {
	border: 1px solid #ddd;
	margin-top: -1px; /* Prevent double borders */
	background-color: #f6f6f6;
	padding: 12px;
	text-decoration: none;
	font-size: 18px;
	color: black;
	display: block
}
  
#myUL li a:hover/*:not(.header)*/ {
	background-color: #111;
	color: #f2f2f2;
}
/*Searchbar*/

#background-video {
	width: 100vw;
	height: 100vh;
	object-fit: cover;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: -1;
  }

/*Profile Videos*/
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin-top: 50px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 45%;
  width: auto;
  padding: 35px 16px;
  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;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  color: white;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 15px 12px;
  position: absolute;
  bottom: 2px;
  width: 100%;
  text-align: center;
  background-color: #111;
  transition: 0.4s linear;
}

.slideshow-container:hover .text{
	background-color: rgba(184, 135, 11, 0.85);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #717171;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #bbb;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

.vidcards{
	width: 100%;
}

.vidcards-link img{
	width: 100%;
}

/*Cards and games Above Layer*/

.above-games{
	width: 95%;
	margin: auto;
}

.videocards{
	float: left;
	width: 56%;
	margin-left: 1%;
}

.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: 100%;
	clear: both;
	padding: 10px;
}

.ads-size{
	width: 80%;
	margin: auto;
	background-color: #111;
}

/*
.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;
	}
  }
  
