/*---------------------------------------------------------*/
/*  COMMON                                                 */
/*---------------------------------------------------------*/

html {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
p,
pre {
  margin: 0;
}

button {
  background: transparent;
  padding: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

input::placeholder,
textarea::placeholder {
  color: inherit;
  opacity: 0.5;
}

table {
  border-collapse: collapse;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button,
input,
optgroup,
select,
textarea {
  padding: 0;
  line-height: inherit;
  color: inherit;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

body {
  background: #181818;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  /* CENTER THE CONTAINER IN DESKTOP */
  display: flex;
  justify-content: center;
  align-items: center;
}

/*---------------------------------------------------------*/
/*  UTILITIES                                              */
/*---------------------------------------------------------*/
.full {
  width: 100%;
  height: 100%;
}

.w-full {
  width: 100%;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

p {
  text-shadow: -1px -1px 0 #fbdd85,
    1px -1px 0 #fbdd85,
    -1px 1px 0 #fbdd85,
    1px 1px 0 #fbdd85,
    0 3px 3px #66461e7c;
}

.hidden {
  display: none;
}

.invisible {
  opacity: 0;
}

/*---------------------------------------------------------*/
/*  CONTAINER                                              */
/*---------------------------------------------------------*/
.container {
  width: 100%;
  height: 100%;
  background: #181818 url('../images/bg.jpg') center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.5em;
}

/* HOME */
.shield {
  position: absolute;
  top: 0;
}

.shield img {
  max-width: 90%;
}

.flavors {
  position: absolute;
  bottom: 0;
}

.flavors p {
  position: absolute;
  bottom: 12px;
}

.disclaimer {
  color: #755325;
  width: 100%;
  padding: 5px 55px;
}

.final .disclaimer {
  padding: 35px 0;
}

.titleDisclaimer {
  color: #E32213;
  font-size: 19px;
  padding: 5vh 0;
}

.descDisclaimer {
  margin-top: 8vh;
  text-align: left;
  font-size: 11px;
}

.noteDisclaimer {
  margin-top: 1vh;
  text-align: left;
  font-size: 10px;
}

.descDisclaimer,
.noteDisclaimer {
  text-transform: initial;
}

.quote {
  margin-top: 7vh;
  font-size: 20px;
}

.quote span {
  color: #E32213;
}

.interactHand {
  margin: 5vh 0;
}

.interactHand img {
  position: relative;
  width: 35px;
  margin: 0 auto;
}

/* GAME */
.intro {
  padding: 2em 0 0;
}

.bottomWDiv {
  width: 100%;
}

.tokens {
  position: relative;
}

.token {
  text-align: center;
  width: 50px;
  height: 50px;
  font-size: 40px;
  line-height: 55px;
  position: absolute;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  bottom: 110%;
}

.token p {
  width: 100%;
  font-size: 40px;

  color: #e32213;
  position: absolute;
  left: 0;
  text-transform: uppercase;
  text-shadow: 0.07em 0.05em 0px #06326e;
  white-space: nowrap;
  text-shadow:
    -0.03em -0.03em 0 #be9b53,
    0.03em -0.03em 0 #be9b53,
    -0.03em 0.03em 0 #be9b53,
    0.03em 0.03em 0 #be9b53,
    0.07em 0.05em 0px #06326e;
}

.bottom {
  animation: slideDown 5s linear forwards;
}

.token img {
  max-width: 100px;
}

.left {
  left: 10%;
}

.middle {
  left: 38%;
}

.right {
  right: 10%;
}

.panel {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  width: auto;
}


.w-panel {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  right: 0;

}

.panel img {
  z-index: 5;
}


.navig {
  cursor: pointer;
  font-size: 0.5em;
  padding: 10px 15px;
  letter-spacing: 1px;
  top: 70px;

  z-index: 9;
  color: #8A6D41;
  background: #FBDD85;

}


._next {
  right: 0;
  position: absolute;

}

._restart {
  left: 0;
  position: absolute;

}


.add {
  position: absolute;
  top: 0;
  color: #00bff3;
}

.subtract {
  position: absolute;
  top: 0;
  color: #ff0000;
}


#cuponInfo {
  margin: auto;
  width: 80%;
  text-align: center;
  font-size: 11px;
  text-transform: initial
}

.codeLetter {
  background: #000;
  padding: 8px 6px;
  font-size: 20px;
  margin: auto 2px;
  border-radius: 5px;
  color: #FFF;
}

.game .score {
  position: absolute;
  z-index: 7;
}

.score {
  position: relative;
  font-size: 32px;
}

.score p {
  width: 80%;
  overflow: hidden;
  text-align: center;
}

.score span {
  font-size: 1.5em;
  margin-right: 15px;
}

.bottle {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 115px;
  height: 160px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateX(-100%);
  z-index: 10;
}

/* FINAL */
.copy {
  position: absolute;
  bottom: 0;

  flex-direction: column;
}

.headerContainer {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  max-height: 70px;
  background: url(../images/header.jpg) top center no-repeat;
  background-size: contain;
}

.btn {
  cursor: pointer;
  border-radius: 7px;
  color: #F2E0A2;
  background: #E32213;
  width: 180px;
  height: 50px;
  font-size: 16px;
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
}

.btn_y {
  color: #623C18;
  background: #FBDC8A;
  border: 2px solid #623C18;
}


.barName {
  letter-spacing: 2px;
  font-size: 30px;

  color: #e32213;
  text-transform: uppercase;
  text-shadow: 0.07em 0.05em 0px #06326e;
  white-space: nowrap;
  text-shadow:
    -0.03em -0.03em 0 #be9b53,
    0.03em -0.03em 0 #be9b53,
    -0.03em 0.03em 0 #be9b53,
    0.03em 0.03em 0 #be9b53,
    0.07em 0.05em 0px #06326e;
}

.finish-barName {
  position: absolute;
  top: 0;
  top: 10%;
  left: 12%;
  letter-spacing: 2px;
  font-size: 30px;

  color: #e32213;
  text-transform: uppercase;
  text-shadow: 0.07em 0.05em 0px #06326e;
  white-space: nowrap;
  text-shadow:
    -0.03em -0.03em 0 #be9b53,
    0.03em -0.03em 0 #be9b53,
    -0.03em 0.03em 0 #be9b53,
    0.03em 0.03em 0 #be9b53,
    0.07em 0.05em 0px #06326e;
}

.error p {
  font-size: 14px;
  text-transform: initial;
}

.replaceByCode {
  padding: 15px 0;
}

.download {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10vh;
}

.download p {
  margin-left: 5px;
  text-shadow: 0 0;
  font-size: 12px;
}

#download {
  display: flex;
  font-size: 14px;
  align-items: center;
}

.legal {
  font-size: 6px;
  text-align: left;
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.isDesktop {
  min-width: 360px !important;
  min-height: 640px !important;
  max-width: 360px !important;
  max-height: 640px !important
}

.landscape {
  display: none
}

.slideUp {
  animation: slideUp 1s;
}

.slideIn {
  animation: slideIn 1s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.fadeIn {
  animation: fadeIn 1s ease forwards;
}

/*---------------------------------------------------------*/
/*  ANIMATIONS                                             */
/*---------------------------------------------------------*/
@keyframes slideUp {
  0% {
    transform: translateY(0);
    opacity: 1
  }

  90% {
    transform: translateY(-150px);
    opacity: 1
  }

  100% {
    transform: translateY(-150px);
    opacity: 0
  }
}

@keyframes slideDown {
  to {
    bottom: -100px;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%)
  }

  to {
    transform: translateX(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*---------------------------------------------------------*/
/*  MEDIA QUERIES                                          */
/*---------------------------------------------------------*/

@media (max-width: 360px) and (max-aspect-ratio: 13/9) {
  .container {
    min-width: 100%;
    min-height: 100%;
  }
}

@media (min-width: 600px) and (max-aspect-ratio: 13/9) {
  .container {
    width: 360px;
    height: 640px;
  }
}

@media (max-height: 550px) {
  .final .disclaimer {
    padding: 0;
  }
}

/* LANDSCAPE */

@media (max-width: 850px) and (min-aspect-ratio: 13/9) {
  .container {
    display: none;
  }

  .landscape {
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 9999999;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .gif {
    width: 60px;
    height: 60px;
    margin: auto;
  }

  .mobileAnim p {
    text-align: center;
    margin-top: 10px;
  }
}