body{
  font-family: 'Open Sans', sans-serif;
}
h1, h2, h3, h4 .lead{
  color:rgb(51, 51, 51);
}
.cover-container {
  background: #FFF!important;   
  box-shadow: inset 0 0 3rem rgb(142 144 149 / 50%);
  position: absolute;
  color:#000;
  z-index: 9999;
  width: 100%;
  text-align: center;
}
.cover-container #logo{
  width: 80px;
  margin: 1rem auto;
  animation: wiggle 3s infinite;
}
.cover-container h1{
  color:#4170c4;
}
.cover-container main{
  max-width: 800px;
  margin: auto;
}
.cover-container label{
  margin-bottom: .5rem;
  color:#f5811b;
}
.text-info{
  color:#4170c4!important;
}
.text-success{
  color:rgb(0, 137, 64)!important;
}
.text-danger{
    color:#d50000!important;
}
nav.bg-primary{
  background-color: #4170c4!important;
}
.btn{
  font-weight: 700!important;
  color: rgb(255, 255, 255)!important;
  background-color: rgb(65, 112, 196)!important;
  border-color: rgb(65, 112, 196)!important;
}
.btn:hover{
  background-color:rgb(48, 82, 143)!important;
  color:#fff!important;
  border-color:rgb(48, 82, 143)!important;
}
.container{
  max-width: 800px;
}
#progress{
  margin: 1rem 0;
}
#image-container{
  position: relative;
  max-width: 550px;
  margin: 0.6rem auto;
  box-shadow: rgb(51 51 51 / 27%) 0px 17px 23px 7px inset, rgb(0 0 0 / 50%) 0px 2px 4px 0px;
}
#image-container img{
  width: 100%;
}
#image-container.loading img{
  opacity: 0.3;
}
#image-container.loading:after{
  display: block;
  width: 100%;
  content: 'Loading new image...';
  position: absolute;
  text-align: center;
  top: 48%;
  color:#4170c4;
}
#guess{
  display: inline;
  width: 50%;
  padding:0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
}
#guess-button{
  color: rgb(65, 112, 196);
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(65, 112, 196);
}
#guess-button:hover{
  background-color: rgb(224, 232, 246);
  color: rgb(48, 82, 143);
  border: 1px solid rgb(48, 82, 143);
}
#price-container{
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  text-align: center;
  left:0;
  bottom:0;
  position: absolute;
  padding: 1rem 0;
  font-size: 2rem;
  color:#4170c4;
}
#price-container span{
  display: block;
}
#result:empty:before {
  content: "\200b";
}
#result{
  font-size: 1rem;
}
#ber{
  margin-top: -3px;
}
.grow { 
  -webkit-transition-property: -webkit-transform;
  -webkit-transition-duration: .8s;
  -moz-transition-duration: .8s;
  -webkit-animation-name: grow;
  -webkit-animation-duration: .8s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: grow;
  -moz-animation-duration: .8s;
  -moz-animation-iteration-count: 1;
  -moz-animation-timing-function: linear;
}
@-webkit-keyframes grow {
  0% { transform: scale(1); }
  50% { transform: scale(2); }
  100% { transform: scale(1); }
}


/* MODAL */
/* The Modal (background) */
.gameModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  color: #000000;
  -webkit-animation-name: fadeIn; /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
  text-align: center;
  background: #fff;
}
.gameModal div{
  height: auto;
  overflow: auto;
}
/* Modal Content */
.gameModal-content {
  height: 100%!important; 
  position: fixed;
  bottom: 0;
  width: 100%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s
}
.gameModal-body {
  padding: 1rem;
  max-width: 800px;
  margin: auto;
}
.gameModal-footer {
  padding: 1.2rem 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #FFD;
} 
/* Animations */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}
@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}
@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
} 
@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  80% { transform: rotate(0deg); }
  85% { transform: rotate(15deg); }
  95% { transform: rotate(-15deg); }
  100% { transform: rotate(0deg); }
}
#endModal .social-icons{
  margin: 1rem 0;
}
#endModal .social-icons a{
  display: inline-block;
  width: 15%;
}
#endModal .social-icons a.twitter{
  margin: 0 2rem;
}
.table .result-0 td.cell-guess{
  color:rgb(0, 137, 64)
}
.table .result-1 td.cell-guess{
  color:rgb(0, 137, 64);  
}
.table .result-2 td.cell-guess{
  color:red;
}
/* END MODAL */
/* Desktop specific styles */
@media (min-width: 600px) {
  #endModal .social-icons a{
    width: 7%;
  }
}