/**
 * ----------------------------------------
 * My Games
 * ----------------------------------------
 */
.grid_games {
	margin-top: 70px;
	clear: both;
	display: grid;
	/* change 1 to 3 for more spots on each row*/
	grid-template-columns: repeat(1, 400px);
	gap: 1rem;
	width: 90%;
	justify-items: center;
	align-items: center;
	justify-content: center;
	position: relative;
}

.grid_games img {
	border-radius: 8%;
	width: 100%;
	transform: translate3d(0px, 0px, 1px);
	z-index: 600;
}

.grid_games a {
	transition: transform .5s ease;
}

.logo_wrapper {
	position: relative;
}

.gridchild_background {
	content: "";
	position: absolute;
	inset: -15px;
	background: rgb(255,217,28);
	background: -moz-linear-gradient(90deg, rgba(255,217,28,1) 0%, rgba(28,255,255,1) 50%, rgba(255,28,194,1) 100%);
	background: -webkit-linear-gradient(90deg, rgba(255,217,28,1) 0%, rgba(28,255,255,1) 50%, rgba(255,28,194,1) 100%);
	background: linear-gradient(90deg, rgba(255,217,28,1) 0%, rgba(28,255,255,1) 50%, rgba(255,28,194,1) 100%);
	filter: blur(20px);
	/* transform: translate3d(0px, 0px, -1px); */
	border-radius: 0px 0px 50px 50px;
	z-index: 0;
	animation: flicker_navbar 2.0s linear infinite;
	/* transform: scale(0.95); */
	transition: opacity 0.3s ease;
	opacity: 0;
}

.grid_games a:hover {
	transform: scale(1.1);
	cursor: url(../cursor/cursor_vibrant_pointer.png) 12 0, pointer !important;
	z-index: 2;
}

.grid_games a:hover .gridchild_background {
	opacity: 1;
	z-index: -5;
}

/* I can't be bothered to use find the correct way*/
.gridchild01 {
	animation: roll-in-left 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000);
	position: relative;
	z-index: 0;
}

.gridchild02 {
	animation: roll-in-bottom 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000);
}

.gridchild03 {
	animation: roll-in-right 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000);
}

/**
 * ----------------------------------------
 * Responsive
 * ----------------------------------------
 */

 @media screen and (max-width: 1250px) {
	.grid_games {
		/* Should be 2 instead of 1*/
		grid-template-columns: repeat(1, 400px);
	}
 }

 @media screen and (max-width: 850px) {
	.grid_games {
		grid-template-columns: repeat(1, 400px);
	}
 }

 @media screen and (max-width: 780px) {
    /* my games */
	.container_centered_collum {
		margin-top: 190px;
	}

	.grid_games {
		grid-template-columns: repeat(1, 400px);
	}

	.grid_games a {
		width: 70%;
	}
	
	.grid_games a img {
		width: 100%;
	}
	
	.container_centered_collum_low_margin {
		width: 60%;
	}
 }

/**
 * ----------------------------------------
 * Animations
 * ----------------------------------------
 */
@keyframes roll-in-left {
  0% {
    transform: translateX(-800px) rotate(-540deg);
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}

@keyframes roll-in-bottom {
  0% {
    transform: translateY(800px) rotate(540deg);
    opacity: 0;
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}

@keyframes roll-in-right {
  0% {
    transform: translateX(800px) rotate(540deg);
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}