/* Section heading style for all main titles */
.section-heading {
  font-family: 'Baise', Arial, Helvetica, sans-serif;
  color: #ff3333;
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 1.2rem;
  text-shadow:
    0 0 8px #fff,
    0 0 2px #fff,
    0 1px 8px #fff,
    0 2px 12px #fff,
    0 0 0.5px #fff;
}

/* Mobile game adjustments */
@media (max-width: 700px) {
  .section-heading {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
  }
  
  .section-game {
    height: 80vh;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
/* SNAKE GAME SCOPED STYLES */
.game * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.game button:focus {
  outline: 0;
}
.game html,
.game body {
  height: 100%;
  font-family: "Poppins", sans-serif;
  color: #6e7888;
}
.game body {
  background-color: #222738;
    display: flex;
  justify-content: center;
  align-items: center;
  color: #6e7888;
}

.game canvas {
  background-color: #181825;
}
.game .container {
	display: flex;
	width: 100%;
	height: 100%;
	flex-flow: column wrap;
	justify-content: flex-start;
	align-items: center;
}
.game #ui {
  display: flex;
  align-items: center;
  font-size: 10px;
  flex-flow: column;
  margin-left: 10px;
}
.game .snake-score-ui {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 0;
	margin-top: 0;
}
.game .snake-score-ui h2 {
	font-weight: 900;
	font-size: 12px;
	letter-spacing: 8px;
	margin-bottom: 0;
	transform: none;
    color: #fff;
}
.game .snake-score-ui #score {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  transform: none;
  color: #fff;
}
.game h2 {
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 8px;
  margin-bottom: 30px;
  transform: rotate(270deg);
}
.game #replay {
	display: block;
	margin: 18px auto 32px auto;
	font-size: 12px;
	padding: 12px 28px;
	background: #07080A;
	border: none;
	color: #FFFFFF;
	border-radius: 40px;
	font-weight: 800;
	transform: none;
	cursor: pointer;
	transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.game #replay:hover {
  background: #9b0c0c ;
}
.game #replay svg {
  margin-right: 8px;
}
/* Mobile game canvas adjustments for different devices */
@media (max-width: 600px) {
  .game .wrapper,
  #canvas,
  .game canvas {
    width: 85vw !important;
    height: 85vw !important;
    max-width: 85vw !important;
    max-height: 85vw !important;
    min-width: 0;
    min-height: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
  .game .wrapper,
  #canvas,
  .game canvas {
    width: 90vw !important;
    height: 90vw !important;
    max-width: 90vw !important;
    max-height: 90vw !important;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .game .wrapper,
  #canvas,
  .game canvas {
    width: 95vw !important;
    height: 95vw !important;
    max-width: 95vw !important;
    max-height: 95vw !important;
  }
}
  .btn.btn-secondary {
    display: none !important;
  }
  .contact .card {
    padding: 1rem 0.5rem;
    font-size: 0.95rem;
    width: 90%;
    max-width: 320px;
    margin: 0 auto 1.2rem auto;
    border-radius: 14px;
  }
  .contact .card img {
    width: 30px;
    height: 30px;
    margin-bottom: 1rem;
  }
  .contact .card h1 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .contact .card h6 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  body, .site-main-wrapper {
    width: 100vw;
    min-width: 0;
    overflow-x: hidden;
    min-height: 100vh;
    height: 100dvh;
  }
  .container {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
  }
  .game #replay {
    margin-bottom: 20px;
  }
  .game #replay,
  .game h2 {
    transform: rotate(0deg);
  }
  .game #ui {
    flex-flow: row wrap;
    margin-bottom: 20px;
  }
  .game #score {
    margin-top: 0;
    margin-left: 20px;
  }
  .game .container {
    flex-flow: column wrap;
  }
.game #author {
  width: 100%;
  bottom: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: inherit;
  text-transform: uppercase;
  padding-left: 35px;
}
.game #author span {
  font-size: 10px;
  margin-left: 20px;
  color: inherit;
  letter-spacing: 4px;
}
.game #author h1 {
  font-size: 25px;
}
.game .wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  width: 400px;
  height: 400px;
  max-width: 100vw;
  max-height: 70vw;
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
}
body {
	width: 100vw;
	height: 100%;
	margin: 0;
	color: var(--color-text);
	background: linear-gradient(135deg, #111 0%, #222 100%);
	font-family: sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-y: auto;
	padding-top: 0;
}
canvas {
	display: block; /* make the canvas act like a block   */
	width: 100%; /* make the canvas fill its container */
	height: 100%;
  width: 400px;
  height: 400px;
  max-width: 85vw;
  max-height: 60vh;
  margin: 0 auto;
  box-sizing: border-box;
}
/* Zorg dat dit element exact zo heet, want game.js zoekt op id="canvas" */
#canvas {
  width: 400px;
  height: 400px;
  max-width: 85vw;
  max-height: 60vh;
  margin: 0 auto;
  box-sizing: border-box;
}
canvas#main-canvas {
	display: block;
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}
