/* Game lobby cards — from travis-frontend-main/src/assets/css/casino.css */
@import url('https://fonts.googleapis.com/css2?family=Aladin&display=swap');

#contenthere,
#provider-games-section {
	--white: #ffffff;
	--highlighter: #d26ad7;
	--overlayColor: rgb(41 11 62 / 69%);
	--secondaryBtn: linear-gradient(277.73deg, #964096 12.09%, #cc7ccc 84.01%);
	--secondaryBtnHover: linear-gradient(277.73deg, #cc7ccc 12.09%, #964096 84.01%);
}

#contenthere .casino-provider-browse__grid,
#provider-games-section .casino-provider-browse__grid {
	display: flex;
	flex-wrap: wrap;
	overflow: visible;
	margin-right: -12px;
	margin-left: -12px;
	margin-bottom: 10px;
	clear: both;
}

#contenthere .casino-provider-browse__grid .col-6,
#provider-games-section .casino-provider-browse__grid .col-6 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 12px;
	padding-left: 12px;
	flex: 0 0 50%;
	max-width: 50%;
}

@media (min-width: 768px) {
	#contenthere .casino-provider-browse__grid .col-md-4,
	#provider-games-section .casino-provider-browse__grid .col-md-4 {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
}

@media (min-width: 992px) {
	#contenthere .casino-provider-browse__grid .col-lg-2,
	#provider-games-section .casino-provider-browse__grid .col-lg-2 {
		flex: 0 0 16.666667%;
		max-width: 16.666667%;
	}
}

#contenthere .my-2,
#provider-games-section .my-2 {
	margin-top: 8px;
	margin-bottom: 8px;
}

#contenthere .game-card,
#provider-games-section .game-card {
	border-radius: 10px;
	overflow: hidden;
	transition: 0.3s all;
	cursor: pointer;
	background: rgb(255 255 255 / 14%);
	backdrop-filter: blur(60px);
	border: 1px solid var(--highlighter);
	height: 100%;
}

#contenthere .game-img-wrap,
#provider-games-section .game-img-wrap {
	position: relative;
}

#contenthere .game-img-squre,
#provider-games-section .game-img-squre {
	padding-top: 100%;
}

#contenthere .game-card img,
#provider-games-section .game-card img,
#contenthere .game-img-wrap .casino__img,
#provider-games-section .game-img-wrap .casino__img {
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	bottom: 0;
	height: 100%;
	position: absolute;
	transition: 0.3s all;
	object-fit: cover;
	object-position: center;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

#contenthere .game-img-wrap:hover > img,
#contenthere .game-img-wrap:hover > .casino__img,
#provider-games-section .game-img-wrap:hover > img,
#provider-games-section .game-img-wrap:hover > .casino__img {
	transform: scale(1.3) rotate(20deg);
	transition: all 300ms ease-in-out;
}

#contenthere .overlay-box img,
#provider-games-section .overlay-box img {
	width: 60px;
	height: 60px;
	margin: 0 auto 20px;
	position: static;
}

#contenthere .overlay-box,
#provider-games-section .overlay-box {
	position: absolute;
	width: 100%;
	height: 100%;
	background: var(--overlayColor);
	top: 0;
	text-align: center;
	display: none;
	align-items: center;
	justify-content: end;
	flex-flow: column;
	border-radius: 10px;
	opacity: 0;
	transition: 0.3s all;
	z-index: 2;
}

#contenthere .game-card:hover .overlay-box,
#provider-games-section .game-card:hover .overlay-box {
	display: flex;
	opacity: 1;
	transition: 0.3s all;
}

#contenthere .overlay-box h4,
#provider-games-section .overlay-box h4 {
	font-family: 'Aladin', cursive;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	color: var(--white);
	font-weight: 400;
	font-size: 28px;
	width: 100%;
	top: 30px;
	position: absolute;
	left: 0;
	margin: 0;
	padding: 0 10px;
	box-sizing: border-box;
	animation-name: lobby-card-text-bounce;
	animation-duration: 0.5s;
	animation-timing-function: ease-in-out;
}

#contenthere .overlay-box__provider,
#provider-games-section .overlay-box__provider {
	position: absolute;
	top: 64px;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0 10px;
	color: #ff5ec8;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: lowercase;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

@keyframes lobby-card-text-bounce {
	0% {
		top: 0%;
		left: 0%;
	}

	100% {
		top: 30px;
		left: 0%;
	}
}

#contenthere .overlay-box .btn-secondary,
#provider-games-section .overlay-box .btn-secondary {
	background: var(--secondaryBtn);
	font-family: 'Aladin', cursive;
	font-weight: 400;
	font-size: 16px;
	line-height: 20px;
	margin-bottom: 30px;
	border: none;
	color: #fff;
	cursor: pointer;
}

#contenthere .overlay-box .btn-secondary:hover,
#provider-games-section .overlay-box .btn-secondary:hover {
	background: var(--secondaryBtnHover);
	box-shadow: none;
	color: #fff;
}

@media screen and (max-width: 991.98px) {
	#contenthere .overlay-box h4,
	#provider-games-section .overlay-box h4 {
		top: 30px;
		font-size: 16px;
	}

	#contenthere .overlay-box__provider,
	#provider-games-section .overlay-box__provider {
		top: 52px;
		font-size: 12px;
	}

	#contenthere .overlay-box .btn-secondary,
	#provider-games-section .overlay-box .btn-secondary {
		margin-bottom: 8px;
	}

	#contenthere .game-card,
	#provider-games-section .game-card {
		margin: 10px 0;
	}
}

@media (min-width: 1250px) and (max-width: 1599.98px) {
	#contenthere .overlay-box .btn-secondary,
	#provider-games-section .overlay-box .btn-secondary {
		margin-bottom: 15px !important;
	}
}

@media screen and (max-width: 399.98px) {
	#contenthere .overlay-box .btn-secondary,
	#provider-games-section .overlay-box .btn-secondary {
		font-size: 14px;
		line-height: 16px;
		padding: 4px 24px;
	}
}
