@font-face {
	font-family: "Headings";
	src: url("fonts/ZeroCool.otf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;}
@font-face {
	font-family: "Text";
	src: url("fonts/Urbanist-Regular.ttf") format("opentype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;}
:root {
	--primary-color: #8a33db; 
	--secondary-color: #FFC900; 
	--secondary-color: #d9ff00;
	--CTA-color: #3330ff;
	--CTA-hover: #3744ff;
	--background-color: #2d00f3;
	--text-color: #ffffff; 

    --gap-default: 16px;
	--gap-medium: 32px;
	--header-height: 80px;
	--frame-size: 3px;
}
#widget{
	border-radius: 0 !important;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;}

html {
	background-color: rgb(6, 1, 32);
	scroll-behavior: smooth;
}
body {
	font-family: "Headings", sans-serif;
	font-optical-sizing: auto;
	
}
main{
	display: flex;
	flex-direction: column;
	gap:150px;
}
a {
	font-size: 1.2rem;
	color: var(--text-color);
	color: white;
	/* text-shadow: 2px 2px #000000; */
	text-decoration: none;
}

h1, h2 {
	font-size: 5rem;
	color: #fff;
	line-height: 90%;
	/* text-shadow: 5px 5px #000000; */
}

h1 span{color: var(--secondary-color);}
section h1 {color: var(--secondary-color);
text-align: center;}

h2 {
	font-size: 3rem;
	margin-bottom: 0.5rem;
	color: var(--secondary-color);
}

h3 {
	font-family: Text;
	color: rgba(179, 255, 0, 0.568);
	/* color: var(--CTA-hover); */
}
	
p {
	color: #fff;
	font-family: Text;
	font-size: 1.25rem;
	margin: 0;
	align-self: start;
	line-height: 130%;
	}
.ch-max{
	max-width: 32ch;
}
section {
	margin: auto;
	/* margin-bottom: 4rem; */
	/* max-width: 1600px; */
	justify-content: center;

}

#payback-protocol{
	width: 100%;
	/* max-width: 100%; */
	/* background-image: linear-gradient(60deg, rgb(22 86 160 / 0.2) 20%,rgb(12 41 75 / 0.2)); */
}
.pink{color: #ff4bf0;}

/* ------------------------Hero section */
.hero {
	width: 1600px;
	margin: auto;
	height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.hero-content {
	color: var(--text-color);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding: 2rem;
	max-width: 800px;
}
.hero-content p{
	max-width: 40ch;
}

.rive-container{
	display: flex;
	justify-content: center; /* Centers horizontally */
  	align-items: center; /* Centers vertically */
	height: 100%;
}

.some-icons{
	justify-content: center;
	margin-bottom: 20px;
	color: white;
}
.some-icons img {
	
	filter: opacity(50%);
	height: 30px;}

.some-icons img:hover{
	filter: opacity(100%);
}

/* RIVE ----------------------------- */
#headerLogoAnimation{height: 100%;}
#k-t-animation-wrapper{display: inline;}

#riveKT{
	height: 5rem;
	margin: 0px -6px -12px -6px;
}

#payback, #sweeper{
	/* margin-top: -200px; */
	margin-bottom: -4px;
	width: 100%;

}
/* #payback-background{
	gap: 0;
	width: 100%;
	/* background-image: linear-gradient(-45deg, rgb(22 86 160 / 0.2),rgba(0, 109, 173, 0.2)); */
} */
#sweeper{
	width: 100%;
}
.game-anim-wrapper{
	pointer-events: none;
	position: absolute;
	bottom: 0;
	width: 100%;
}
.game-logo-wrapper{
	width: 100%;
	margin: auto;
	z-index: 1;
	padding-top: 100px;
	margin-top: -200px;
}

.button {
	font-family: Text;
	display: inline-block;
	padding: 0.75rem 1.25rem;
	/* border-radius: 1rem; */
	text-decoration: none;

	transition: all 0.3s ease;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
	border: #4a47f3cc 2px solid;
}

.button:hover{
	box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.5);
	background: var(--CTA-hover);
	transform: translateY(-3px);
}

.cta{
	width: fit-content;
	background: var(--CTA-color);
}

/* navigation bar -------------------------------------------------- */

#logo-nav {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 5px 15px 5px 15px;
}

.main-nav {
	position: fixed;

	top: 0; 
	/* background: rgba(0, 0, 0, 0);
	backdrop-filter: blur(20px); */
	background: black;
	display: flex;
	justify-content: end;
	gap: 2rem;
	padding: 1rem 1rem;
	z-index: 100;
	height: 65px;
	width: 100%;
}

.main-nav a {
	font-family: Text;
	color: white;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease-out;
}

.main-nav a:hover {
	color: var(--secondary-color);
}
.gradient-pattern {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: -3;
	background-image: linear-gradient(0deg, rgb(255 0 0 / 0) 20%, var(--background-color));
}

/* ----------------- GRID FLEX IMAGES -----------------*/
.grid{
	display: grid;
	gap: 16px;}
.grid-50-50 {
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
.grid-left-larger{
	grid-template-columns: 4fr 2fr;
	gap: 0px;
}
.grid-right-larger{
	grid-template-columns: 2fr 4fr;
	gap: 0px;
}

 .hflex{
	display: flex;
	flex-direction: row;
	gap: var(--gap-default);
}
 .vflex{
	display: flex;
	flex-direction: column;
	gap: var(--gap-default);
}
.flex-centered{	
	justify-content: center; 
	width: 100%;
}
.flex-spaced{	justify-content: space-between;}
.flex-gap-s{	gap:	0px;}
.flex-gap-m{	gap: 	var(--gap-medium);}
.flex-wrap{ 
	gap: 5px;
	flex-wrap: wrap-reverse;}
.wrapper-image{	overflow: hidden;}
.wrapped-image{
	object-fit: cover;
	width:100%;
	min-width: 100%;
	min-height: 100%;
}
.full-width{
	width: 100%;
}

.info-text{
	color: #e0f3ffe3;
}
.rounded{
	/* overflow: hidden;
	border-radius: 10px; */
	box-shadow: 0px 0px 64px  #2d00f363;
	/* box-shadow: 10px 10px 0px 10px  var(--background-color); */
	/* border-right: #d9ff00 20px solid;
	border-bottom: #2600ff 20px solid; */
}
.content-width{
	max-width: 1600px;
	margin: auto;
}
.metadata{
	background: rgb(53, 49, 255);
	color: rgb(209, 233, 255);
	padding: 6px 12px 6px 12px;
	/* border-radius: 4px; */
	width: fit-content;
	font-size: 1rem;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
	flex-basis: auto;
}
.color1{
	background: rgb(34, 110, 172);
}
.color2{
	background: rgb(112, 92, 49);
}
.outer-background {
	box-sizing: border-box;
	min-height: 500px;
	
	background-image: linear-gradient(-60deg, rgb(22, 86, 160) 20%,rgb(12, 41, 75));
	/* background-image: linear-gradient(-90deg, rgb(255 0 0 / 0) 20%, var(--background-color)); */
	/* border-radius: 30px; */	
}

.game-info{
	
	
	margin-left: auto;
	margin-right: auto;
	padding: 32px;
	
}
#payback-protocol{
	border-top: var(--frame-size) solid #9ff1ff;
	border-right: var(--frame-size) solid #3cb7ff;
	border-bottom: var(--frame-size) solid #53acffbb;
	border-left: var(--frame-size) solid #3cb7ff;
}
.payback-info{
	background-image: linear-gradient(-60deg, rgb(22, 86, 160) 20%,rgb(12, 41, 75));
}
/* .sweeper-info{ */
#creep-sweeper{
	border-top: var(--frame-size) solid #dfa833;
	border-right: var(--frame-size) solid #9b6031;
	border-bottom: var(--frame-size) solid #ad6f35bb;
	border-left: var(--frame-size) solid #c58e4f;
}
.sweeper-info, .outer-background:has(.sweeper-info)  {
	background-image: linear-gradient(60deg, rgb(65, 38, 18) 20%,rgb(112, 76, 8));
}

.animation-background{
	background-image: url('../images/payback/animation-background.jpg');
	
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;
	
}
.sweeper-bg{
	background-image: url("../images/sweeper/sweeper-anim-background.jpg");
}
/* Footer */
footer {
	/* background: var(--primary-color); */
	/* background-image: linear-gradient(180deg, rgb(255 0 0 / 0) 20%, var(--background-color)); */
	text-align: center;
	min-height: 400px;
	display: flex;
	justify-content: center;
	/* background: var(--background-color); */
	flex-direction: column;
}footer p{
	color: rgba(183, 228, 255, 0.6);
	width: 100%;
	padding: 1rem 0;
	text-align: center;
	
}
.footer-content{
	width: 100%;
	height: 100%;
}

/* SLIDESHOW ----------------------------- */

.game-hero-slider {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	/* padding: 32px; */
}

/* Big image */
.game-hero-main {
	position: relative;
	overflow: hidden;
	background: #05060a;
}

.game-hero-main img {
	width: 100%;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

/* Simple fade / zoom when image changes */
.game-hero-main img.is-changing {
	opacity: 0;
	transform: scale(1.02);
}

/* Optional caption */
.game-hero-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	color: #f4f4f4;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.75),
		transparent
	);
}

/* Thumbnails row */
.game-hero-thumbs {
	display: flex;
	gap: 1rem;
	align-items: stretch;
	/* background-image: linear-gradient(60deg, rgb(22, 86, 160) 20%,rgb(12, 41, 75));
	padding: 1rem; */
}

.game-hero-thumb {
	flex-grow: 1;
	border: none;
	padding: 0;
	background: transparent;

	cursor: pointer;
	/* flex: 0 0 120px; */
	position: relative;
}

.game-hero-thumb img {
	width: 100%;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	filter: brightness(0.5);
	transition: transform 0.2s ease-out, filter 0.2s ease-out;
}

/* Highlight active thumb */
.game-hero-thumb.is-active img {
	filter: brightness(1);
	outline: 4px solid #ffffff;
}

/* Hover effect */
.game-hero-thumb:hover img {
	transform: scale(1.02);
	filter: brightness(0.9);
}

.about-person{
	width: 400px;
	background-image: linear-gradient(180deg, rgb(255 0 0 / 0) 20%, var(--background-color));
	padding: 32px 32px 32px 32px;

	position: relative;
}
.about-person img{
	width: 100%;
}

/* ------------------------------------ */
@media (max-width: 1919px) {
	.hero{
		width: 1200px;
		height: 800px;
	}
	#logo-animation-wrapper{
		width: 40%;
	}
}

@media (max-width: 1279px) {
	h1{
		font-size: 4rem;
	}
	#riveKT{
		height: 4rem;
		margin: 0px -4px -10px -4px;
	}
	.hero{
		width: 1000px;
		height: 800px;
		padding-bottom: 100px;
	}
	.hero-content{
		max-width: auto;	
	}
	#logo-animation-wrapper{
		width: 40%;
	}
	.grid-left-larger, .grid-right-larger{
		grid-template-columns: 1fr;
	}
	.grid-last-vertical{
		order: 1;
	}
	.content-width{
		max-width: 600px;
		
	}
	.game-anim-wrapper{
		position: relative;
	}
}

@media (max-width: 989px) {

	.hero{
		width: 700px;
		height: auto;
		flex-direction: column;
	}
	.hero-content{
		padding-top: 0;
	}
	#payback, #sweeper{
		margin-top: -80px;
	}
	.grid-50-50 {
		grid-template-columns: 1fr;}
	.grid-30-70{
		grid-template-columns: 1fr;
	}
	

	h1{
		font-size: 4rem;
	}
	#riveKT{
		height: 4rem;
	}
	#logo-animation-wrapper{
		width: 100%;
	}
	#headerLogoAnimation{
		width: 80%;
	}
}

@media (max-width: 768px) {
	.hero{
		width: 100%;
	}
	.grid-50-50{
		grid-template-columns: 1fr;
	}	
	h1{
		font-size: 3rem;
	}
	#riveKT{
		height: 3rem;
		margin: 0px -4px -8px -4px;
	}
	#headerLogoAnimation{
		width: 80%;
	}
	#logo-animation-wrapper{
		width: 100%;
	}
}
@media (max-width: 480px) {
	.main-nav{
		display: none;
	}
	.hero-content{
		padding: 1.5rem;
		padding-top: 0;

	}
	.game-hero-thumbs, .game-hero-slider {
		gap: 0.5rem;
	}
	.about-person{
		width: 100%;
	}
	#payback-protocol, #creep-sweeper{
		border: none;
	}
}



@keyframes fadeInUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.fadeInUp-animation {
  animation: 1.5s fadeInUp;
}