@font-face {
    font-family: "Dimbo";
    src: url(../font/Dimbo\ Regular.ttf);
  }
  body {
    font-family: "Dimbo", Arial, Helvetica, sans-serif;
  }

.wrap {
    width: 300px;
    height: 600px;
    margin: auto;
    position: relative;
}

#ad-container {
    width: 300px;
    height: 600px;
    position: absolute;
    background-color: #fff;
    overflow: hidden;
    left: 0;
    right: 0;
}

#bg_cover {
    position: absolute;
    width: 100%;
}

#bg {
    position: absolute;
    width: 100%;
}

#front {
    z-index: 1;
    margin-top: 80px;
}

#cta_start,
#gamemekanisme {
    position: absolute;
    left: 0;
    right: 0; 
    margin: auto;
    cursor: pointer;
    width: 190px;
    padding: 5px 10px;
    background-color: #F8C227;
    border-radius: 15px;
    color: #752A27;
}

#cta_start {
    bottom: 80px;
}

#gamemekanisme {
    bottom: 40px; 
    
}

#catcher {
    position: relative;
    width: 100px;
    pointer-events: none;
}

#myelement {
    position: absolute;
    left: 10px;
    bottom: -5px;
    width: 130px;
    height: 140px;
}

#itemhit {
    position: relative;
    width: 100px;
    height: 10px;
    pointer-events: none;
}

#start_hit {
    position: absolute;
    width: 75%;
    height: 55px;
    cursor: pointer;
    left: 0;
    right: 0;
    bottom: 125px;
    margin: auto;
}
#howarr_right {
    position: absolute;
    right: 30px;
    margin: auto;
    top: 190px;
    /* width: 25px;*/
}

.flyingthings {
    position: absolute;
    width: 45px;
    top: -100px;
}

#pts {
    position: absolute;
    pointer-events: none;
    top: 20px;
    width: 30px;
    left: 0;
    right: 0;
    margin: auto;
}

#timer {
    right: 0;
    left: 0;
    width: 100px;
    text-align: center;
    margin: auto;
    top: 25px;
    font-size: 16px;
    color: #fff;
    position: absolute;
    background: #AF1F24;
    border: solid 2px #87171A;
    padding: 5px;
    display: none;
    border-radius: 6px;
}

#gameend {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 50px;
    background-image: url(../images/bg-3.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}

#lastimg {
    margin: 90px 0 20px ;
    width: 180px;
}

#gameend > p {
    color: #000;
    font-size: 24px;
    font-weight: 400;
    width: 220px;
}

#gameend .end-text {
    color: #3B2314;
    font-size: 18px;
    line-height: 16px;
    width: 280px;
    margin-block: 40px 5px;
}

.game-lain {
    width: 180px;
    color: #fff;
    background-color: #AF1F24;
    font-size: 21px;
    border-radius: 13px;
    padding: 10px;
    text-align: center;
}

.sosmed {
    margin-top: 30px;
    width: 220px;
    height: 105px;
    background-image: url(../images/bg-sosmed.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding: 15px 10px;
    color: #AF1F24;
    font-size: 17px;
    text-align: center;
  }

  .sosmed__icons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 10px;
  }

  .icons {
    width: 25px;
    display: inline-block;
  }

  .icons img {
    width: 100%;
    object-fit: cover;
  }


/* update modal style */

.modal__container {
    position: relative;
    background: #AF1F25 !important;
    border-radius: 20px;
    box-shadow: inset 0 0 5px #872225;
    font-size: 18px;
}

.modal__close {
    border: 1px solid #872225;
    background-color: #AF1F25;
    color: #fff;
    width: 35px;
    border-radius: 50%;
    font-size: 25px;
    position: absolute;
    top: -10px;
    right: -5px;

}

.modal__content ul {
    text-align: left;
    color: #fff;
    line-height: 20px;
    padding-left: 25px;
    margin-top: 5px;
}

.modal__content ul li {
    list-style-type: none;
    padding-left: 10px;
    margin: 3px 0;
    font-size: 16px;
  }
  
  .modal__content ul li::marker {
    content: "-"; 
  }
