/* Universal box-sizing */
* {
  box-sizing: border-box;
}

@font-face {
  font-family: kilimanjaro;
  src: url(../fonts/Kilimanjaro\ Sans.otf);
}

.someclass {
  color: red;
}

/* Reset body margins and padding */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  display:block;
  margin: 0 auto;
  max-width: 360px;
  max-height: 640px;
  min-width: 360px;
  min-height: 640px;
  position: relative;
  overflow:hidden;
  margin-top: 10px;
  box-sizing: border-box;
  
}

img{
  max-width: 100%;
  position: relative;
}

.game{
  background: url(../img/bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
  min-height: 640px;
  max-height: 640px;
  width: 100%;
  position: relative;
  /* padding: 20px 0; */
  border-radius: 25px;
  overflow: hidden;
}

/* Style and center the container */
.container {
  /* max-width: 800px; */
  margin: auto;
  /* padding: 20px 10px ; */
  text-align: center;
  position: relative;
  z-index: 10;
}
.game-start{
  /* width: 35%;  */
  margin-left: 20px;
  position: relative;
  width: 45%;
  top: -30px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

/* Style the audio player */
#audio {
  width: 100%;
}

.bendera{
  position: absolute;
  width: 35%;
  top: 0%;
  left: 5%;
}

.top-title{
  max-width: 70%;
  right: 5%;
  position: absolute;
  top: 4%;
}

.top-intro{
  max-width: 100%;
  bottom: -15px;
  
}
.game-start{
  display: none;
}

#info{
  display: none;
  font-size: 40px;
  line-height: 32px;
  color: #FFEB3B;
  font-family: "Londrina Solid", system-ui;
  font-weight: 900;
  font-style: normal;
  margin: 0 auto;
  margin-bottom: 5%;
}
.masthead{
  width: 100%;
  margin: 0 auto;
  margin-top: -4%;
  position: relative;
  transition: 1.5s;
  transition-timing-function: ease;
  /* display: none; */
}

.top-area{
  width: 70%;
  margin: 0 auto;
  margin-top: 26%;
  top: 30%;
  position: absolute;
  left: 0;
  right: 0;
}

#countdown {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-block;
  transform: translate(-50%, -50%);
  transition: 1s;
  font-size: 0vw;
  opacity: 50%;
  color: #fff; 
  font-weight: 900;
}
/* Button styles */
#play-pause-button {
  display: block;
  border: none;
  border-radius: 5px;
  background: url(../img/asset-button.png) no-repeat;
  width: 235px;
  height: 77px;
  background-size: 235px;
  position: relative;
  text-align: center;
  margin: 0 auto;
  margin-top: -5%;
  background-position: center;
  left: 0;
  right: 0;
  z-index: 10;
}

#gift{
  position: relative;
  top: 55px;
  left: 50px;
}

#gift ul{
  list-style: none;
  width: 90%;
}

#gift li img{
  width: 74%;
}

/* Lyrics and current time styles */
#lyrics {
  font-family: 'Sigmar', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px; /* Increased font size */
  text-align: center;
  color: #1E942A;
  text-shadow: 4px -2px 0px white, -2px 2px 0px white,  -2px -2px 0px white, 4px 2px 0px white;
  margin-top: 26px;
  line-height: 26px;
  /* -webkit-text-stroke-width: 1px;
   -webkit-text-stroke-color: rgb(255, 255, 255); */
   
  /* padding: 10px; */
}

.character{
  width: 74%;
  display: block;
  position: absolute;
  top: 25%;
  transition: 1.5s;
  transition-timing-function: ease;
  left: -270px;
}


#current-time {
  font-size: 18px;
  font-family: 'Sigmar', sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  padding: 5px 15px;
  background-color: #D3691A;
  border-radius: 20px;
  color: #fff;
  display: none;
}

.scream{
  left: -100%;
  position: absolute;
  top: 265px;
  z-index: 100000;
  width: 90%;
  transition: 1s;
  transition-timing-function: ease;
}
.icecream{
  width: 50%;
  position: absolute;
  display: block;
  margin: 14px auto;
  /* bottom: 15px; */
  right: 5%;
  /* top: 17.5%; */
  /* height: 295px; */
}

.decibelmeter{
  width: 36.5%;
  position: absolute;
  bottom: -317px;
  background: url(../img/meter-full.png) local no-repeat;
  background-size: 100%;
  z-index: 0;
  background-position: center;
  background-position-y: bottom;
  /* border-top: solid 2px #444; */
  /* background-position-x: 63px;
  background-position-y: 224px; */
  /* bottom: 34%; */
  /* top: 14px; */
  right: 18.3%;
  /* background-color: #24110B; */
  /* z-index: -1; */
}
h2.demo {
  background: #FFF200;
  box-shadow: 5px 5px #FFC107;
  padding: 0;
  z-index: 100000;
  /* position: absolute; */
  width: 100%;
  padding: 15px;
  margin: 0 auto;
  /* left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  top: 11%; */
  border-radius: 20px;
  color: #FF0000;
  /* border: solid 4px #f4c300;
  color: #180050; */
  font-family: kilimanjaro;
  font-weight: 400;
  line-height: 30px;
  font-size: 38px;
  display: none;
}
.demo{
  transition: 1.5s;
}

.winning{
  position: absolute;
  transition: 1.5s;
  transition-timing-function: ease;
  font-size: 0px;
  left: 0;
  right: 0;
  top: 40%;
  z-index: 10;
}

.result{
  /* display: none; */
  position: relative;
  /* background: url(img/result-bg.png) no-repeat; */
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  top: 0px;
  z-index: -1;
  height: 100%;
  background-size: 0;
  background-position: center;
  transition: .3s;
  transition-timing-function: ease;
  color: #9f1117;
}

#result_img{
  position: relative;
  top: 0%;
  margin-top: -12%;
  right: -90%;
  transition: .5s;
  transition-timing-function: ease;
}

#result_img img{
    display: block;
    width: 91%;
    margin: 0 auto;
    position: relative;

}

.main{
  display: none !important;
}

.start{
  display: block ;
}

img.winner{
  width: 100% !important;
  top: -160px;
}

.reload_button{
  position: relative;
  z-index: 5000000;
  background-image: url(../img/reload.png);
  width: 235px;
  height: 77px;
  background-size: 235px;
  background-color: unset;
  border: unset;
  background-repeat: no-repeat;
  position: absolute;
  text-align: center;
  margin: 0 auto;
  /* margin-top: 5%; */
  background-position: center;
  left: 0;
  right: 0;
}


.intro-perks{
  position: absolute;
  top: 10px;
}
.intro-perks img{
  width: 20%;
}

.intro-perks .left{
  left: -135px;
  top: -110px;
  transition: 1s;
  transition-timing-function: ease;
}

.intro-perks .right{
  right: -110px;
  top: -27px;
  transition: 1s;
  transition-timing-function: ease;
}