
.game-title {
	font-weight: bolder;
	font-size: 1.1em;
	letter-spacing: 1px;
	display: inline-block;
}

.carousel-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 30px;
}
html, body {
.game-description1 {
	font-size: 36px;
	font-weight: 500;
	margin-bottom: 0%;
	background: rgba(92, 92, 92, 0.5); 
	border-radius: 18px;
	padding: 28px 28px;
}
    height: 100vh;
    width: 100vw;
}



* {
	box-sizing: border-box;
}

:root {
	--text-main: #f5f5f5;
	--header-bg: #000;
}

body {
	margin: 0;
	font-family: "Segoe UI", Arial, sans-serif;
	color: var(--text-main);
	background-image: url('../images/wall.png');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	min-height: 100vh;
}
.content-section{
  position:absolute;
  left:50%;
  top :15vh;
  transform:translate(-50%,-50%);
  z-index:1;

  width:min(720px, calc(100% - 32px));
  margin:0;
  text-align:center;
  color:#111;
}
.content-section h1{
  margin:0 0 12px;
  font-size:3rem;
  font-weight:800;
}
.content-section p{
  margin:0;
  font-size:25px;
  line-height:1;
}
.page-header {
  background: #000;
  color: #BEBEBE;
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
}
.header-inner {
  height: 100%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;

  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo {
  height: 64px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.header-nav a {
  color: #BEBEBE;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.2;
  padding: 8px 12px;
  border-radius: 6px;
}
.header-nav a:hover,
.header-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
}

/* Overlay voor speluitleg */
#game-guide-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

#game-guide-content {
	background: #fff;
	color: #111;
	padding: 40px 32px;
	border-radius: 18px;
	max-width: 500px;
	box-shadow: 0 4px 32px rgba(0,0,0,0.2);
	text-align: center;
}

#game-guide-content h2 {
	margin-top: 0;
}

#close-guide-btn {
	display: block;
	margin: 32px auto 0 auto;
	padding: 12px 28px;
	background: #d32f2f;
	color: #fff;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	font-size: 1em;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: background 0.2s;
}

#close-guide-btn:hover {
	background: #b71c1c;
}

#show-guide-btn {
	display: block;
	margin: 32px auto 0 auto;
	padding: 12px 28px;
	background: #d32f2f;
	color: #fff;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	font-size: 1em;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: background 0.2s;
}

#show-guide-btn:hover {
	background: #b71c1c;
}

.header-inner {
  height: 100%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;

  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo {
  height: 64px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.header-nav a {
  color: #BEBEBE;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.2;
  padding: 8px 12px;
  border-radius: 6px;
}
.header-nav a:hover,
.header-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
}

body {
    background-image: url('../images/background-gamespage.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}
.game-flex {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	height: 60%;
	width: 80%;
	margin-left: 10%;
	margin-top: 5%;
	gap: 30px;
}
.game-carousel-image img {
	max-width: 400px;
	max-height: 400px;
	width: auto;
	height: auto;
	object-fit: contain;
	opacity: 1;
	transition: opacity 0.4s;
	cursor: pointer;
}

.game-carousel-image img.fade {
	opacity: 0;
	transition: opacity 0.4s;
}

.game-description1 p {
	opacity: 1;
	transition: opacity 0.4s;
}
.game-description1 p.fade {
	opacity: 0;
	transition: opacity 0.4s;
}

.arrow-left{
	margin-left: 5%;
}
.game-description1 {
	font-size: 36px;
	font-weight: 500;
	margin-bottom: 0%;
}
.arrow-left, .arrow-right {
	cursor: pointer;
}
.arrow-left img,
.arrow-right img {
	max-width: 64px;
	height: auto;
	transition: max-width 0.2s;
}
.arrow-left img:hover,
.arrow-right img:hover {
    filter: brightness(1.3) drop-shadow(0 0 8px #fff);
    cursor: pointer;
    transition: filter 0.2s;
}


.carousel-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 30px;
}

@media (max-width: 1000px) and (min-width: 901px) {
	.game-description1 {
		font-size: 20px;
	}
}
@media (max-width: 900px) {
	.game-flex {
		width: 98%;
		margin-left: 1%; 
		gap: 12px;
		flex-direction: column;
		align-items: center;
		margin-top: 100px;
	}
	.arrow-left img,
	.arrow-right img {
		max-width: 40px;
		height: auto;
	}
	.carousel-row {
		flex-direction: row;
		gap: 10px;
	}
	.game-description1 {
		font-size: 24px;
		margin-top: 10px;
	}
	.game-carousel-image img {
		max-width: 220px;
		max-height: 220px;
	}
}




@media (max-width: 900px) {
	.carousel-row {
		flex-direction: row;
		gap: 8px;
	}
	.game-description1 {
		font-size: 24px;
	}
	.game-carousel-image img {
		max-width: 220px;
		max-height: 220px;
	}
}

@media (max-width: 600px) {
		.carousel-row {
			gap: 2px;
		}
	.game-flex {
		flex-direction: column;
		align-items: stretch;
		height: auto;
		gap: 30px;
        margin-top: 12%;
	}

	.arrow-left, .arrow-right {
		margin: 0 auto;
		display: flex;
		justify-content: center;
	}

	.game-description1 {
		font-size: 12px;
		text-align: center;
		margin: 0 4px;
		margin-left: 20%;
		width: 300px;
		padding: 8px 4px;
		border-radius: 10px;
	}
	.game-description1 h2 {
		font-size: 1em;
		margin: 4px 0;
	}
	.game-carousel-image img {
		max-width: 180px;
		max-height: 180px;
		margin: 0 auto;
		display: block;
	}
}
@media (max-width: 400px) {
		.game-description1 {
		font-size: 12px;
		text-align: center;
		margin: 0 4px;
		margin-left: 10%;
		width: 300px;
		padding: 8px 4px;
		border-radius: 10px;
	}
		#game-guide-content {
		padding: 8px 4px;
		border-radius: 8px;
		max-width: 180px;
		font-size: 0.8em;
		margin-left: 10%;
	}
	#game-guide-content h2 {
		font-size: 1em;
		margin: 2px 0;
	}
	#close-guide-btn, #show-guide-btn {
		font-size: 0.8em;
		padding: 8px 12px;
	}
}
