* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-padding-start: 0px;
  -webkit-padding-end: 0px;
}

@font-face {
  font-family: Interstate-Regular;
  src: url("../assets/fonts/Interstate-Regular.ttf");
}
@font-face {
  font-family: TchiboPen-Italic;
  src: url("../assets/fonts/TchiboPen-Italic.ttf");
}

:root {
  --primary: #C0A369;
  --secondary: #FFFFFF;
  --text-primary: #24272A;
  --button-background: #C0A369;
  --button-text: #FFFFFF;
}

.logo-container {
  display: flex;
  width: 100%;
  padding: 2rem;
  padding-left: 3rem;
}

.logo {
  width: 140px;
  border-radius: 0;
  height: intrinsic;
}

.watermark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.4;
  max-width: 800px;
  pointer-events: none;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.content .description {
  padding-left: 2rem;
  max-width: 800px;
}
  
.card-container {
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; 
  -o-user-select: none;
  user-select: none;
  border-radius: 18px;
}

.card-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
}

.not-selectable {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; 
  -o-user-select: none;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

.card-image {
  outline-width: 0px;
}

.card-outline {
  outline: 3px solid var(--text-primary);
  outline-style: dashed;
  border-radius: 18px;
}

.card-match {
  outline: 4px solid var(--text-primary);
  outline-offset: -1px;
  -webkit-animation: blink 0.5s infinite;
  -moz-animation: blink 0.5s infinite; 
  -o-animation: blink 0.5s infinite;
  animation: blink 0.5s infinite;
  border-radius: 18px;
}

@-webkit-keyframes blink {
  0%   { outline-width : 0px; }
  100% { outline-width : 4px; }
}
@-moz-keyframes blink {
  0%   { outline-width : 0px; }
  100% { outline-width : 4px; }
}
@-o-keyframes blink {
  0%   { outline-width : 0px; }
  100% { outline-width : 4px; }
}
@keyframes blink {
  0%   { outline-width : 0px; }
  100% { outline-width : 4px; }
}

.modal{
	overflow: visible;
  padding: 30px !important;
}
#message h2{
	margin-bottom: 1rem;
	text-align: left;
	font-weight: bold;
}
#message p{
	text-align: left;
  color: #000;
}

#message .btn{
  color: var(---button-background);
  background-color: var(--button-text);
}

.btn {
  padding: .5rem 2.5rem;
  text-transform: inherit;
  border: none;
  font-size: 1.3rem;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  border-radius: 8px;
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: Interstate-Regular, sans-serif !important;
  font-weight: bold;
  color: var(--button-text);
  background-color: var(--button-background);
}

.btn:focus {
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn:hover, #btn-restart:hover {
  -webkit-transform: scale(0.95);
          transform: scale(0.95);
}

.desktop {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.mobile {
  display: none !important;
}

a {
  color: var(--text-primary);
  font-weight: bold;
  text-decoration: underline !important;
  -webkit-transition: opacity .3s ease-in-out;
  transition: opacity .3s ease-in-out;
  cursor: pointer;
}

a:hover {
  color: var(--text-primary);
  opacity: 0.6;
}

.heading-container {
  padding: 0.5rem;
  padding-left: 2rem;
  margin-left: -15px;
  margin-bottom: 2rem;
  display: inline-block;
  background-color: var(--secondary);
}

h2.heading-style {
  color: var(--text-primary);
  font-size: 2.6rem;
  margin: 0 1rem;
  font-family: TchiboPen-Italic, sans-serif;
}

.main-image {
  width: 100%;
  max-width: 620px;
  object-fit: contain;
  height: intrinsic;
}

.small-text {
  font-size: 1rem;
}

form {
  width: 100%;
}

form .form-group {
  margin-bottom: 1rem;
}

form .form-group label {
  color: var(--text-primary);
  margin-bottom: 0;
}

form .form-group .form-control {
  font-size: 1.3rem;
  background-color: transparent;
  border: 2px solid var(--text-primary);
  padding: 0 1rem;
  height: 50px;
  border-radius: 8px;
  color: var(--text-primary);
}

form .form-group .form-control::-webkit-input-placeholder {
  color: var(--text-primary);
}

form .form-group .form-control:-ms-input-placeholder {
  color: var(--text-primary);
}

form .form-group .form-control::-ms-input-placeholder {
  color: var(--text-primary);
}

form .form-group .form-control::placeholder {
  color: var(--text-primary);
}

form .form-group .form-control:focus {
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--secondary);
}

.custom-checkbox .custom-control-label::before, .custom-checkbox .custom-control-label::after {
  top: 0.7rem;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background-color: var(--text-primary);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23C0A369' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
  transform: scale(1.2);
  background-size: 12px;
  border-radius: 4px;
}

.custom-checkbox {
  margin: 0.1rem 0;
  color: var(--text-primary);
}

.custom-checkbox label{
  cursor: pointer;
  padding-top: 0.2rem;
}

.custom-checkbox a {
  color: var(--text-primary);
  font-weight: bold;
}

.custom-checkbox a:hover {
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.6;
}

.custom-checkbox .custom-control-label::before {
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid var(--text-primary);
  transform: scale(1.2);
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.select-wrapper{
  position: relative;
  float: left;
  width: 100%;
  margin-bottom: 1rem;
}

.drop-down-arrow {
  color: black;
  right: 1rem;
  top: 20px;
  width: 18px;
  font-size: 2.5rem;
  position: absolute;
  pointer-events: none;
  display: block;
}

option {
  color: #000;
}

html,
body {
  width: 100%;
  min-height: 100vh;
}

body {
  background-image: url("../assets/images/desktop_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--text-primary);
  font-family: Interstate-Regular, sans-serif !important;
  font-size: 1.3rem;
}

body .main-content {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

body .main-content .game-page {
  display: none;
}

body .main-content .game-page .game__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: center;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  overflow: hidden;
  max-width: 650px;
  margin-left: 1.8rem;
}

body .main-content .game__block .game__item {
  flex: 1 0 31%;
  max-width: 32%;
  margin: 1%;
}

body .main-content .register-page {
  display: none;
}

body .main-content .outcome-page {
  display: none;
}

#outcome-image {
  width: 100%;
  max-width: 700px;
}

#outcome-text-2 {
  font-size: 1.4rem;
}

ul.social {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: block;
  text-align: left;
}

ul.social li {
  margin: 1rem 0.5rem;
  margin-bottom: 0rem;
  display: inline-block;
}

ul.social li a {
  text-decoration: none;
}

ul.social li a img {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

ul.social li a img:hover {
  opacity: 0.5;
}


#spinner-front, #spinner-back {
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  width: 100%;
  transition: all 1s;
}
#spinner-front {
  z-index: 999;
  margin-top: 45vh;
  color: #fff;
  text-align: center;
}
#spinner-back {
  z-index: 998;
  height: 100vh;
  background: #000;
}
#spinner-front.show {
  visibility: visible;
  opacity: 1;
}
#spinner-back.show {
  visibility: visible;
  opacity: 0.7;
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em !important;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.loader {
  color: var(--primary);
  font-size: 10px;
  margin: auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 3.5em;
}
@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}



/*
*   Responsive
*/


@media only screen and (max-width: 767px) {
  .desktop {
    display: none !important;
  }
  .mobile {
    display: block !important;
  }
  h2.heading-style {
    font-size: 2.2rem;
  }
  body {
    background-image: url("../assets/images/mobile_bg.jpg");
    height: auto;
    min-height: 100vh;
    font-size: 1rem;
  }
  .logo-container {
    padding-left: 1rem;
    padding-bottom: 0;
  }
  body.external {
    overflow-x: hidden;
  }
  body.external .heading-style, body.external h3, #message h2 {
    font-size: 6vw !important;
  }
  .content {
    margin-bottom: 0;
  }
  .heading-container, .content .description {
    padding-left: 0;
  }
  .btn {
    font-size: 1rem;
  }
  form .form-group .form-control {
    font-size: 1rem;
  }
  .small-text {
    font-size: 0.8rem;
  }
  .main-image {
    width: 100%;
    max-width: 600px;
  }
  .ferris-wheel-container {
    align-items: flex-end;
    margin-top: 0;
  }
  .table-image {
    object-fit: cover;
    position: absolute;
    bottom: 0;
    height: 20vh;
  }
  .blocker {
    z-index: 20 !important;
  }
  body .main-content .game-page .game__block {
    margin-left: -1%;
  }
  .outcome-page .main-image
  {
    margin: 0 auto;
  }
  #outcome-text-2 {
    font-size: 1.2rem;
  }
  ul.social {
    margin-left: -0.5rem;
  }
}

/* LANGUAGE SWITCH */
.language-switch {
	text-align: right;
	position: absolute;
	top: 1.6rem;
  right: 0;
  padding: 0.5rem;
  padding-bottom: 0;
  background-color: var(--secondary);
	font-size: 26px;
  z-index: 2;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}
.sl-nav {
	display: inline;
}
.sl-nav ul {
	margin:0;
	padding:0;
	list-style: none;
	position: relative;
	display: inline-block;
}
.sl-nav li {
	cursor: pointer;
	padding-bottom:10px;
}
.sl-nav li ul {
	display: none;
}
.sl-nav-shown li ul {
	position: absolute;
	top: 48px;
	right: -0.5rem;
	display: block;
	background: #fff;
	width: 75px;
	padding-top: 0px;
	z-index: 20;
	border-radius:0;
  border-top: 2px solid var(--primary);
}
.sl-nav-shown li .triangle {
	position: absolute;
	top: 25px;
	right: -6px;
	z-index:10;
	height: 14px;
	overflow:hidden;
	width: 30px;
	background: transparent;
}
.sl-nav-shown li .triangle:after {
	content: '';
	display: block;
	z-index: 20;
	width: 15px;
	transform: rotate(45deg) translateY(0px) translatex(10px);
	height: 15px;
	background: #fff;
	border-radius:2px 0px 0px 0px;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.2);
}
.sl-nav li ul li {
	position: relative;
	text-align: left;
	background: transparent;
	padding: 15px 15px;
	padding-bottom:0;
	z-index: 2;
	font-size: 20px;
}
.sl-nav li ul li:last-of-type {
	padding-bottom: 15px;
}
.sl-nav li ul li span {
	padding-left: 5px;
}
.sl-nav li ul li span:hover, .sl-nav li ul li span.active {
	color: var(--primary);
}