@import url("https://fonts.googleapis.com/css?family=Share+Tech+Mono&display=swap");
@import url("https://fonts.googleapis.com/css?family=Saira+Stencil+One&display=swap");

body {
	position: relative;
	display: grid;
	margin: 0;
	place-items: center center;
	color: white;
	font-family: "Share Tech Mono", monospace;
	background-size: cover!important;
	background: #202f15 no-repeat fixed;
}

#warcradle-template-main-body {
	position: relative;
	width: 100%;
	height: auto;
}

.paper {
	max-width: 620px;
	background-color: #feffe0;
	color: black;
	padding: 20px;
	text-align: center;
	background-image: url(/assets/landingPages/fogAndFrictionLanding/paper.jpg);
	border-radius: 2px;
	box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.8);
	z-index: 6;
	margin: 24px auto;
}

.logo {
	max-width: 300px;
	opacity: 0.9;
}

h1 {
	font-size: 40px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: -3px;
	background: url(/assets/landingPages/fogAndFrictionLanding/rough-texture.png) no-repeat center center;
	background-size: cover;
	color: #fff;
	text-align: center;
	/* -webkit-background-clip clips the background of the element to the text */
	-webkit-text-fill-color: transparent; /* overrides the white text color in webkit browsers */
	-webkit-background-clip: text;
}

.btn {
	font-weight: 300;
	text-decoration: none;
	font-family: "Saira Stencil One", cursive;
	padding: 1px 20px !important;
	border: 4px solid;
	border-radius: 5px;
	text-shadow: 1px 1px #fff;
}

.btn-black {
	opacity: 0.7 !important;
	font-size: 1.3rem;
	color: black;
	border-color: black;
}

.btn-red {
	color: red;
	font-size: 30px;
	opacity: 0.8;
	border-color: red;
}

.btn:hover {
	opacity: 1;
}

.flames {
	position: absolute;
	bottom: 0;
	right: -90px;
	background-image: url(/assets/landingPages/fogAndFrictionLanding/flames.png);
	background-repeat: no-repeat;
	background-size: 100%;
	height: 1200px;
	width: 750px;
	background-position: 100% 104%;
	opacity: 0.8;
	z-index: 3;
}

.card1 {
	position: absolute;
	bottom: 0;
	right: -30px;
	background-image: url(/assets/landingPages/fogAndFrictionLanding/card1.png);
	background-repeat: no-repeat;
	background-size: contain;
	height: 300px;
	width: 450px;
	background-position: bottom right;
	opacity: 0.7;
	z-index: 4;
}

.card2 {
	position: absolute;
	bottom: 200px;
	right: -30px;
	background-image: url(/assets/landingPages/fogAndFrictionLanding/card2.png);
	background-repeat: no-repeat;
	background-size: contain;
	height: 350px;
	width: 430px;
	background-position: bottom right;
	opacity: 0.6;
	z-index: 3;
}

.card3 {
	position: absolute;
	bottom: 400px;
	right: -30px;
	background-image: url(/assets/landingPages/fogAndFrictionLanding/card3.png);
	background-repeat: no-repeat;
	background-size: contain;
	height: 300px;
	width: 420px;
	background-position: bottom right;
	opacity: 0.7;
	z-index: 2;
}

.fan {
	position: absolute;
	bottom: 0;
	left: 0;
	background-image: url(/assets/landingPages/fogAndFrictionLanding/fan.png);
	background-repeat: no-repeat;
	background-size: contain;
	height: 510px;
	width: 510px;
	background-position: bottom left;
	z-index: 2;
}

main {
	margin-top: 80px;
	padding: 0 20px;
	z-index: 10;
	position: relative;
}

.fog {
	position: relative;
	height: 100vh;
	width: 100%;
	background-color: #000;
}

.fog__container {
	position: absolute;
	height: 100%;
	width: 100%;
	overflow: hidden;
	z-index: 5;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.1);
}

.fog__container,
.card1,
.card2,
.card3,
.flames,
.fan,
.fog__img--second,
.fog__img--first,
.fog__img,
.fog {
	pointer-events: none;
}

.fog__img {
	position: absolute;
	height: 100%;
	width: 300vw;
}

.fog__img--first {
	background: url(/assets/landingPages/fogAndFrictionLanding/fog-1.png) repeat-x center;
	background-size: cover;
	-webkit-animation: marquee 60s linear infinite;
	animation: marquee 60s linear infinite;
}

.fog__img--second {
	background: url(/assets/landingPages/fogAndFrictionLanding/fog-2.png) repeat-x cover center;
	-webkit-animation: marquee 40s linear infinite;
	animation: marquee 40s linear infinite;
}

.fog-and-friction-game-buy-now-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
	max-width: 400px;
	height: 342px;
	border-radius: 8px;
	box-shadow: 0 0 8px #333;
	transition: box-shadow 0.3s;
	text-decoration: none;
	background-image: url(/assets/landingPages/fogAndFrictionLanding/fog-and-friction-game-box.png);
	background-color: white;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: top center;
}

.fog-and-friction-game-buy-now-card:hover {
	box-shadow: 0 0 12px #333;
}

.fog-and-friction-game-buy-now-card button {
	margin-bottom: 29px;
	opacity: 1;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
	background-color: rgba(255, 0, 0, 0.6);
	color: white;
	text-shadow: unset;
}

.fog-and-friction-game-buy-now-card:hover button {
	opacity: 1;
	background-color: red;
	color: white;
	text-shadow: unset;
}

.bottom-button-container button, .bottom-button-container a {
	background-color: unset;
	margin: 10px;
	cursor: pointer;
}

@-webkit-keyframes marquee {
	0% {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	100% {
		-webkit-transform: translate3d(-200vw, 0, 0);
		transform: translate3d(-200vw, 0, 0);
	}
}

@keyframes marquee {
	0% {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
	100% {
		-webkit-transform: translate3d(-200vw, 0, 0);
		transform: translate3d(-200vw, 0, 0);
	}
}

@media only screen and (max-width: 1350px) {
	.card1, .card2 {
		right: 0;
	}
}

@media only screen and (max-width: 1200px) {
	.card1, .card2, .card3, .flames, .fan {
		display: none;
	}

}