.game {
    background-image: url(../img/background-t-v2.jpg);
    background-size: cover;
    position: relative;
    width: 100%;
    min-height: 560px;
    height: 700px;
    position: relative;
    overflow: hidden;
    background-position: center;
}
section#game {
    position: relative;
}
p#gameover {
/*    position: absolute;*/
    display: block;
    z-index: 9;
    text-align: center;
    left: 0;
    right: 0;
    /* top: 150px; */
    font-size: 45px;
    font-family: 'Alfa Slab One', cursive;

/*
    position: absolute;
    z-index: 9;
    text-align: center;
    left: 0;
    right: 0;
    top: 150px;
    font-size: 45px;
    font-weight: 800;
*/
}
.comp-btn {
    margin: 0 auto 10px auto;
    display: none;
}
.or {
    margin: 0 auto 5px auto;
    display: none;
    text-align: center;
    font-size: 45px;
    font-weight: 800;
}
#howto {
max-width: 90%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.56);
    color: white;
    position: absolute;
    z-index: 107;
    bottom: 20px;
    bottom: 20px;
    right: 20px;
    border: 1px solid #fff;
}
img.inline-img {
    position: relative;
    max-width: 15px;
    bottom: 5px;
    margin-bottom: -10px;
}
img.inline-img.sw {
    max-width: 15px;
}
#howto p {
/*    line-height: .8;*/
}
.closebtn {
    right: 0px;
    color: #000000!important;
    font-weight: bold;
    float: right;
    font-size: 30px;
    line-height: 20px;
    padding: 3px 5px 8px 5px;
    cursor: pointer;
    line-height: .6;
    transition: 0.3s;
    position: absolute;
    background-color: white;
    top: 0;
}

.closebtn:hover {
  color: black;
}
#enter{
    background-color: #a5d4f9;
/*
     background-image: url(../img/background-t-v2.jpg);
    background-size: cover;
*/
    padding: 20px 15px;
}
#howto2 {
    max-width: 1150px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.56);
    color: white;
    position: relative;
    z-index: 107;
    /* bottom: 20px; */
    /* bottom: 20px; */
    /* right: 20px; */
    border: 1px solid #fff;
    margin: 0 auto;
}
div#play-button-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 100%;
}
#play-button {
    cursor: pointer;
    background-color: #f6e201;
    display: inline-block;
    font-size: 2em;
    font-family: 'Alfa Slab One', cursive;
    color: #2f353f;
    border-radius: 190px;
    border: 0;
    z-index: 999;
    height: 200px;
    width: 200px;
    display: block;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
    margin: 0 auto;
}

#play-button:hover {
    text-shadow: 2px 3px 5px #ffffff;
/*    background-color: #37a9e0;*/
}

#play-button:hover,
#play-button:focus {
  -webkit-animation: pulse 1s;
          animation: pulse 1s;
  box-shadow: 0 0 0 1em rgba(255, 255, 255, 0);
}

@-webkit-keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 #f6e201;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 #f6e201;
  }
}
.score {
/*
  font-size: 500px;
  z-index: 20;
  font-family: arial;
  color: #d7e4d9;
  user-select: none;
  width: 100%;
  text-align: center;
*/
/*
    font-size: 170px;
    z-index: 20;
    font-family: arial;
    color: #fff;
    user-select: none;
    width: 100%;
    text-align: center;
*/
}
/*
.timerContainer, .scoreContainer {
    border: 1px solid #fff;
    overflow: hidden;
    max-width: 250px;
}
*/
div#deets-container {
    margin: 10px auto 0 auto;
    text-align: center;
}
.deets {
padding: 4px 8px;
    text-transform: uppercase;
    text-align: left;
    /* border: 1px solid #fff; */
    overflow: hidden;
    max-width: 250px;
    position: relative;
    width: 160px;
    height: 60px;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.56);
    z-index: 110;
}
p.scoreWrapper.white,p.counterWrapper.white {
    text-align: right;
    font-size: 50px;
    float: right;
    /* padding-bottom: 16px; */
    line-height: 1;
    font-weight: 900;
}
span.s {
    font-size: 22px;
}
/* Border Animation 1 */

.top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: white;
    animation: 1s topAnimate1 linear;
}

@keyframes topAnimate1 {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}

.right {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: white;
    transform: translateY(-100%);
    animation: rightAnimate1 .5s linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes rightAnimate1 {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0%);
    }
}

.bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    transform: translateX(200%);
    background: white;
    animation: bottomAnimate1 1s linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes bottomAnimate1 {
    0% {
        transform: translateX(200%);
    }
    100% {
        transform: translateX(0%);
    }
}

.left {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    transform: translateY(100%);
    height: 100%;
    background: white;
    animation: leftAnimate1 .5s linear;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

@keyframes leftAnimate1 {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0%);
    }
}
/* Border Animation 2 */
.timerContainer, .scoreContainer {
    /* max-width: fit-content; */
    border-width: 0px;
    border-style: solid;
    border-color: white;
    overflow: hidden;
    max-width: 250px;
}
.top2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: white;
    animation: 1s topAnimate2 linear;
}

@keyframes topAnimate2 {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0%);
    }
}

.left2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    transform: translateY(-100%);
    height: 100%;
    background: white;
    animation: leftAnimate2 .5s linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes leftAnimate2 {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0%);
    }
}

.bottom2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    transform: translateX(200%);
    background: white;
    animation: bottomAnimate2 1s linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@keyframes bottomAnimate2 {
    0% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(0%);
    }
}

.right2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: white;
    transform: translateY(-100%);
    animation: rightAnimate2 .5s linear;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

@keyframes rightAnimate2 {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0%);
    }
}
/*////////END*/
div#boo {
    max-width: 90%;
    margin: 0 auto;
}
.box {
    background-repeat: no-repeat!important;
  width: 139px;
  height: 250px;
  position: absolute;
  top: -150px;
  transition: transform 1.5s linear;
  cursor: pointer;
  z-index: 100;
-webkit-filter: drop-shadow(5px 5px 5px rgb(34 34 34 / 55%));
  filter: drop-shadow(5px 5px 5px rgb(34 34 34 / 55%));
}

.move {
  transform: translateY(120vh);
}

.counter {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-family: arial;
  color: #f622f4;
  font-weight: bold;
  padding-top: 10px;
  font-size: 20px;
  position: relative;
  z-index: 9999;
}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
#howto {
    max-width: 60%;
}
div#play-button-container {
    position: absolute;
    top: 50%;
}
#play-button {
    font-size: 3.5em;
    height: 250px;
    width: 250px;
}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}
/* Medium Devices, Desktops */
@media only screen and (min-width : 975px) {
#howto {
    max-width: 42.8%;
}
}
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1250px) {
.embed-container {
    margin: 50px auto 5% 5%;
}
}
