* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bubbleshooter {
    width: 300px;
    height: 600px;
    position: relative;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    margin: 10px auto 0px;
}

.steps {
    width: 300px;
    height: 600px;
    position: relative;
    text-align: center;
    color: #fff;
}

.step__three,
.step__four {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    border: solid 2px #fff;
    padding: 7px;
    border-radius: 10px;
    font-weight: bold;
    color: #fff;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

.btn:focus {
    outline: none;
}

.btn__start {
    background: #d5525a;
    position: absolute;
    width: 220px;
    left: 0;
    right: 0;
    bottom: 220px;
    font-size: 16px;
    border: none;
    border-radius: 20px;
    padding: 4px 0;
}

.btn__submit {
    background-color: #247099;
}

.form__wrap {
    width: 100%;
    padding: 20px;
    font-weight: bold;
}

.form__wrap form {
    margin-top: 30px;
}

.form__wrap form > div {
    margin: 10px 0;
}

.form__wrap input[type=text] {
    padding: 7px;
    background: #247099;
    border: solid 2px #fff;
    border-radius: 10px;
    width: 80%;
    color: #fff;
}

.form__wrap input:focus {
    outline: none;
}

.form__wrap input[type=text]::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
}
  
.form__wrap input[type=text]:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #fff;
}
  
.form__wrap input[type=text]::-ms-input-placeholder { /* Microsoft Edge */
    color: #fff;
}

.form__wrap .input__radio__wrap {
    margin: 20px 0;
}

.form__wrap .input__radio {
    margin: 5px auto;
    width: 50%;
    text-align: left;
}

.btn__submit {
    padding: 7px 20px;
}

.btn__replay {
        padding: 7px 25px;
        margin: 25px auto 35px;
        background: #d5525a;
        border: none;
        border-radius: 20px;
}

.game__share {
    margin-top: 10px;
}

.game__share a {
    width: 30px;
    height: 30px;
    display: inline-block;
    color: transparent;
    margin: 0 5px;
}

.game__share a img {
    width: 100%;
}

.canvasgame {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25px;
    margin: auto;
}

.timer {
    color: #fff;
    padding: 5px 0px;
    position: absolute;
    font-weight: bold;
    font-size: 20px;
    background: #050505;
    border-radius: 7px;
    top: 175px;
    left: 0;
    right: 0;
    width: 90px;
    margin: 0 auto;
}

.courtesy {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 9px;
}

.step__login {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login__wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(0,0,0,0.3);
}

.btn__login {
    margin-top: 30px;
    background: #d5525a;
    width: 210px;
    font-size: 15px;
    border: none;
    border-radius: 20px;
    padding: 4px 0;
}

.steps__hide {
    display: none;
}

.step__three .thnks-container {
    display: flex;
    flex-direction: column;
    color: #fff;
    align-items: center;
}

.step__three .ajak-teks{
    font-size: 14px;
  }

.step__three .thnks-wrap {
    width: 145px;
    display: flex;
}

.step__three .thnks-wrap img {
    width: 100%;
}

.step__three .thnks-wrap .hide {
    display: none;
}

.title-game {
    width: 195px;
    position: absolute;
    top: 115px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.arr-login {
    position: absolute;
    width: 35px;
    bottom: 135px;
    animation: shake 1s infinite;
}

.sound-wrap {
    display: flex;
    width: 35px;
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
}

.sound-wrap img {
    width: 100%;
}

.sound-wrap img.hide {
    display: none;
}

.rules {
    width: 30px;
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
}

.overlay-popup.hide {
    display: none;
}

.overlay-popup {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0, 0.5);
    z-index: 1;
    cursor: pointer;
}

#popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 275px;
    height: fit-content;
    right: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
    overflow-y: auto;
    z-index: 2;
    padding: 25px 15px;
    color: #000;
    transition: all 0.3s ease;
    border-radius: 12px;
}

#popup.hide {
    transform: translateY(600px);
}

#popup ul {
    padding-left: 18px;
}

#popup li {
    display: list-item;
    list-style: disc;
    font-size: 14px;
    margin: 10px 0;
    text-align: left;
}

#popup__close {
    width: 15px;
    height: 15px;
    position: absolute;
    cursor: pointer;
    top: 15px;
    right: 15px;
}

#popup__close img {
    width: 100%;
}

@keyframes shake {
    0% {
        transform: translateY(5px);
    }
    
    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(5px);

    }
}