html, body {
 	margin: 0;
 	padding: 0;
  	width: 100%;
  	height: 100%;
}

h1, h2, h3, h4, h5, p, div, img, a, hr {
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: 'Earthbound';
	src: url('../font/earthbound/earthbound.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;


	/* font-family: 'GameBoy';
	src: url('font/GameBoy.woff2') format('woff2');
	font-weight: normal;
	font-style: normal; */

}

body {
	margin: 0px;
	background-color: #1b1414;
	overflow-x: hidden;
	font-family: 'GameBoy','Earthbound', sans-serif;
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: #b86f50;
}

header {
	position: sticky;
	top: 0px;
	z-index: 500;
	
	background-color: #351d1b;
	box-shadow: 0px 5px 15px #241211;
	padding: 1rem;
	
	display: flex;
	align-items: center;
	justify-content: space-between;
}


.socialLogos img{
	vertical-align: middle;
	margin-right: 1vw;
}

.insta {
	height: 35px;
	width: auto;
}

section {
 	width: 100%;
	margin-left: auto;
	margin-right: auto;
	max-width: 90vw;
	padding-bottom: 15vh;
	padding-top: 7vh;
}

footer {
	background-color: #291f1e;
	box-shadow: 0px 5px 30px #1a140e;
	padding-top: 2vw;
	padding-left: 6vw;
	padding-right: 7vw;
}

footer h2 {
	color: #c8771c;
	font-size: 1em;
	margin: 0;

}

footer .links {
	font-size: 0.7em;
}


footer p {
	color: #543717;
	display: flex;
  	justify-content: center;
	padding-bottom: 10px;
	margin: 0px;
	font-size: 0.7em;
}

.footer_links {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding-right: 55vw;
}

.footer_links .column {
	padding-right: 5vw;
}

.links {
	color: #b86f50;
	transition: 0.2s;
}

.links:hover {
	color: #e4a672;
}

.row {
	display: flex;
	flex-direction: row;
}

.column {
	display: flex;
	flex-direction: column;
}




/* s sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss*/

.log {
	width: 52px;
	height: 40px;
	display: flex;
	align-items: center
	cursor: pointer;
}

.log img{
	cursor: pointer;
}

/* Sidebar */
.sidebar {
	background-color: #351d1b;

	position: fixed;
	top: 0;
	left: -275px; /* hidden by default */
	width: 250px;
	height: 100%;
	
	padding-top: 4rem;
	padding-right: 2px;
	/* padding-left: 1.5rem; */
	
	transition: left 0.4s ease;
	z-index: 1000;
	
	display: flex;
	flex-direction: column;
	gap: 1rem;
	
}



.sidebar a {
	color: #b86f50;
  	text-decoration: none;
  	font-size: 1.5rem;
	padding-left: 1.5rem;
}

.sidebar a:hover {
	transition: 0.2s;
	color: #e4a672;
}

.close-btn {
	width: 20px;
	height: 20px;
	position: absolute;
	top: 1.2rem;
	right: 1rem;
	cursor: pointer;
}

.log2 {
	width: 39px;
	height: 30px;
	position: absolute;
	top: 1rem;
	left: 1rem;
}



	



/* Overlay when sidebar is open */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 900;
}

/* Show sidebar & overlay */
.sidebar.open {
  left: 0;
}

.overlay.active {
  display: block;
}

.langSwitch {
	position: absolute;
	top: 1.5rem;
	left: 3.5rem;
	display: flex;
	flex-direction: row;
}

.langSwitch div {
	padding-left: 1rem;
	color: #543717;
}

/* s sssssssssssssssssssssssssssssssssssssssssssssssssssssssssss*/





#bloc {
	margin: 5vh 0 5vh 0;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

#bloc p {
	padding: 0;
}

#mygames {
	margin-left: auto;
	margin-right: auto;
	color: #e4a672;
}

#intro {
	height: 18vh;
	width: 40vw;
}






#gameList {
	flex-direction: column;

}

.gameCapsule {
	flex-direction: row;
	height: 30vh;
	width: auto;
	padding: 1vh;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	transition: 1s;
}

.gameCapsule img {
	height: 100%; 
	object-fit: contain;
	margin-right: 2vh;
	/*border-style: solid;
	border-radius: 5px;
  	border-color:  #351d1b;*/
}

.gameCapsule hr {
	position: relative;
	bottom:1.2vh;
}



.gameCapsuleR {
	flex-direction: row;
	height: 30vh;
	width: auto;
	padding: 1vh;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	transition: 1s;
}

.gameCapsule:hover {
	transform: translate(1vw);
	transition: 0.5s;
}

.gameCapsuleR:hover {
	transform: translate(-1vw);
	transition: 0.5s;
}



.gameCapsuleR img {
	height: 100%; 
	object-fit: contain;
	margin-left: 2vh;
}

.gameCapsuleR hr {
	position: relative;
	bottom:1.2vh;
}





.gameTag {
	color: #d3c2ab;
	position: relative;
	top: 2.5vh;
}

.gameDesc h1 {
	color: #c8771c;
	position: relative;
	top: 1vh;
}


.gameDesc p {
	color: #d3c2ab;
	position: relative;
	bottom: 0vh;
	height: 18vh;
	width: 35vw;
	font-size: 2.5vh;
}

.gameDesc p b {
	color: #d3c2ab;
}


.gameDescR {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.gameDescR h1 {
	color: #c8771c;
	position: relative;
	top: 1vh;
}

.gameDescR h1 {
	color: #c8771c;
	position: relative;
	top: 1vh;
}

.gameDescR p {
	color: #d3c2ab;
	position: relative;
	bottom: 0vh;
	height: 18vh;
	width: 35vw;
	font-size: 2.5vh;
	text-align: end;
	padding: 0;
}


















h1 {
	color: #c8771c;
}

a {
	margin: 0;
	padding: 0;
	color: #c8771c;
	text-decoration: none;
}


p {
	color: #b86f50;
	font-size: 1em;
	padding-right: 50px;
	text-align: justify;
}

button p {
	padding-right: 0px;
	margin: 0px;
}

.rightside {
	position: relative;
	bottom: 40px;
	/* padding-left: 4vw; */
	/* padding-right: 1vw; */
}

button {
	background-color: #351d1b;
	font-family: 'Earthbound', sans-serif;
	border: 2px solid #b86f50;
  	padding: 20px 20px;
	color: #e4a672;
  	text-align: center;
  	text-decoration: none;
  	display: inline-block;
  	margin: 4px 2px;
  	cursor: pointer;
  	border-radius: 50%;
	transition: 0.2s;
}

button:hover {
	color: #e9ca83;
  	background-color: #543717;
  	border: 2px solid #c8771c;
}























/* ------------------------------------------------------------ */


/* Tablet */
@media (max-width: 1024px) {

	#bloc p {
		width: 60vw;
	}

	.gameCapsule {
		margin-bottom: 10vh;
	}

	.gameCapsuleR {
		margin-bottom: 10vh;
	}

}

/* Phone */
@media (max-width: 600px) {

	section {
		padding: 10vh 0 0 0;
	}
	
	
	#intro {
			width: auto;
		}

	#bloc {
		margin: 0;
	}

	.gameCapsule {
		flex-direction: column;
		margin-bottom: 40vh;
	}

	.gameCapsule:hover {
		transform: translate(0);
	}

	.gameCapsule img {
		margin: 0;
	}

	.gameDesc {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 80vw;
	}

	.gameDesc p {
		padding: 0;
		width: auto;
		text-align: center;
	}

	.gameDesc h1 {
		margin-top: 1.5vh;
		margin-bottom: 1vh;
	}
	
	.gameCapsuleR {
		flex-direction: column-reverse;
		margin-bottom: 40vh;
	}

	.gameCapsuleR:hover {
		transform: translate(0);
	}

	.gameCapsuleR img {
		margin: 0;
	}

	.gameDescR {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 80vw;
	}

	.gameDescR p {
		padding: 0;
		width: auto;
		text-align: center;
	}

	.gameDescR h1 {
		margin-top: 1.5vh;
		margin-bottom: 1vh;
	}

}


/* ------------------------------------------------------------ */









exempleToCenter {
	display: flex;			Flex
	align-items: center;		Vertical
  	justify-content: center;	Horizontal

}
