* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	/*background: #34255b;*/
	background-image: url("images/background.png");
	background-position: top;
	background-repeat: repeat;
	background-size: cover;
	background-attachment: fixed;
}

@font-face {
  font-family: Pixel;
  src: url(pixel.otf);
}

@font-face {
  font-family: SpaceAge;
  src: url(spaceage.ttf);
}

@font-face {
  font-family: PixelTitle;
  src: url(Pixelbug.otf);
}

h1 {
	font-family: 'SpaceAge', sans-serif;
}

h2, h3 {
	font-family: 'PixelTitle', sans-serif;
	color: #ddd0f8;
}

h2, h3 {
	color: #ca78df;
	text-shadow: 0px -1px 15px rgba(251,144,247,0.25);
}

h2 {
	letter-spacing: 4px;
	font-size: 40px;
	margin: 30px 0;
}

h3 {
	font-size: 24px;
	letter-spacing: 4px;
}

p, a, button {
	color: #ddd0f8;
	font-family: 'Pixel', sans-serif;
	text-decoration: none;
}

p {
	font-size: 20px;
}

section {
	width: 100%;
	padding: 50px 30px;
	max-width: 1400px;
	margin: 0 auto;
	background-image: url("images/Stars2.png");
	background-position: top;
	background-repeat: repeat;
	background-size: cover;
	background-attachment: fixed;
}

button {
	border: none;
	background: white;
}


.center {
	text-align: center;
}

.nav-wrapper {
	display: flex;
	position: fixed;
	top: 0;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	margin: auto;
	width: 100%;
	height: 80px;
	padding: 0 25px;
	z-index: 999;
	background: #4f3e7b;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.logo-container {
	display: flex;
	justify-content: center;
	align-items: center;
}

.logo-container span {
	font-family: Pixel;
	font-size: 40px;
	color: #fff;
}

.logo {
	height: 120px;
}

.nav-tabs {
	display: flex;
	font-size: 21px;
	list-style: none;
	font-family: Pixel;
	color: #fff;
}

.nav-tabs a {
	color: #fff;
	transition-duration: .3s;
}

.nav-tabs a:hover {
	color: #ca78df;
	transition-duration: .3s;
}

.nav-tab:not(:last-child) {
	padding: 10px 25px;
	margin: 0;
	border-right: 1px solid #eee;
}

.nav-tab:last-child {
	padding: 10px 0 0 25px;
}

.nav-tab,
.menu-btn {
	cursor: pointer;
}

.hidden {
	display: none;
}

@media screen and (max-width: 1300px) {
	.nav-container {
		position: fixed;
		display: none;
		overflow-y: auto;
		z-index: -1;
		top: 0;
		right: 0;
		width: 280px;
		height: 100%;
		background: #fff;
		box-shadow: -1px 0 2px rgba(0, 0, 0, 0.2);
	}

	.nav-tabs {
		flex-direction: column;
		align-items: flex-end;
		margin-top: 80px;
		width: 100%;
	}

	.nav-tabs a {
		color: #333;
		font-size: 25px;
	}

	.nav-tab:not(:last-child) {
		padding: 20px 25px;
		margin: 0;
		border-right: unset;
		border-bottom: 1px solid #f5f5f5;
	}

	.nav-tab:last-child {
		padding: 15px 25px;
	}

	.menu-btn {
		position: relative;
		display: block;
		margin: 0;
		width: 40px;
		height: 35px;
		cursor: pointer;
		z-index: 2;
		padding: 10px;
		border-radius: 10px;
	}

	.menu-btn .menu {
		display: block;
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background: white;
	}

	.menu-btn .menu:nth-child(2) {
		margin-top: 4px;
		opacity: 1;
	}

	.menu-btn .menu:nth-child(3) {
		margin-top: 4px;
	}

	#menuToggle:checked + .menu-btn .menu {
		transition: transform 0.2s ease;
	}

	#menuToggle:checked + .menu-btn .menu:nth-child(1) {
		transform: translate3d(0, 6px, 0) rotate(45deg);
		background-color: #333;
	}

	#menuToggle:checked + .menu-btn .menu:nth-child(2) {
		transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
		opacity: 0;
		background-color: #333;
	}

	#menuToggle:checked + .menu-btn .menu:nth-child(3) {
		transform: translate3d(0, -6px, 0) rotate(-45deg);
		background-color: #333;
	}

	#menuToggle:checked ~ .nav-container {
		z-index: 1;
		display: flex;
		animation: menu-slide-left 0.3s ease;
	}

	@keyframes menu-slide-left {
		0% {
			transform: translateX(200px);
		}
		to {
			transform: translateX(0);
		}
	}
}



/* HERO SECTION */

.hero {
	width: 100%;
	max-width: none !important;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}

.hero h1 {
	font-size: 100px;
	letter-spacing: 8px;
	color: white;
	animation: heroAnim ease-in .5s;
	position: relative;
}

.hero button {
	padding: 16px 36px;
	font-size: 25px;
	border-radius: 50px;
	position: absolute;
	bottom: 35px;
	cursor: pointer;
	color: white;
	background: rgb(2,0,36);
	background: linear-gradient(90deg, rgba(64,59,158,1) 2%, rgba(94,75,110,1) 47%, rgba(112,128,175,1) 100%);
	transition-duration: .2s;
}

.hero button:hover {
	background: rgb(104,99,199);
	background: linear-gradient(90deg, rgba(104,99,199,1) 2%, rgba(135,117,150,1) 47%, rgba(157,170,208,1) 100%);
	transition-duration: .2s;
}

.hero-div-ctn {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	width: 90%;
	margin: 0 auto;
}

.hero-div {
	width: 50%;
	height: auto;
	/*background: red;*/
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-div div {
	padding: 30px;
}

.hero-div > img {
	filter: brightness(110%);
	animation: heroImgAnim ease-in .5s;
}

.hero-div span {
	font-size: 35px;
}

.hero-div p {
	font-size: 24px;
	margin-top: 25px;
	line-height: 28px;
	position: relative;
	animation: heroAnim ease-in .5s;
	text-align: justify;
	padding: 20px 0;
}

.relative-img{
	/*width: ;
	height: ;*/
	position: absolute;
	opacity: .7;
}

.relative-img:first-child{
	left: 50px;
	top: 50px;
	animation: leftAnim infinite ease-in  5s;

}

.relative-img:nth-child(2){
	right: 50px;
	bottom: 50px;
	animation: rightAnim infinite ease-out  7s;
}

#relative-img-3 {
	width: 100%;
	height: 100%;
}


@media screen and (max-width: 1300px){

	.hero {
		height: auto;
	}

	.hero-div {
		width: 100%;
		padding: 30px;
	}

	.hero-div-ctn {
		flex-direction: column;
		text-align: center;
	}

	.hero-div > img {
		width: 50%;
		margin-bottom: 25px;
		min-width: 200px;
	}

	.hero button {
		position: initial;
		margin-top: 50px;
	}

	.hero h1 {
		font-size: 40px;
	}

	.hero p {
		font-size: 17px
	}

	.relative-img {
		width: 40px;
	}
}





/* QUALITIES SECTION */

.qualities-ctn {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	background-attachment: fixed;
}

.qualities {
	padding: 0 30px;
}

.qualities h2 {
	text-align: center;
	font-size: 30px;
	font-family: Pixel;
}

.qualities div {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: relative;
}

.qualities i {
	color: #b291f9;
	font-size: 30px;
	position: absolute;
}

@media screen and (max-width: 1300px){

	.qualities-ctn {
		flex-direction: column;
		text-align: center;
	}

	.qualities {
		margin-bottom: 75px;
	}

	.qualities p {
		min-width: 300px;
		max-width: 500px;
	}

	.qualities:last-child {
		margin-bottom: 0;
	}
}





/* GALLERY SECTION */


.gallery-ctn {
	display: flex;
	justify-content: center;
	align-items: center;
}

.gallery-ctn > div {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.gallery-ctn div:first-child {
	position: relative;
	width: 55%;
}

.gallery-ctn > div:last-child {
	align-items: flex-start;
	width: 45%;
	border-left: 5px solid #ca78df;
	padding: 0 50px;
}

.rect {
	width: 300px !important;
	height: 400px !important;
	text-align: center;
	margin: 0 auto;
	position: absolute;
	border: 8px solid #231c43;
	background-position: center;
	background-repeat: repeat;
	background-size: cover;
	filter: brightness(120%);
}

#rect1 {
	background-image: url("images/cadre1.jpg");
	top: 150px;
	left: 50px;
}

#rect2 {
	background-image: url("images/cadre2.jpg");
}

#rect3 {
	background-image: url("images/cadre3.jpg");
	left: 100px;
	top: 75px;
}

.gallery-ctn > div:last-child p {
	margin-top: 25px;
}

.gallery-ctn button {
	padding: 13px 30px;
	font-size: 22px;
	border-radius: 50px;
	cursor: pointer;
	color: white;
	background: rgb(2,0,36);
	background: linear-gradient(90deg, rgba(64,59,158,1) 2%, rgba(94,75,110,1) 47%, rgba(112,128,175,1) 100%);
	transition-duration: .2s;
	margin-top: 20px;
}

.gallery-ctn button:hover {
	background: rgb(104,99,199);
	background: linear-gradient(90deg, rgba(104,99,199,1) 2%, rgba(135,117,150,1) 47%, rgba(157,170,208,1) 100%);
	transition-duration: .2s;
}

@media screen and (max-width: 1100px) {

	.gallery-ctn {
		flex-direction: column-reverse;
	}

	.gallery-ctn > div {
		width: 100%;
	}

	.gallery-ctn > div:last-child {
		align-items: center;
		border: none;
		width: 100%;
	}

	.gallery-ctn > div:first-child {
		width: 100%;
	}

	.gallery-ctn div:first-child, .rect {
		position: static;
	}

	.gallery-ctn div:last-child {
		text-align: center;
	}

	.gallery-ctn div:last-child p {
		margin-bottom: 25px;
		min-width: 300px;
		max-width: 500px;
	}

	.gallery-ctn div:last-child button {
		margin: 0 auto;
		margin-bottom: 50px;
	}

	#rect1, #rect2, #rect3 {
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
}




/* TEAM SECTION */

#team {
	margin-top: 150px;
}

#team h2 {
	text-align: center;
}

.team-ctn {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.team {
	padding: 0 5px;
	text-align: center;
}

.team div {
	height: 275px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.team-ctn img {
	width: 250px;
	height: 300px;
	object-fit: cover;
	/*border: 5px solid #7752c8;*/
}

.team h3 {
	margin: 25px 0;
	font-family: Pixel;
	font-size: 22px;
}

.team > div:last-child {
	background: white;
	max-width: 300px;
	padding: 25px;
	position: relative;
	bottom: 50px;
}

.team > div:last-child h3, .team > div:last-child p  {
	color: #333;
}

@media screen and (max-width: 1300px) {

	.team-ctn {
		flex-direction: column;
	}

	#team {
		margin-top: 25px;
	}
}




/* GAME DESCRIPTION SECTION */

.game-desc-ctn {
	display: flex;
	justify-content: center;
	align-items: center;
	/*background-image: url("images/background2.jpg");
	background-position: center;
	background-repeat: repeat;
	background-size: cover;*/
}

.game-desc-ctn div {
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.game-desc-ctn div:first-child {
	border-left: 5px solid #ca78df;
	padding: 0 50px;	
}

.game-desc-ctn div:last-child {
	align-items: center;
}

.game-desc-ctn div p {
	margin-bottom: 25px;
	max-width: 700px;
}

@media screen and (max-width: 1300px) {
	
	.game-desc-ctn {
		flex-direction: column;
		text-align: center;
	}

	.game-desc-ctn div:first-child {
		border: none;
		padding: 0;	
	}

	.game-desc-ctn div p {
		min-width: 300px;
		max-width: 500px;
		margin: 0 auto;
		margin-bottom: 25px;
	}

	.game-desc-ctn img {
		margin-top: 25px;
		width: 50%;
		min-width: 250px;
	}

	.game-desc-ctn div {
		width: 100%;
	}
}


/* STATS */

.stats {
	display: flex;
	justify-content: space-around;
	align-items: center;
	background: #271c43;
	padding: 50px;
	max-width: none;
}

.stats div span {
	display: block;
	text-align: center;
	color: white;
	font-family: Pixel;
}

.stats div span:first-child {
	font-size: 75px;

}

.stats div span:last-child {
	font-size: 18px;
	text-transform: uppercase;
	margin-top: 15px;
}

@media screen and (max-width: 1300px) {

	.stats {
		flex-direction: column;
	}

	.stats div {
		margin-bottom: 50px;
	}

	.stats div:last-child {
		margin-bottom: 0;
	}
}



/* UNITY GAME */

.unity-game {
	height: 100vh;
	max-width: none;
	width: 100%;
	text-align: center;
}

.unity-game button {
	padding: 16px 36px;
	font-size: 25px;
	border-radius: 50px;
	cursor: pointer;
	color: white;
	background: rgb(2,0,36);
	background: linear-gradient(90deg, rgba(64,59,158,1) 2%, rgba(94,75,110,1) 47%, rgba(112,128,175,1) 100%);
	transition-duration: .2s;
	margin: 50px 0;
}

.unity-game button:hover {
	background: rgb(104,99,199);
	background: linear-gradient(90deg, rgba(104,99,199,1) 2%, rgba(135,117,150,1) 47%, rgba(157,170,208,1) 100%);
	transition-duration: .2s;
}

@media screen and (max-width: 1300px) {
	.unity-game button:hover {
		font-size: 18px;
	}
}



/* FOOTER */

footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 50px;
	/*max-width: 1400px;*/
	margin-top: 100px;
}

footer i {
	margin: 0 3px;
}

@media screen and (max-width: 1300px) {

	footer {
		flex-direction: column;
	}

	footer p {
		text-align: center;
	}

	footer p:first-child {
		margin-bottom: 25px;
	}
}

/* ANIMATIONS */


@keyframes leftAnim {
	0% {
		top: 50px;	
	}

	50% {
		top: 100px;	
	}

	100% {
		top: 50px;
	}
} 

@keyframes rightAnim {
	0% {
		bottom: 50px;	
	}

	50% {
		bottom: 100px;	
	}

	100% {
		bottom: 50px;
	}
} 


@keyframes heroAnim {
	from {
		opacity: 0;
		left: -200px;
	}

	to {
		opacity: 1;
		left: 0;
	}
}

@keyframes heroImgAnim {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}