img {
	max-width: 100%;
}
body {
	font-family: 'Roboto', sans-serif;
	font-family: 'Rubik', sans-serif;
}
canvas {
	display: block;
	/* vertical-align: bottom; */
}
.full-screen {
	height: 100vh;
	width: 100vw;
	overflow: hidden;
}
.main {
	background-color: rgba(255,255,255,0.1);
	height: 60vh;
}
#content {
	margin-top: 5vh;
}
#logo {
	margin-top: 5vh;
}
#logo img {
	width: 70%;
}
#logo h1 {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 90px;
	margin-top: 15px;
	color: #d73e5d;
}
.background-wrapper {
	overflow: hidden;
	position: fixed;
	left: 0;
	right: 0;
	bottom: -20vh;
	display: none;
}
.background {
	background-image: url('../images/bg/BG.png');
	height: 100vh;
	width: 999999999999999999vw;
	animation: slide 60s linear infinite;
	background-size: 85vw;
	background-repeat: repeat no-repeat;
	background-position: bottom;
}
@keyframes slide {
	0% {
	    transform: translate3d(0, 0, 0);
	}
	100% {
	  	transform: translate3d(-1692px, 0, 0); /* The image width */
	}
}
#content h1, #particles h1 {
	font-size: 5rem;
	color: #023A5B;
	text-align: center;
	text-transform: uppercase;
	font-style: italic;
	font-weight: 600;
	position: relative;
	height: 100px;
}
#particles h1 {
	margin-top: 1rem;
}
#content h1 .sub-title {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: none;
}
.teams {
	padding: 0;
	list-style: none;
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}
.teams li {
	display: inline-block;
	width: 25%;
	margin: 30px 15px;
	position: relative;
	
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-o-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
	
	-webkit-transition: transform 2s ease;
	-moz-transition: transform 2s ease;
	-o-transition: transform 2s ease;
	-ms-transition: transform 2s ease;
	transition: transform 2s ease;
}
.teams li.reveal {
	-webkit-transform: rotateY(720deg);
	-moz-transform: rotateY(720deg);
	-o-transform: rotateY(720deg);
	-ms-transform: rotateY(720deg);
	transform: rotateY(720deg);
}
.teams li > div {
	border: 5px solid #023a5b;
	background-color: #fff;
	border-radius: 25px;
	height: 15rem;
	font-size: 10rem;
	color: #023a5b;
	box-shadow: 0 0 15px 0 #023a5b75;

	-webkit-transition: opacity 2s ease 0.4s;
	-moz-transition: opacity 2s ease 0.4s;
	-o-transition: opacity 2s ease 0.4s;
	-ms-transition: opacity 2s ease 0.4s;
	transition: opacity 2s ease 0.4s;
	
	-webkit-transform: skew(-12deg,0);
	-moz-transform: skew(-12deg,0);
	-o-transform: skew(-12deg,0);
	-ms-transform: skew(-12deg,0);
	transform: skew(-12deg,0);
}
.teams li .front {
	opacity: 1;
}
.teams li > div.back {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
}
.teams li > div.back span {
	font-size: 3rem;
	line-height: 1;
	position: absolute;
	bottom: 14px;
	left: 0;
	right: 0;
	font-weight: 600;
}
.teams li > div.back span.free {
	position: absolute;
	bottom: 0;
	background-color: red;
	color: #fff;
	text-transform: uppercase;
	font-size: 1rem;
	width: 90px;
	left: 0;
	right: 0;
	margin: auto;
	border-radius: 5px 5px 0 0;
	padding: 3px 0 0;
}
.teams li > div.back img {
    vertical-align: top;
    object-fit: contain;
    object-position: center;
    height: 60%;
    width: 60%;
    transform: skewX(10deg);
    margin: 10px auto 0;
}
.teams li.reveal .front {
	opacity: 0;
}
.teams li.reveal .back {
	opacity: 1;
}
.teams.unknown .front {
	animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
	0% {
	  box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
	}
	100% {
	  box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
	}
}
.head-info, .team-wrap, .timer {
	text-align: center;
}
.head-info > *, .team-wrap > * {
	display: inline-block;
	vertical-align: middle;
}
.head-info h2, .head-info h3 {
	background-color: #023a5b;
	color: #fff;
	padding: 5px 15px;
	font-size: 2rem;
	margin-right: 15px;
	text-transform: uppercase;
	font-style: italic;
	font-weight: 600;
}
.head-info h3 {
	background: none;
	border: 3px solid #023a5b;
	color: #023a5b;
	padding: 2px 15px;
	position: relative;
}
.head-info h3 span {
	color: #fff;
	background-color: #023a5b;
	position: absolute;
	top: -3px;
	right: -50px;
	bottom: -3px;
	padding: 5px 15px;
}
.team-wrap {
	margin-top: 1rem;
}
.team-wrap .team-logo {
	width: 200px;
}
.pass .team-wrap .team-logo {
	width: 100%;
	margin-top: 5rem;
}
.team-logo.category-thumb {
	width: 80%;
}
.team-logo img {
	filter: drop-shadow(5px 5px 5px #023A5B);
	max-height: 31vh;
}
.pass .team-logo img {
	max-height: 37vh;
}
.team-wrap .text {
	color: #023a5b;
	font-size: 6rem;
	font-weight: 600;
	font-style: italic;
	text-transform: uppercase;
	margin: 0 0 0 25px;
	position: relative;
	top: 2rem;
	text-shadow: 0px 0px 5px #fff, 0 0 15px #023A5B;
}
.pass .team-wrap .text {
	font-size: 8rem;
	margin: 0;
}
.team-wrap .text em {
	position: relative;
}
.team-wrap .text em:after {
	content: "...";
	position: absolute;
	left: 0;
	bottom: -15px;
	animation: elipsis-animation 1.5s infinite;
}
@keyframes elipsis-animation {
	0% {
		content: "...";
	}
	33% {
		content: ".";
	}
	66% {
		content: "..";
	}
	100% {
		content: "...";
	}
}
.timer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.timer ul li {
	display: inline-block;
	width: 9rem;
	margin: 30px 15px;
	position: relative;
	border: 8px solid #023a5b;
	background-color: #fff;
	border-radius: 25px;
	height: 11rem;
	font-size: 7rem;
	color: #023a5b;
	box-shadow: 0 0 15px 0 #023a5b75;
	-webkit-transform: skew(-12deg,0);
	-moz-transform: skew(-12deg,0);
	-o-transform: skew(-12deg,0);
	-ms-transform: skew(-12deg,0);
	transform: skew(-12deg,0);
	font-weight: 600;
}
.timer span {
	background-color: #023a5b;
	color: #fff;
	text-transform: uppercase;
	padding: 5px 10px;
	font-size: 2rem;
	font-weight: 500;
	border-radius: 5px;
}
.player-image {
	max-width: 250px;
	background-color: #fff;
	border: 5px solid #023a5b;
	border-radius: 15px;
	transform: skewX(-10deg);
	margin-left: 25px;
	position: relative;
	overflow: hidden;
}
.player-image::after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('../images/drafted.png');
	content: "";
	top: 0;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom;
}
.player-image img {
	transform: skewX(10deg);
}
.player-image img:not(.country):not(.icon-plane) {
	height: 120px;
}
.team-wrap.drafted .player-image img {
	height: 200px;
}
.player-name {
	text-align: center;
	text-transform: uppercase;
	color: #023a5b;
	font-size: 5rem;
	font-weight: 600;
	text-shadow: 2px 2px 0 #fff;
	margin-top: 1rem;
}
#particles-js {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	background-image: url("");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
}
#particles > .container-fluid {
	position: relative;
}
.team-pool {
	margin: 25px auto 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.team-pool.mix-team-pool {
	margin: 0;
}
.team-pool > li {
	display: inline-block;
	width: 15%;
	margin: 0 5px;
	background-color: #023a5b;
	color: #fff;
	border-radius: 22px;
	padding: 5px 5px 0px;
	vertical-align: top;
	transition: all 500ms;
	text-align: left;
}
.team-pool.mix-team-pool .player-image.mix-pool {
	margin: 1px;
	width: 19%;
}
.team-pool > li .head {
	background-color: #fff;
	color: #023a5b;
	border-radius: 22px;
	position: relative;
	border: 3px solid #023a5b;
	margin: -3px -3px 2px -3px;
}
.team-pool > li .head > * {
	display: inline-block;
	vertical-align: middle;
}
.team-pool > li .head > .free {
	position: absolute;
	background-color: red;
	bottom: 0;
	left: 0;
	padding: 3px 10px 0;
	font-size: 0.6rem;
	font-weight: 900;
	text-transform: uppercase;
	right: 0;
	width: 67px;
	text-align: center;
	margin: auto;
	border-radius: 5px 5px 0 0;
}
.head .head-logo {
	width: 40%;
}
.head strong {
	width: 22%;
	text-align: center;
}
.head .rank {
	background-color: #023a5b;
	color: #fff;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	height: 40px;
	width: 35px;
	text-align: center;
	margin: auto;
	line-height: 1.8;
	font-weight: 600;
	border-radius: 7px 0 0 7px;
	font-size: 1.5rem;
}
.team-pool > li .players {
	margin: 0;
	padding: 0;
	list-style: none;
}
.team-pool > li .players li {
	padding-left: 30px;
	position: relative;
	text-transform: uppercase;
	margin: 7px auto;
	font-size: 0.9rem;
}
.team-pool > li .players li span {
	background-image: url('../images/all-rounder.png');
	background-size: 20px;
	display: inline-block;
	width: 30px;
	height: 30px;
	vertical-align: top;
	background-repeat: no-repeat;
	position: absolute;
	left: 5px;
	top: 0;
}
.team-pool > li .players li .batters {
	background-image: url('../images/batter.png');
}
.team-pool > li .players li .bowler {
	background-image: url('../images/bowler.png');
}
.team-pool > li.active {
	width: 17%;
	background-color: #fff;
	color: #023a5b;
	border: 3px solid #023a5b;
	/* transform: scale(1.03); */
}
.team-pool > li.active .head {
	background-color: rgb(2,58,91);
	background-image: linear-gradient(180deg, rgba(2,58,91,1) 0%, rgba(1,120,169,1) 50%, rgba(0,182,248,1) 100%);
	background-size: cover;
	color: #fff;
	margin: -8px -8px 0 -8px;
}
.team-pool > li.active .rank {
	background-color: #fff;
	color: #023a5b;
}
.head-logo img {
	width: 75px;
	height: 65px;
	object-fit: contain;
	object-position: center;
	display: block;
	margin: 5px auto;
}
.team-pool .player-image {
	width: 20%;
	margin: 1rem 1rem 0rem;
}
.team-pool .player-image::after {
	content: none;
}
.team-pool .player-image.mix-pool {
	border-width: 3px;
	line-height: 1.8;
}
.player-image .list-name {
	display: block;
	text-transform: uppercase;
	font-weight: 500;
	color: #023a5b;
	height: 25px;
	font-size: 0.9rem;
}
.team-pool.mix-team-pool .player-image.mix-pool .list-name {
	height: 20px;
	font-size: 0.8rem;
	line-height: 1.2rem;
}
.player-image .country, .player-image .icon-plane {
	position: absolute;
	top: 10px;
	right: 5px;
}
.player-image .icon-plane {
	right: 32px;
	padding: 2px;
}
.extra {
	position: absolute;
	top: 4em;
	right: 0;
	background-color: #023a5b;
	color: #fff;
	padding: 0 3px 0 5px;
	border-radius: 5px 0 0 5px;
}
.team-logo.category-thumb img {
	max-height: 65vh;
}
.free-hit-2 {
	position: absolute;
	bottom: 0;
	left: 0;
	list-style: none;
	text-align: center;
	text-transform: uppercase;
	font-weight: 600;
	background-color: red;
	color: #fff;
	padding: 5px 15px;
	font-size: 2rem;
	width: 200px;
	right: 0;
	margin: auto;
	border-radius: 10px 10px 0 0;
}
.free-hit {
	list-style: none;
	margin: 0;
	padding: 0;
}
.free-hit li {
	position: absolute;
	top: 32vh;
	left: 5.5vw;
	line-height: 1;
	font-size: 9rem;
	text-transform: uppercase;
	font-weight: 900;
	background-color: red;
	color: #fff;
	padding: 0 1rem;
	transform: rotate(0);
	-webkit-animation:fadeIn 0.6s linear;
	animation:fadeIn 0.6s linear;
	-webkit-animation-fill-mode:both;
	animation-fill-mode:both;
}
.free-hit li:nth-child(1) {
	top: 42vh;
	left: 10vw;
	font-size: 8rem;
	transform: rotate(0deg);
	-webkit-animation-delay: 0.1s;
	animation-delay: 0.1s;
}
.free-hit li:nth-child(2) {
	top: 16vh;
	left: -8vw;
	font-size: 6rem;
	transform: rotate(-45deg);
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
}
.free-hit li:nth-child(3) {
	top: 29vh;
	left: 45vw;
	font-size: 5rem;
	transform: rotate(30deg);
	-webkit-animation-delay:0.3s;
	animation-delay:0.3s;
}
.free-hit li:nth-child(4) {
	top: 75vh;
	left: 0vw;
	font-size: 7rem;
	transform: rotate(20deg);
	-webkit-animation-delay:0.4s;
	animation-delay:0.4s;
}
.free-hit li:nth-child(5) {
	top: 65vh;
	left: 10vw;
	font-size: 9rem;
	transform: rotate(-20deg);
	-webkit-animation-delay: 0.5s;
	animation-delay: 0.5s;
}
.free-hit li:nth-child(6) {
	top: 30vh;
	left: 45vw;
	font-size: 5rem;
	transform: rotate(85deg);
	-webkit-animation-delay: 0.6s;
	animation-delay: 0.6s;
}
.free-hit li:nth-child(7) {
	top: 28vh;
	left: -18vw;
	font-size: 14rem;
	transform: rotate(-30deg);
	-webkit-animation-delay: 0.7s;
	animation-delay: 0.7s;
	right: -12rem;
}
.free-hit li:nth-child(8) {
	top: 30vh;
	left: -20vw;
	font-size: 14rem;
	transform: rotate(45deg);
	-webkit-animation-delay: 0.8s;
	animation-delay: 0.8s;
	right: -15rem;
}
.free-hit li:nth-child(9) {
	top: 27vh;
	left: -5vw;
	font-size: 11rem;
	transform: rotate(7deg);
	-webkit-animation-delay: 0.9s;
	animation-delay: 0.9s;
	right: -20rem;
}
@keyframes fadeIn  {
	0% {
	   opacity:0;
	}
	25% {
	   opacity:1;
	}
	50% {
	   opacity:0;
	}
	75% {
	   opacity:1;
	}
	100% {
	   opacity:1;
	}
}
.mix-pool .category-name {
	font-size: 1.5rem;
	margin-left: 1rem;
	text-transform: uppercase;
	font-weight: 600;
	color: #023a5b;
	margin-top: 1rem;
}
