:root { 
  --themeTextColor: #5E7385;
  --themeFgColor: #ffffff;
  --themeBgColor: #efefef;
  /* --themeHlColor: #cb0c9f; */
  --themeHlColor: #17c1e8;
  --themeRadius: 6px;
  --themeDescAlign: left;
  --themeFont: Open Sans;
}
html,body { 
  margin: 0; 
  padding: 0; 
  height: 100%; 
  color: #5E7385;
  max-width: 100%;
  overflow-x: hidden;
}
@font-face {                                                                
  font-family: 'D-DIN';                                                     
  src: url('/html5/bin/assets/D-DIN.eot?#iefix') format('embedded-opentype'),          
  url('/html5/bin/assets/D-DIN.woff') format('woff'),                                  
  url('/html5/bin/assets/D-DIN.ttf') format('truetype'),                               
  url('/html5/bin/assets/D-DIN.svg#D-DIN') format('svg');                              
  font-weight: normal;                                                      
  font-style: normal;                                                       
}   
@font-face {
  font-family: 'Whitney-Book';
  src: url('/html5/bin/assets/Whitney-Book.eot');
  src: url('/html5/bin/assets/Whitney-Book.eot?#iefix') format('embedded-opentype'),
  url('/html5/bin/assets/Whitney-Book.woff2') format('woff2'),
  url('/html5/bin/assets/Whitney-Book.woff') format('woff'),
  url('/html5/bin/assets/Whitney-Book.svg#Whitney-Book') format('svg');
  font-weight: 500;
  font-style: normal;
}
body {
  background: var(--themeBgColor);
  font-family: var(--themeFont);
}
.navbar {
  font-family: Open Sans;
}
#flowlab-logo {
  filter: drop-shadow(1px 0px 2px #5e7385);
}
a {
  color: var(--themeHlColor);
  font-weight: bold;
}
.padded_game_w {
  width: var(--gameWidthPadded);
}
.default-frame {
  width: var(--gameWidthPadded);
}
#appstore_links {
  width: var(--gameWidthPadded);
}
#itch {
  width: var(--gameWidthPadded);
}
.full-frame {
  position:absolute;
  bottom:0;
  top:0;
  width:100%;
  padding-bottom:0;
  overflow:hidden;
}
.default-frame {
  /* display: inline-block; /* shrink to fit game */
  margin-top: 40px;
  background: var(--themeFgColor);
  padding:10px;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  border-radius: var(--themeRadius);
  color: var(--themeTextColor);
  /* don't stretch off page on small phones */
  max-width: 100%;
}
.shrink_frame {
  margin: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding-top: 40px;
  padding-bottom: 10px;
  padding-left: 0px;
  padding-right: 0px;
  background: var(--themeFgColor);
  color: var(--themeTextColor);
}
#game_info {
  user-select: none;
  text-align: center;
  padding-left: 20px; 
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  /* don't stretch off page on small phones */
  max-width: 100%;
}      
#description_data {
  padding:30px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  background: var(--themeFgColor);
  border-radius: var(--themeRadius);
  text-align: var(--themeDescAlign);
  color: var(--themeTextColor);
  /* don't stretch off page on small phones */
  max-width: 100%;
}
#description_data img {
  max-width: 100%;
  object-fit: contain;
}
#description_data h1 { 
  font-size: 2.5rem; 
  color: var(--themeTextColor);
}
#description_data h2 { 
  font-size: 2.2rem; 
  color: var(--themeTextColor);
}
#description_data h3 { 
  font-size: 2.0rem; 
  color: var(--themeTextColor);
}
#description_data h4 { 
  font-size: 1.8rem; 
  color: var(--themeTextColor);
}
#description_data h5 { 
  font-size: 1.5rem; 
  color: var(--themeTextColor);
}
#description_data h6 { 
  font-size: 1rem; 
  color: var(--themeTextColor);
}
#description_data blockquote {
  font-style: italic;
  opacity: 0.7;
}
#description_data hr {
  background-image: linear-gradient(to right,var(--themeFgColor),var(--themeTextColor),var(--themeFgColor));
}
#connection-status {
  width: 200px;
  background: var(--themeFgColor);
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 2px;
  border-radius: var(--themeRadius);
}
.rotate {
  animation: rotation 2s infinite linear;
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
#itch {
  margin-left:auto;
  margin-right:auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
#itch iframe {
  border-radius: var(--themeRadius);
}
#appstore_links {
  margin-left:auto;
  margin-right:auto;
}
.btn-toolbar {
  margin-top: 20px;
  margin: auto;
  text-align: center;
  /* don't stretch off page on small phones */
  max-width: 100%;
}
.clone_label {
  margin-top: 20px;
  margin-bottom: 40px;
  color: var(--themeTextColor);
  font-size: 0.8rem;
  opacity: 0.8;
  text-align:center;
}
.edit_mode {
  display:none;
}
/* match buttons to theme */
.theme-btn {
	display: inline-block;
	font-weight: 600;
	color: #212529;
	text-align: center;
	border: 1px solid transparent;
/*	padding: .375rem .75rem; */
  padding: 8px 16px;
	font-size: 0.8rem;
	line-height: 1.5;
  border-radius: var(--themeRadius);
  color: var(--themeTextColor);
	background-color: var(--themeFgColor);
  /*
  margin-left: 0.13rem;
  margin-right: 0.13rem;
  */
}
.theme-btn:hover{
  background-color: var(--themeBgColor);
  border: 2px solid var(--themeFgColor);
  padding: 7px 15px;
}
.theme-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}
.theme-btn svg {
  fill: var(--themeTextColor);
  opacity: 0.7;
}
.btn svg {
  fill: var(--themeTextColor);
}
#qr-code {
  fill: var(--themeTextColor);
}
#like-btn {
  fill: var(--themeTextColor);
}
#achievements {
  fill: var(--themeTextColor);
}
#report-btn {
  fill: var(--themeTextColor);
  stroke: var(--themeTextColor);
  stroke-width: 18;
  stroke-linejoin: round;
}
#report-btn svg:hover {
  transition: stroke 150ms linear;
  stroke: var(--themeHlColor);
}
.display_mode { }
#editor_wrapper {
  padding:10px;
  padding-top: 20px;
  padding-bottom: 20px;
}

#editor_wrapper textarea {
  width: 80%;
  height: 100px;
}

#main {
  width:100%;
}
#builder{
  outline:none;
  margin:auto;
  text-align:center;
  width: var(--gameWidth);
  height: var(--gameHeight);
}
#game_author {
  margin-top:-12px;
  margin-bottom:6px;
}
.navbar-static-top .container {
  width:100%;
}
/* hide navigation on phones */
@media (max-width: 767px) { 
  .navbar {
    display:none;
  }
}
.fatal-error {
  color:#fff;
  font-weight: normal;
  font-size: 12px;
  background-color: #ec6952;
  /* border-radius: 6px; */
  padding:10px;
}
.theme-form {
  padding:10px;
  padding-top: 30px;
  background: var(--themeFgColor);
  margin-left:auto;
  margin-right:auto;
}
.theme-form input {
  width: 100px;
}
h2 {
  font-size: 32px;
}
.appstore-btn {
  width: 200px;
}
.icon-stats {
  /*
  max-width: 150px
  */
}
.game-stats {
  overflow: hidden;
  padding-left: 8px;
  display: flex;
  flex-flow: column;
  transition: 1s ease;
  user-select: none;
  position: relative;
}
#play-1, #play-2 {
  display: block;
  transition: 0.5s transform;
  display: flex;
}
#play-2 {
  position: absolute;
  transform: translateY(100%);
  display: flex;
}
#like-1, #like-2 {
  display: block;
  transition: 0.3s transform;
  display: flex;
}
#like-2 {
  position: absolute;
  transform: translateY(100%);
  display: flex;
}
/* non-clickable */
.svg-icon {
  fill: var(--themeTextColor);
}
.svg-link svg:hover {
  transition: fill 150ms linear;
  fill: var(--themeHlColor);
}
.heart-icon {
	width: 20px;
}
.heart-icon path {
	fill: none;
	stroke-width: 5;
	stroke: var(--themeTextColor);
}
.heart-icon:hover path {
  transition: stroke 150ms linear;
	stroke: var(--themeHlColor);
}
.add-to-favorite.clicked .heart-icon path {
	stroke: var(--themeHlColor);
	fill: var(--themeHlColor);
}

#snippet {
  border-style:none;
  position: absolute;
  width:70vh;
  height:80vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  background: #2f343f;
  color: #fff;
  box-shadow: 0px 0px 24px 13px rgb(0 0 0 / 44%);
  z-index: 2; /* Sit on top */
}
/* The Modal (background) */
#snippet-bg {
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color #020203 */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal_force_width {
  width: 100% !important;
}

