/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {line-height: 1.15; -webkit-text-size-adjust: 100%;}
body {margin: 0;}
main {display: block;}
h1 {font-size: 2em; margin: 0.67em 0;}
hr {box-sizing: content-box; height: 0; overflow: visible;}
pre {font-family: monospace, monospace; font-size: 1em;}
a {background-color: transparent;}
abbr[title] {border-bottom: none; text-decoration: underline; text-decoration: underline dotted;}
b, strong {font-weight: bolder;}
code, kbd, samp {font-family: monospace, monospace; font-size: 1em;}
small {font-size: 80%;}
sub, sup {font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;}
sub {bottom: -0.25em;}
sup {top: -0.5em;}
img {border-style: none;}
button, input, optgroup, select, textarea {font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0;}
button, input {overflow: visible;}
button, select {text-transform: none;}
button, [type="button"], [type="reset"], [type="submit"] {-webkit-appearance: button;}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {border-style: none; padding: 0;}
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {outline: 1px dotted ButtonText;}
fieldset {padding: 0.35em 0.75em 0.625em;}
legend {box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal;}
progress {vertical-align: baseline;}
textarea {overflow: auto;}
[type="checkbox"], [type="radio"] {box-sizing: border-box; padding: 0;}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {height: auto;}
[type="search"] {-webkit-appearance: textfield; outline-offset: -2px;}
[type="search"]::-webkit-search-decoration {-webkit-appearance: none;}
::-webkit-file-upload-button {-webkit-appearance: button; font: inherit;}
details {display: block;}
summary {display: list-item;}
template {display: none;}
[hidden] {display: none;}


/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */
/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
html {color: #000; font-size: 1em; line-height: 1.4;}
::-moz-selection {background: #FCF1D8; text-shadow: none;}
::selection {background: #FCF1D8; text-shadow: none;}
hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}
audio, canvas, iframe, img, svg, video {vertical-align: middle;}
fieldset {border: 0; margin: 0; padding: 0;}
textarea {resize: vertical;}
.hidden, [hidden] {display: none !important;}
.sr-only { border: 0; clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px;}
.sr-only.focusable:active, .sr-only.focusable:focus {clip: auto; height: auto; margin: 0; overflow: visible; position: static; white-space: inherit; width: auto;}
.invisible {visibility: hidden;}
.clearfix::before, .clearfix::after {content: " "; display: table;}
.clearfix::after {clear: both;}
.left{float: left;}
.right{float: right;}






/* 
* Custom styles 
*/
html{
	scroll-behavior: smooth;
}
html, body {
  box-sizing: border-box;
  height: 100%;
  padding: 0;
  margin: 0;
}
body{
	transition: background-color 0.5s ease;
	font-size: 14px;
}
a {
	color: #4D4D37;
	transition: color 0.5s ease;
	text-decoration: none;
}
.text-content a{
	text-decoration: underline;
}
a:hover{
	color: #000000;
	transition: color 0.5s ease;
}
.text-center{
	text-align: center;
}
.fixed-position {
	position: fixed;
}
p {
	margin-block-start: 0.67em;
	margin-block-end: 1em;
}

/*
* General layout
*/
#wrapper{
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
#wrapper-body{
  flex-grow: 1;	
}
#wrapper-header, #wrapper-footer{
	flex-grow: 0;
  flex-shrink: 0;
}
#wrapper-footer{
	margin-top: 12px;
}
.container{
	width: 100%;
	box-sizing: border-box;
	padding-left: 8px;
	padding-right: 8px;
}

nav{
	display: none;
}

#main-area-wrapper{
	display: none;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 32px;
}
#main-area-left{
  display: none;
  float: left;
  margin-right: 70px;
  position: relative;
}
#main-area-central{
  width: 100%;
  float: left;
}
#main-area-right{
  display: none;
  float:left;
  margin-left: 70px;
  position: relative;
}
#game-dimensions-placeholder{
	display: none;
}

#top-leaderboard-728-90, #below-leaderboard-728-90{
  display: none;
  margin: 16px auto;
  width: 728px;
  height: 90px;
}
#below-leaderboard-728-90{
  margin: 70px auto 0 auto;
}
#placeholder-below-game-300-250{
	width: 300px;
	height: 250px;
	margin: 32px auto;
	display: none;
}

#left-col-160-600, #right-col-160-600{
  display: none;
  width: 160px;
  height: 600px;
  padding: 0;
  margin: 0;
}
#left-col-300-600, #right-col-300-600{
  display: none;
  width: 300px;
  height: 600px;
  padding: 0;
  margin: 0;
}

#div-gpt-ad-1696251769909-0, #div-gpt-ad-1696251835137-0, #div-gpt-ad-1696251874693-0, #div-gpt-ad-1696251918847-0{
	text-align: right;
}

.adsense-mf-top-728x90, .adsense-mf-bottom-728x90{
	display: none;
	width: 728px;
	height: 90px;
}
.adsense-mf-left-160x600, .adsense-mf-right-160x600{
	display: none;
	width: 160px;
	height: 600px;
}
.adsense-mf-left-300x600, .adsense-mf-right-300x600{
	display: none;
	width: 300px;
	height: 600px;
}

#btn-lights-out{
	display: none;
}
#btn-fullscreen{
	display: none;
}
#btn-reload-game{
	display: none;
}

#below-game-similar-games{
	justify-content: space-evenly;
}

@media (min-width: 320px) {
   #placeholder-below-game-300-250{
    display: block;
  }
}


@media (min-width: 768px) {
	/* General */
	#top-leaderboard-728-90{
    display: block;
  }
  #below-leaderboard-728-90{
    display: block;
  }
	 .adsense-mf-top-728x90{
		display: block;
	}
	.adsense-mf-bottom-728x90{
		display: block;
	}
  
  /* Game area */
	#btn-lights-out{
		display: inline-block;
	}
	#btn-fullscreen{
		display: inline-block;
	}
	#btn-reload-game{
		display: inline-block;
	}
	#main-area-wrapper{
  	display: block;
    width: 760px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }
  #game-dimensions-placeholder{
  	display: block;
  }
	#main-area-mobile{
  	display: none;
  }
	#placeholder-below-game-300-250{
		display: none;
	}

	/* Below game */
	#below-game-content{
		display: flex;
	}
	#below-game-similar{
		margin-left: 16px;
		width: 256px;
		flex-shrink: 0;
	}
	#below-game-similar.wide{
		width: 100%;
		margin-left: 0;
	}
	#below-game-similar-games{
		justify-content: space-between;
	}

	#footer-content{
		display: flex;
		justify-content: space-between;
	}
	#footer-content > div{
		width: 240px;
	}
}

@media (min-width: 820px) {
	.container{
  	width: 800px;
  	margin-left: auto;
  	margin-right: auto;
  	box-sizing: content-box;
  	padding-left: 0;
  	padding-right: 0;
  }
  #header-mobile-menu-btn{
		display: none;
	}
	nav{
  	display: block;
  }
  #main-area-wrapper{
  	width: 800px;
  }
  #main-area-central{
    width: 800px;
    padding: 0;
  }
}

@media (min-width: 1270px) {
  #main-area-wrapper{
    width: 1260px;
  }
  #main-area-central{
  	min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  #main-area-left, #main-area-right{
    display: block;
    width: 160px;
  }
  #top-leaderboard-728-90, #below-leaderboard-728-90{
    display: none;
  }
  .adsense-mf-top-728x90, .adsense-mf-bottom-728x90{
  	display: none;
  }
  #left-col-160-600, #right-col-160-600{
    display: block;
  }
  .adsense-mf-left-160x600, .adsense-mf-right-160x600{
		display: block;
	}
}

@media (min-width: 1546px) {
  #main-area-wrapper{
    width: 1526px;
  }
  #main-area-left{
    display: block;
    margin-right: 63px;
    width: 300px;
  }
  #main-area-right{
    display: block;
    margin-left: 63px;
    width: 300px;
  }
  #left-col-160-600, #right-col-160-600{
    display: none;
  }
  #left-col-300-600, #right-col-300-600{
    display: block;
  }
  .adsense-mf-left-160x600, .adsense-mf-right-160x600{
		display: none;
	}
	.adsense-mf-left-300x600, .adsense-mf-right-300x600{
		display: block;
	}
}

@media (min-width: 1560px) {
  #main-area-wrapper{
    width: 1540px;
  }
  #main-area-left{
    margin-right: 70px;
  }
  #main-area-right{
    margin-left: 70px;
  }
}

@media (max-height: 428px) and (min-width: 500px) {
	#top-leaderboard-728-90{
	  display: none;
	}
	#below-leaderboard-728-90{
	  display: none;
	}
	#main-area-wrapper{
		display: none;
	}
	#btn-fullscreen{
		display: none;
	}
	#btn-reload-game{
		display: none;
	}
	#main-area-mobile{
		display: block;
	}
}


/*
* Header bar
*/
header {
	position: relative;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

header:before {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: url(../images/header-back.png);
  background-repeat: repeat-x;
}

#header-content {
	height: 64px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header-site-title{
	color: #000000;
	transition: color 0.5s ease;
	font-size: 24px;
	font-weight: 800;
}
#header-site-title-fun{
	color: #4D4D37;
	transition: color 0.5s ease;
}

#header-desktop-menu{
	display: none;
}
#header-desktop-menu > div{
	display: inline-block;
	margin-right: 16px;
}
.header-button{
	display: inline-block;
	line-height: 32px;
	height: 32px;
	border-radius: 16px;
	padding-left: 16px;
	padding-right: 16px;
	font-size: 16px;
	font-weight: 700;
	color: #4D4D37;
	background-color: #D9D2B0;
	border: 1px solid #B6B092;
	transition: color 0.5s ease, background-color 0.5s ease, border 0.5s ease;
}
#header-desktop-menu > div:last-of-type{
	margin-right: 0;
}

.caret {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-top: -7px;
  margin-left: 8px;
  margin-right: 10px;
}
.caret:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  border-top: 5px solid #4D4D37;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  transition: border 0.5s ease;
}
.caret:after {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  border-top: -3px solid #ffffff;
  border-left: -3px solid transparent;
  border-right: -3px solid transparent;
  transition: border 0.5s ease;
}
#header-desktop-menu > div:hover .caret:before{
	border-top: 5px solid #000;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.header-dropdown {
  position: relative;
  display: inline-block;
}
.header-dropbtn {
  cursor: pointer;
}
.header-dropdown-content {
  display: none;
  position: absolute;
  right: 0px;
  left: 0px;
  background-color: #D9D2B0;
	border: 1px solid #B6B092;
  border-top: 0;
  /* min-width: 150px; */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  /*border-radius: 16px;*/
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  
}
.header-dropdown-content a {
  padding: 0 16px;
  text-decoration: none;
  display: block;
}
.header-dropdown-content a:hover {
	background-color: #B6B092;
}
.header-dropdown-content a div {
	border-top: 1px solid #B6B092;
	display: block;
	padding: 6px 0;
}
.header-dropdown-content a:first-of-type div{
	border-top: 0;
}
.header-dropdown-content a:hover + a div{
	border-top-color: rgba(0,0,0,0);
}
/*
.header-dropdown-content a:first-of-type{
	border-top-right-radius: 16px;
	border-top-left-radius: 16px;
}
*/
.header-dropdown-content a:last-of-type{
	border-bottom-right-radius: 16px;
	border-bottom-left-radius: 16px;
}


.header-dropdown:hover .header-dropdown-content {
  display: block;
}
.header-dropdown:hover .header-dropbtn {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom: 0;
}

.btn-large{
	padding-left: 18px;
	padding-right: 18px;
	height: 48px;
	border-radius: 24px;
	border: 1px solid #D9D2B0;
	background-color: #FCF1D8;
	transition: background 0.5s ease, border 0.5s ease;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	font-weight: bold;
	font-size: 20px;
}
#header-mobile-menu-btn svg{
	height: 20px;
	fill: #4D4D37;
	transition: fill 0.5s ease;
	margin-right: 12px;
	margin-top: 1px;
}

.btn-round-large{
	height: 48px;
	width: 48px;
	border-radius: 24px;
	border: 1px solid #D9D2B0;
	background-color: #FCF1D8;
	transition: background 0.5s ease, border 0.5s ease;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}





/*
* Sidebar
*/
#sidebar-overlay{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999999;
  background-color: rgba(0,0,0,.2);
  transition: background-color 0.5s ease;
  overflow: auto;
  display: none;
}
#sidebar{
	position: fixed;
	top: 0;
	bottom: 0;
	width: 270px;
	right: -270px;
	overflow: auto;
	z-index: 2;
	-webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #4C4C37;
  transition: background-color 0.5s ease, transform 0.4s;
	box-shadow: -10px 0px 10px 0px rgba(0, 0, 0, 0.50);
	color: #fff;
}
#sidebar a{
	color: #fff;
	transition: color 0.5s ease;
	line-height: 32px;
}
#sidebar ul{
	list-style-type: none;
	padding-inline-start: 0;
}

#sidebar.active{
	transform: translate(-270px);
}
#sidebar-close-btn{
	position: absolute;
	top: 32px;
	right: 32px;
	transform: translate(50%, -50%);
	padding: 8px;
}
#sidebar-content{
	margin-top: 48px;
	margin-left: 16px;
	margin-right: 16px;
}


/*
* Horizontal navigation
*/
nav{
	background-color: rgba(153, 153, 102, 0.35);
	transition: background-color 0.5s ease;
}
#nav-content{
	height: 64px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #4D4D37;
	transition: color 0.5s ease;
}
#nav-content{
	line-height: 32px;
	font-size: 14px;
	font-weight: bold;
}
#nav-content > a{

}
.nav-btn-active{
	background-color: #FCF1D8;
	transition: background-color 0.5s ease;
	padding-left: 8px;
	padding-right: 8px;
	border-radius: 8px;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropbtn {
  cursor: pointer;
}
.nav-dropdown-content {
  display: none;
  position: absolute;
  right: 0px;
  background-color: #d9d1b2;
  min-width: 150px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 16px;
}
.nav-dropdown-content a {
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  line-height: normal;
}
.nav-dropdown-content a:hover {
	background-color: #B6B092;
}
.nav-dropdown-content a:first-of-type{
	border-top-right-radius: 16px;
	border-top-left-radius: 16px;
}
.nav-dropdown-content a:last-of-type{
	border-bottom-right-radius: 16px;
	border-bottom-left-radius: 16px;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}
.nav-dropdown:hover .nav-dropbtn {
	color:#000;
}




/*
* Breadcrumb
*/
#breadcrumb{
	color: rgba(77, 77, 55, 0.60);
	transition: color 0.5s ease;
	font-size: 13px;
	margin-top: 16px;
	margin-bottom: 16px;
}
#breadcrumb a{
	color: rgba(77, 77, 55, 0.60);
	transition: color 0.5s ease;
	text-decoration: underline;
}


/*
* Homepage
*/
#all-games::before {
  content: '';
  display: block;
  height: 100px;
  margin-top: -100px;
  visibility: hidden;
}


/*
* Part above the game
*/
#above-game{
	color: #4D4D37;
	transition: color 0.5s ease;
	margin-bottom: 16px;
}
h1{
	color: #000;
	transition: color 0.5s ease;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	margin: 1em 0 0.67em 0;
}
#above-game-menu{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.btn-above-game{
	font-weight: bold;
	cursor: pointer;
	line-height: 32px;
	display: inline-block;
	margin-right: 24px;
	-webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
.btn-above-game:last-of-type{
	margin-right: 0;
}
#above-game-menu-right .btn-above-game{
	margin-right: 12px;
}
#above-game-menu-right .btn-above-game:last-of-type{
	margin-right: 0;
}
.btn-above-game span{
	display: inline-block;
}
.btn-above-game svg{
	margin-bottom: 3px;
	margin-right: 6px;
	vertical-align: middle;
}
.btn-above-game svg path{
	fill:#4D4D37;
	transition: fill 0.5s ease;
}
.btn-above-game:hover{
	color: #000;
	transition: color 0.5s ease;
}
.btn-above-game:hover svg path{
	fill: #000;
	transition: fill 0.5s ease;
}
#btn-like, #btn-dislike{
	border: 1px solid #4D4D37;
	border-radius: 16px;
	padding: 0 12px;
	box-sizing: border-box;
	height: 32px;
	line-height: 30px;
	transition: border 0.5s ease;
}
#btn-like.active, #btn-dislike.active{
	background-color: #4D4D37;
	color: #fff;
}
#btn-like.active svg path, #btn-dislike.active svg path{
	fill: #fff;
}
#btn-like .thumbs-regular, #btn-dislike .thumbs-regular{
	display: initial;
}
#btn-like .thumbs-solid, #btn-dislike .thumbs-solid{
	display: none;
}
#btn-like.active .thumbs-regular, #btn-dislike.active .thumbs-regular{
	display: none;
}
#btn-like.active .thumbs-solid, #btn-dislike.active .thumbs-solid{
	display: initial;
}

.above-game-links a{
	text-decoration: underline;
}

#btn-back-to-game{
	display: none;
	cursor: pointer;
	position: fixed;
	right: 16px;
	bottom: 16px;
	background-color: #4D4D37;
	color: #fff;
	border-radius: 24px;
	padding: 0 24px;
	box-sizing: border-box;
	height: 48px;
	line-height: 46px;
	font-weight: bold;
	font-size: 16px;
	box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
}
#btn-back-to-game svg{
	margin-left: 12px;
}
#btn-back-to-game svg path{
	fill: #fff;
}

/*
* Main area
*/
#game-container{
	margin-left: auto;
	margin-right: auto;
}
#game-iframe{
	border: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background-color: #FCF1D8;
}
ruffle-player, ruffle-embed, ruffle-object {
	--preloader-background: #99986c;
	--logo-display: none;
	--ruffle-blue: #D9D2B0;
  --ruffle-orange: #FCF1D8;
}
#main-area-left-also-like, #main-area-right-also-like{
	position: absolute;
	left: 50%;
	top: -20px;
	transform: translate(-50%, -100%);
	width: 160px;
	text-align: center;
	transition: color 0.5s ease; 
}
#main-area-left-also-like .game-image-link, #main-area-right-also-like .game-image-link{
	margin: 6px auto 0 auto;
}

/*
* Main are mobile
*/
#mobile-play-container{
	width: 100%;
	max-width: 400px;
	min-width: 200px;
	min-height: 115px;
	margin-left: auto;
	margin-right: auto;
	aspect-ratio: 200 / 115;
	background-size: cover;
	background-position-y: center;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
}
#mobile-play-container::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(252, 241, 216, 0.5);
}
#mobile-play-container-content{
	position: relative;
}
#mobile-play-btn{
	cursor: pointer;
	height: 48px;
	padding-left: 16px;
	padding-right: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 24px;
	animation: .4s jump ease infinite alternate;
	transition: all .2s ease-in-out;
	background-color: #4D4D37;
	color: #ffffff;
	transition: color 0.5s ease, background-color 0.5s ease;
	font-size: 16px;
	font-weight: bold;
	-webkit-user-select: none !important;
	-khtml-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	user-select: none !important;
}
@keyframes jump {
  0% {
    transform: scale(1);
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
  }
  100% {
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
  }
}
#mobile-game-container{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 2000;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;

	touch-action: none !important;
	touch-action-delay: none !important;
	-webkit-touch-callout: none !important;
	-webkit-user-select: none !important;
	-khtml-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	user-select: none !important;
	-webkit-tap-highlight-color: rgba(0,0,0,0) !important;
	outline: none!important;
	outline-style: none !important;

	opacity: 0;
  transition: opacity 0.5s ease;
}
#mobile-game-container.fade-in{
	opacity: 1;
}
#mobile-game-iframe{
	overflow: hidden;
	background: #FCF1D8;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	max-width: 100%;
	max-height: 100%;
	width: 1px;
	min-width: 100%; 
	height: 1px;
	min-height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
#mobile-game-container-close-btn {
  position: absolute;
  top: 50px;
  left: 0;
  background: #414141;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  color: #fff;
  height: 48px;
  width: 48px;
  text-align: center;
  line-height: 48px;
  transition: width 1000ms;
  cursor: pointer;
  z-index: 5000;
}

/*
* Part below game
*/
#below-game-hide{
	display: none;
}
#below-game-hide-btn{
	cursor: pointer;
	text-decoration: underline;
	margin-top: 12px;
	display: inline-block;
	transition: color 0.5s ease;
}
#below-game{
	color: #000000;
	transition: color 0.5s ease;
	margin-bottom: 16px;
	scroll-margin: 64px;
}
h2{
	font-size: 14px;
	font-weight: 700;
}
h3{
	font-size: 13px;
	font-weight: 700;
}

#below-game-desc{
	order: 1;
	flex-grow: 1;
}

#freecell-desc-hearts12{
	width: 90px;
	height: 126px;
	float: right;
	margin:4px 0px 40px 8px;
	cursor: auto;
	border: #999 1px solid;
	border-radius: 6px;
	box-shadow: 3px 3px 3px #bcb;
}
#freecell-desc-spades11{
	width: 90px;
	height: 126px;
	float: right;
	margin:40px -100px 6px 0;
	cursor: auto;
	border: #999 1px solid;
	border-radius: 6px;
	box-shadow: 3px 3px 3px #bcb;
}

#below-game-similar{
	order: 2;
}

#below-game-similar-games{
	display: flex;
	flex-wrap: wrap;
}

.game-image-link{
	position: relative;
	display: block;
	width: 120px;
	height: 87.36px;
	margin-bottom: 16px;
}
.game-image-link .name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 13px;
  background-color: #414141;
  color: #fff;
  transition: color 0.5s ease, background-color 0.5s ease;
  font-weight: bold;
  visibility: hidden;
  opacity: 0;
  transition: opacity 300ms;
  text-align: center;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}
.game-image-link img {
	border-radius: 8px;
	box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
	transition: box-shadow 0.5s ease;
}

.game-image-link:hover .name{
	visibility: visible;
	opacity: 1;
	transition:opacity 300ms;
}

/*
* General pages
*/
.grey-text{
	color: #4D4D37;
}
#home-banner{
	border:1px solid #D9D2B0;
	width: 100%;
	height: 282px;
	background-image: url(../images/mahjongg-solitaire-large.png);
	background-size: cover;
	background-position-y: center;
	position: relative;
	margin-bottom: 24px;
	display: none;
}
#home-banner::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(252, 241, 216, 0.8);
}
#home-banner-content{
	position: relative;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	height: 100%;
}
#home-banner img{
	border-radius: 16px;
	box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.50);
}
#home-banner-right{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
}
#home-banner-title{
	font-size: 20px;
	font-weight: bold;
	color: #000;
}
#home-banner-play-btn{
	cursor: pointer;
	height: 48px;
	margin-top: 36px;
	padding-left: 24px;
	padding-right: 24px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border-radius: 24px;
	animation: .4s jump ease infinite alternate;
	transition: all .2s ease-in-out;
	background-color: #4D4D37;
	color: #ffffff;
	transition: color 0.5s ease, background-color 0.5s ease;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
}

#home-banner-mobile{
	padding-top: 24px;
	padding-bottom: 24px;
	border:1px solid #D9D2B0;
	width: 100%;
	background-image: url(../images/mahjongg-solitaire-large.png);
	background-size: cover;
	background-position-y: center;
	position: relative;
	margin-bottom: 24px;
}
#home-banner-mobile::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(252, 241, 216, 0.8);
}
#home-banner-mobile-content{
	position: relative;
	text-align: center;
}
#home-banner-mobile img{
	border-radius: 8px;
	box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.50);
}
#home-banner-mobile-title{
	font-size: 16px;
	font-weight: bold;
	color: #000;
}
#home-banner-mobile-play-btn{
	cursor: pointer;
	height: 48px;
	margin-top: 24px;
	padding-left: 24px;
	padding-right: 24px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border-radius: 24px;
	animation: .4s jump ease infinite alternate;
	transition: all .2s ease-in-out;
	background-color: #4D4D37;
	color: #ffffff;
	transition: color 0.5s ease, background-color 0.5s ease;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
}

.games-list{
  padding: 0;
  margin: 12px 0 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  column-gap: 6px;
  row-gap: 24px;
}
.games-list li{
  list-style-type: none;
  width: 125px;
  /*height: 199px;*/
}
.games-list a{
  display: block;
  clear: both;
  color: #000;
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #4D4D37;
}
.games-list a:hover{
	color: #000;
	text-decoration: none;
}
.games-list a div{
	width: 125px;
	height: 91px;
	margin-bottom: 8px;
}
.games-list img{
	width: 125px;
	height: 91px;
  border-radius: 6px;
  box-shadow: 0px 1px 3px 0 #959795;
}

.video-container {
  position:relative;
  padding-bottom:56.25%;
  padding-top:30px;
  height:0;
  overflow:hidden;
  width: 80%;
}

.video-container iframe, .video-container object, .video-container embed {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}
.unicode-tile {
	font-family: Segoe Color Emoji;
	font-size: 36px;
	background-color: transparent;
	margin: 0;
}


/* Category pages */
/*
.games-list-wide{
  padding: 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 6px;
}
.games-list-wide li{
  list-style-type: none;
  width: 125px;
}
.games-list-wide a{
  display: block;
  clear: both;
  color: #000;
  margin: 0;
  margin-bottom: 24px;
  text-align: center;
  font-size: 14px;
}
.games-list-wide a div{
	width: 125px;
	height: 91px;
	margin-bottom: 8px;
}
.games-list-wide a:hover {
	text-decoration: underline;
}
.games-list-wide img{
	width: 125px;
	height: 91px;
  border-radius: 6px;
  box-shadow: 0px 1px 3px 0 #959795;
}
*/

/*
* Footer
*/
footer{
	background-color: #D9D2B0;
	transition: background-color 0.5s ease;
	padding-top: 16px;
	padding-bottom: 16px;
}

footer ul{
	list-style-type: none;
	padding-inline-start: 0;
}




/*
* Transition message
*/
#transition-message{
	display: none;
	padding: 8px 24px;
	position: absolute;
	top: 8px;
	right: 8px;
	border-radius: 16px;
	background-color: #4D4D37;
	color: rgba(255, 255, 255, 0.8);
	box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.3);
	z-index: 999999;
}

#transition-message span{
	cursor: pointer;
	margin-right: 16px;
	text-decoration: underline;
}
#transition-message span:last-of-type{
	margin-right: 0;
}
#transition-message-close-btn{
	position: absolute;
	top: 4px;
	right: 8px;
	cursor: pointer;
}
#transition-message a{
	color: rgba(255, 255, 255, 0.8);
	text-decoration: underline;
}

/*
* Desktop
*/
@media only screen and (min-width: 820px) {
  #header-content{
  	padding-left: 0;
  	padding-right: 0;
  }
  #header-desktop-menu{
  	display: block;
	}

  #breadcrumb{
  	font-size: 14px;
  }

  h1{
  	font-size: 20px;
  }
  h2{
  	font-size: 16px;
  }
  h3{
  	font-size: 14px;
  }

  #transition-message{
		top: 8px;
		right: -16px;
	}

	.games-list{
		justify-content: space-between;
	}
	.games-list li{
  	width: 175px;
	}
	.games-list a{
  	font-size: 14px;
	}
	.games-list a div{
		width: 175px;
		height: 127px;
		margin-bottom: 8px;
	}
	.games-list img{
		width: 175px;
		height: 127px;
  	border-radius: 8px;
  	box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.25);
	}

	#home-banner{
		display: block;
	}
	#home-banner-mobile{
		display: none;
	}

	#below-game-hide{
		display: block;
	}
}

/*
* Landscape mobile
*/
@media only screen and (min-width: 500px) and (max-height: 428px) {
	#mobile-play-container{
		width: 400px;
		margin-left: auto;
		margin-right: auto;
	}	
}




body.dark{
	background-color: #0E1418;
}
.dark a{
	color: rgba(255, 255, 255, 0.7);
}
.dark a:hover{
	color: rgba(255, 255, 255, 1);
}
.dark #header-site-title{
	color: rgba(255, 255, 255, 1);
}
.dark #header-site-title-fun{
	color: rgba(255, 255, 255, 0.7);
}


.dark .header-button{
	color: rgba(255, 255, 255, 0.7);
	background-color: #2B2F32;
	border: 1px solid #0E1418;
}
.dark .caret:before {
  border-top: 5px solid rgba(255, 255, 255, 0.7);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}
.dark #header-desktop-menu > div:hover .caret:before{
	border-top: 5px solid rgba(255, 255, 255, 1);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}
.dark .header-dropdown-content {
  background-color: #2B2F32;
  border: 1px solid #0E1418;
  box-shadow: 0px 4px 8px 0px rgba(255,255,255,0.1);
}
.dark .header-dropdown-content a:hover {
	background-color: #0E1418;
}
.dark .header-dropdown-content a div {
	border-top: 1px solid #0E1418;
}
.header-dropdown-content a:hover + a div{
	border-top-color: rgba(0,0,0,0);
}
.dark .header-dropdown:hover .header-dropbtn {
	color: rgba(255, 255, 255, 1);
}


.dark .btn-large{
	border: 1px solid #2B2F32;
	background-color: #0E1418;
}
.dark #header-mobile-menu-btn svg{
	fill: rgba(255, 255, 255, 0.7);
}
.dark .btn-round-large{
	border: 1px solid #2B2F32;
	background-color: #0E1418;
}
.dark #sidebar-overlay{
  background-color: rgba(0,0,0,.2);
}
.dark #sidebar{
	background-color: #4C4C37;
	box-shadow: -10px 0px 10px 0px rgba(0, 0, 0, 0.50);
	color: rgba(255, 255, 255, 0.7);
}
.dark #sidebar a{
	color: rgba(255, 255, 255, 0.7);
}
.dark nav{
	background-color: #2B2F32;
}
.dark #nav-content{
	color: rgba(255, 255, 255, 0.7);
}
.dark .nav-btn-active{
	background-color: #0E1418;
}
.dark .nav-dropdown-content {
  background-color: #2B2F32;
  box-shadow: 2px 2px 4px 0px rgba(255,255,255,0.1);
}
.dark .nav-dropdown-content a:hover {
	background-color: rgba(255, 255, 255, 0.1);
}
.dark .nav-dropdown:hover .nav-dropbtn {
	color: rgba(255, 255, 255, 1);
}
.dark #breadcrumb{
	color: rgba(255, 255, 255, 0.4);
}
.dark #breadcrumb a{
	color: rgba(255, 255, 255, 0.4);
}
.dark #above-game{
	color: rgba(255, 255, 255, 0.7);
}
.dark h1{
	color: rgba(255, 255, 255, 1);
}

.dark .btn-above-game svg path{
	fill: rgba(255, 255, 255, 0.7);
}
.dark .btn-above-game:hover{
	color: rgba(255, 255, 255, 1);
}
.dark .btn-above-game:hover svg path{
	fill: rgba(255, 255, 255, 1);
}
.dark #btn-like, .dark #btn-dislike{
	border: 1px solid rgba(255, 255, 255, 0.7);
}
.dark #btn-like.active, .dark #btn-dislike.active{
	border: 1px solid transparent;
	background-color: rgba(255, 255, 255, 0.7);
	color: #0E1418;
}
.dark #btn-like.active svg path, .dark #btn-dislike.active svg path{
	fill: #0E1418;
}

.dark #main-area-left-also-like, .dark #main-area-right-also-like {
	color: rgba(255, 255, 255, 0.7);
}

.dark #mobile-play-container::before {
  background-color: rgba(14, 20, 24, 0.5);
}
.dark #mobile-play-btn{
	background-color: rgba(255, 255, 255, 1);
	color: #0E1418;
}
.dark #below-game{
	color: rgba(255, 255, 255, 0.7);
}
.dark #below-game-hide-btn{
	color: rgba(255, 255, 255, 0.7);
}
.dark .game-image-link .name {
  background-color: #2B2F32;
  color: rgba(255, 255, 255, 1);
}
.dark .game-image-link img {
	box-shadow: 2px 2px 4px 0px rgba(255, 255, 255, 0.1);
}
.dark footer{
	background-color: #2B2F32;
}
.dark footer h3{
	color: rgba(255, 255, 255, 1);
}