* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

@font-face {
  font-family: SpeedeeCondensed-Regular;
  src: url("../assets/fonts/SpeedeeCondensed-Regular.ttf");
}
@font-face {
  font-family: SpeedeeCondensed-Bold;
  src: url("../assets/fonts/SpeedeeCondensed-Bold.ttf");
}

:root {
  --primary: #FFBC0D;
  --secondary: #264F36;
  --text-primary: #24272A;
  --button-background: #264F36;
  --button-text: #FFBC0D;
}

.logo {
  width: 80px;
  border-radius: 8px;
}

.logo-mobile {
  width: 80px;
  border-radius: 8px;
  margin-left: 0;
  margin-bottom: 2rem;
}

.content {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 1rem;
}

.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;
}

.card-canvas {
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 8px;
}

.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;
  border-radius: 8px;
}

.card-outline {
  outline: 3px solid var(--primary);
  outline-offset: -2px;
  outline-style: dashed;
  border-radius: 8px;
}

.card-match {
  outline: 6px solid var(--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: 8px;
}

@-webkit-keyframes blink {
  0%   { outline-width : 0px; }
  100% { outline-width : 6px; }
}
@-moz-keyframes blink {
  0%   { outline-width : 0px; }
  100% { outline-width : 6px; }
}
@-o-keyframes blink {
  0%   { outline-width : 0px; }
  100% { outline-width : 6px; }
}
@keyframes blink {
  0%   { outline-width : 0px; }
  100% { outline-width : 6px; }
}

.modal{
	overflow: visible;
  padding: 30px !important;
}
#message h2{
	margin-bottom: 1rem;
	text-align: left;
	font-weight: bold;
}
#message p{
	text-align: left;
}

.btn {
  padding: .5rem 2.5rem;
  text-transform: inherit;
  border: none;
  font-size: 1.8rem;
  -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: SpeedeeCondensed-Bold, sans-serif !important;
  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 {
  background-color: white;
  padding: 0.5rem;
  padding-left: 2rem;
  margin-left: -15px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

h2.heading-style {
  color: var(--text-primary);
  font-size: 2.6rem;
  margin: 0.5rem 1rem;
  font-family: SpeedeeCondensed-Bold, sans-serif;
}

.main-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  max-width: 1000px;
  object-fit: contain;
}

p.copyright {
  color: #616161;
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

form {
  width: 100%;
}

form .form-group {
  margin-bottom: 1rem;
}

form .form-group label {
  color: var(--text-primary);
  margin-bottom: 0;
}

form .form-group input.form-control {
  font-size: 1.5rem;
  background-color: transparent;
  border: 2px solid var(--text-primary);
  padding: 0 1rem;
  height: 50px;
  border-radius: 8px;
  color: var(--text-primary);
}

form .form-group input.form-control::-webkit-input-placeholder {
  color: var(--text-primary);
}

form .form-group input.form-control:-ms-input-placeholder {
  color: var(--text-primary);
}

form .form-group input.form-control::-ms-input-placeholder {
  color: var(--text-primary);
}

form .form-group input.form-control::placeholder {
  color: var(--text-primary);
}

form .form-group input.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: calc(50% - 0.45rem);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  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='%23FFBC0D' 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.5);
  border-radius: 4px;
}

.custom-checkbox {
  margin: 0.1rem 0;
  color: var(--text-primary);
}

.custom-checkbox label{
  cursor: pointer;
}

.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);
}

.bottom-table {
  padding: 0;
  margin-top: 3rem;
  position: relative;
}

.bottom-table .logo {
  position: absolute;
  left: 3rem;
  bottom: 3rem;
}

html,
body {
  width: 100%;
  min-height: 100vh;
}

body {
  background-image: url("../assets/images/bg-desktop.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  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: SpeedeeCondensed-Regular, sans-serif !important;
  font-size: 1.5rem;
}

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: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  overflow: hidden;
  max-width: 650px;
}

body .main-content .game__block .game__item {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 28%;
          flex: 0 0 28%;
  max-width: 30%;
  margin: 6px;
}

body .main-content .register-page {
  display: none;
}

.logo-alt {
  z-index: 2;
}

.main-image-alt {
  left: 14%;
  width: 36%;
  bottom: 30%;
  z-index: 1;
  max-height: 420px;
}

body .main-content .outcome-page {
  display: none;
}

#outcome-text {
  font-weight: bold !important;
}

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;
  }
  body {
    height: auto;
    min-height: 100vh;
    background-image: url("../assets/images/bg-mobile.jpg");
    font-size: 1.2rem;
  }
  body.external {
    overflow-x: hidden;
  }
  body.external .heading-style, body.external h3, #message h2 {
    font-size: 6vw !important;
  }
  .heading-container, .content .description {
    padding-left: 0;
  }
  h2.heading-style {
    font-size: 2rem;
  }
  .btn {
    font-size: 1.5rem;
  }
  form .form-group input.form-control {
    font-size: 1.2rem;
  }
  .main-image {
    width: 100%;
    margin-left: 22%;
    max-width: 600px;
    z-index: 2;
    position: relative;
  }
  .bottom-table {
    /*justify-content: end;*/
    align-items: flex-end;
    margin-top: 0;
  }
  .table-image {
    object-fit: cover;
    position: absolute;
    bottom: 0;
    height: 20vh;
  }
  .blocker {
    z-index: 20 !important;
  }
  .bottom-table-alt {
    display: flex;
  }
  .logo-alt {
    left: 2rem !important;
    bottom: 1.5rem !important;
  }
  .main-image-alt {
    width: 80%;
    z-index: 1;
    position: relative;
    margin-top: 6rem;
    margin-bottom: 1rem;
    margin-left: 16%;
    max-height: none;
  }
  .body .main-content .game-page .game__block {
    margin: 0 -1.2rem;
  }
  .outcome-page .main-image
  {
    position: relative;
    margin: 0 auto;
  }
  ul.social {
    margin-left: -0.5rem;
  }
}