@font-face {
    font-family: "Melon Honey";
    src: url(../font/Melon\ Honey.ttf)
}

@font-face {
    font-family: "Dimbo";
    src: url(../font/Dimbo\ Regular.ttf);
}


body {
    margin: auto;
    font-family: "Dimbo", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
}


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

.grid {
    width: 234px;
    height: 502px;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 40px;
    bottom: 0;
    opacity: 0;
    text-align: center;
    z-index: 2;
}

.empt {
    
}
.roundeedge {
    border-radius: 30px;
}

.grid div {
    height: 35px;
    width: 35px;
    background-size: cover;
    margin: 2px;
}


.container {
    position: absolute;
    width: 100%;
}

#lockscreen {
    position: absolute;
    width: 100%;
    z-index: 1000;
}

#mulai,
#snk {
    position: absolute;
    left: 0;
    right: 0;
    top: 240px;
    margin: auto;
    z-index: 100;
    cursor: pointer;
    width: 200px;
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    background-color: #F8C227;
    color: #0353A0;
    font-size: 18px;
    font-family: "Melon Honey", Arial, Helvetica, sans-serif;
}

#snk {
    top: 290px;
}

#gametimer {
    position: absolute;
    top: 439px;
    text-align: center;
    width: 133px;
    font-family: arial;
    background-color: #ec008c;
    color: #fff;
    height: 29px;
    padding-top: 7px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bold;
    display: block;
    left: 522px;
    display: none;
}

.containergame {
    position: absolute;
    width: 300px;
    overflow: hidden;
    height: 600px;
    background-image: url(../images/background.jpg);
    background-size:cover;
    background-repeat: no-repeat;
}

#gamebg {
    position: absolute;
    top: 0;
    width: 300px;
    height: 600px;
    background-image: url(../images/bg-game.jpg);
    background-size:cover;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
   
}

#gamebg.active {
    opacity: 1;
    visibility: visible;
}

#logogame {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 250px;
    top: 90px;
}

#logogamep {
        position: absolute;
    right: 20px;
    bottom: 13px;
    width: 115px;
    
}



#gameover {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 300px;
    height: 600px;
    z-index: 12;
    top: 0;
    bottom: 0;
    background-image: url(../images/bg-over.jpg);
    background-size:cover;
    background-repeat: no-repeat;
    color: #F8C227;
    text-align: center;
    display: none;
}

#gameover.active {
    display: block;
    z-index: 3;
}

.gameend {
    font-size: 24px;
    width: 180px;
    margin-block: 205px 40px;
    margin-inline: auto;
}

#gameover > p {
    margin-bottom: 5px;
}

#pp {
    width: 160px;
    background-color: #F8C227;
    border: 3px solid #ED5500;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 21px;
    color: #0353A0;
    font-family: inherit;
    cursor: pointer;
}

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

.sosmed h4 {
    margin: 0;
}

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

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

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


#skkr {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 16px;
    right: 0;
    margin: auto;
    text-align: center;
    background: #F8C227;
    border: 3px solid #ED5500;
    padding: 6px;
    width: 80px;
    font-weight: bold;
    color: #0353A0;
    border-radius: 8px;
    opacity: 0;
    z-index: 2;
}

#skkr img {
    width: 14px;
    vertical-align: middle;
    margin-right: 5px;
}

#msc {
    position: absolute;
    z-index: 300;
    width: 25px;
    right: 4px;
    top: 6px;
}


.modal__container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 300ms ease-in-out;
    /* background-color: #287695; */
}

.modal__container.active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    /* background-color: yellow; */
}

.modal__content {
    position: relative;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    color: #0353A0;
    background: #F8C227;
    border-radius: 15px;
    border: 2px solid #ED5500;
}

.modal__close {
    border: 2px solid #ED5500;
    background: #F8C227;
    color: #0353A0;
    width: 35px;
    border-radius: 50%;
    font-size: 25px;
    position: absolute;
    top: -10px;
    right: -5px;
    cursor: pointer;
}

.modal__content ul {
    text-align: left;
    font-size: 15px;
    line-height: 20px;
    padding-left: 20px;
    margin-top: 15px;
  }

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