html, body{overflow:hidden;}

::-webkit-scrollbar {
    display: none;
}

body {
    background-color: white;
    background-image: url(img/background1.webp);
    background-size: 100%, 100%;
    overflow: hidden;
    overflow-x: hidden;
}


#shop_scroll_div {
    position: absolute;
    top: 7vh;
    left: 1vw;
    width: 30vw;
    height: 78vh;
    overflow-y:scroll;
    overflow-x:hidden;
    border-radius: 16px;
    border: none;
    user-select: none;
}

#shop_banner_text {
    position: absolute;
    width: 30vw;
    height: calc(100vh / 100 * 5);
    text-align: center;
    right: 3px;
    font-size: calc(100vh / 100 * 3.5);
    font-family: Comic Sans MS;
    user-select: none;
}

#shop_banner_div {
    width: 30vw;
    height: calc(100vh / 100 * 5);
    background-color: rgb(255, 255, 255, 0.9);
    border-radius: 16px;
    position: absolute;
    left: 1vw;
    top: 0.5vh;
    opacity: 0.8;
    user-select: none;
}

.shop_button_div {   
    position: absolute;
    width: 30vw;
    height: 15vh;
    background-color: rgb(255, 255, 255, 0.8);
    border-radius: 16px;
    left: 0vw;
    border: none;
    user-select: none;
}

.shop_button_text {
    position: absolute;
    width: 20vw;
    height: 15vh;
    text-align: left;
    left: 17vh;
    top: 0px;
    font-size: 4.5vh;
    font-family: Comic Sans MS;
    white-space: pre-line;
    user-select: none;
}

.shop_item_cost_text {
    position: absolute;
    width: 14vh;
    height: 4vh;
    text-align: left;
    left: 4.5vh;
    top: 9.5vh;
    font-size: 4vh;
    font-family: Comic Sans MS;
    white-space: pre-line;
    user-select: none;
}

#ad_pause_div {
    width: 45vw;
    height: 45vh;
    background-color: yellow;
    border-radius: 16px;
    position: absolute;
    left: 27.5vw;
    top: -100vh;
    opacity: 0.8; 
    transition: 800ms;
    user-select: none;
}

#ad_pause_text {
    width: 45vw;
    height: 45vh;
    border-radius: 16px;
    position: absolute;
    text-align: center;
    left: 0px;
    top: 0px;
    font-size: calc(100vh / 100 * 5.5);
    font-family: Comic Sans MS;
    pointer-events: none;
    user-select: none;
}

.ad_button_div {   
    position: absolute;
    width: 30vw;
    height: 12vh;
    background-color: rgb(170, 255, 50, 0.65);
    border-radius: 16px;
    border: none;
    user-select: none;
}

.ad_button_text {
    position: absolute;
    width: calc(30vw - 11vh);
    height: 12vh;
    text-align: left;
    left: 11vh;
    top: 0px;
    font-size: calc(100vh / 100 * 4);
    font-family: Comic Sans MS;
    white-space: pre-line;
    user-select: none;
}

#game_over_div {
    width: 45vw;
    height: 45vh;
    background-color: yellow;
    border-radius: 16px;
    position: absolute;
    left: 27.5vw;
    top: -100vh;
    opacity: 0.8; 
    transition: 800ms;
    user-select: none;
}

#game_over_text {
    width: 45vw;
    height: 45vh;
    border-radius: 16px;
    position: absolute;
    left: 0px;
    top: 0px;
    font-size: 5vh;
    font-family: Comic Sans MS;
    pointer-events: none;
    user-select: none;
}

#game_over_button {
    width: 15vw;
    height: 15vh;
    border-radius: 16px;
    position: absolute;
    background-color: lime;
    left: calc(50% - 7.5vw);
    top: calc(100% - 15vh - 5px);
    font-size: calc(100vh / 100 * 5);
    font-family: Comic Sans MS;
    user-select: none;
}

#screen_filter {
    position: absolute;
    left: 0px;
    top: 0px; 
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
    pointer-events: none;
    background-color: black;
    user-select: none;
}

#block_div {
    width: 50vw;
    height: 85vh;
    position: absolute;
    left: 41vw;
    top: 7vh;
    border: none; outline: none;
    user-select: none;
}

#block_img {
    width: 75vmin;
    height: 75vmin;
    background-image: url(img/mita9.png);
    background-size: 100%;
    position: absolute;
    left: calc(50% - 37.5vmin);
    top: calc(50% - 37.5vmin);
    border: none;
    outline: none;
    user-select: none;
    transition: transform 0.5s ease-in-out;
}

#click_button {
    width: 50vw;
    height: 85vh;
    position: absolute;
    background-color: rgba(255, 255, 255, 0); border: none; outline: none;
    user-select: none;
}

#money_div {
    width: 12vw;
    height: calc(100vh / 100 * 5);
    background-color: lime;
    border-radius: 16px;
    position: absolute;
    left: 44.5vw;
    top: 0.5vh;
    opacity: 0.8; 
    user-select: none;
}

#money_text {
    position: absolute;
    width: 15vw;
    height: 6vh;
    text-align: right;
    right: 3px;
    font-size: calc(100vh / 100 * 3.7);
    font-family: Comic Sans MS;
    user-select: none;
}

#damage_div {
    width: 12vw;
    height: calc(100vh / 100 * 5);
    background-color: orange;
    border-radius: 16px;
    position: absolute;
    left: 59.5vw;
    top: 0.5vh;
    opacity: 0.8; 
    user-select: none;
}

#auto_damage_text {
    position: absolute;
    width: 15vw;
    height: 6vh;
    text-align: right;
    right: 3px;
    font-size: calc(100vh / 100 * 3.7);
    font-family: Comic Sans MS;
    user-select: none;
}

#auto_damage_div {
    width: 12vw;
    height: calc(100vh / 100 * 5);
    background-color: red;
    border-radius: 16px;
    position: absolute;
    left: 74.5vw;
    top: 0.5vh;
    opacity: 0.8; 
    user-select: none;
}

#damage_text {
    position: absolute;
    width: 14vw;
    height: 6vh;
    text-align: right;
    right: 3px;
    font-size: calc(100vh / 100 * 3.7);
    font-family: Comic Sans MS;
    user-select: none;
}

#health_bar_div {   
    width: 0vw;
    height: calc(100vh / 100 * 5);
    background-color: red;
    border-radius: 16px;
    position: absolute;
    left: 41vw;
    top: calc(100vh - (100vh / 100 * 5) - 5px);
    opacity: 0.9; 
    transition: width 0.2s ease-in-out;
    user-select: none;
}

#health_bar_background_div {   
    width: 50vw;
    height: calc(100vh / 100 * 5);
    background-color: black;
    border-radius: 16px;
    position: absolute;
    left: 41vw;
    top: calc(100vh - (100vh / 100 * 5) - 5px);
    opacity: 0.5; 
    user-select: none;
}

#health_bar_text {
    position: absolute;
    width: 50vw;
    height: calc(100vh / 100 * 5);
    text-align: center;
    left: 0px;
    top: 0px;
    color: rgb(0, 0, 0, 1);
    font-size: calc(100vh / 100 * 3.7);
    font-family: Comic Sans MS;
    user-select: none;
}

.mini_icon {
    position: absolute;
    left: 3px;
    top: 0.5vh;
    width: calc(100vh / 100 * 4);
    height: calc(100vh / 100 * 4);
    background-size: calc(100vh / 100 * 4) calc(100vh / 100 * 4);
    user-select: none;
}

@keyframes block_animation {
    0% {width: 75vmin; height: 75vmin; background-size: 100%; left: calc(50% - 37.5vmin); top:calc(50% - 37.5vmin);}
    50% {width: 70vmin; height: 70vmin; background-size: 100%; left: calc(50% - 35vmin); top:calc(50% - 35vmin);}
    100% {width: 75vmin; height: 75vmin; background-size: 100%; left: calc(50% - 37.5vmin); top:calc(50% - 37.5vmin);}
}

@keyframes button_error {
    50% {background-color: rgb(255, 0, 0, 0.6);}
    100% {background-color: rgb(255, 255, 228, 0.7);}
}

@keyframes button_pass {
    50% {background-color: rgb(0, 255, 0, 0.6);}
    100% {background-color: rgb(255, 255, 228, 0.7);}
}

@keyframes tap_num_anim {
    0% {top: 0px; opacity: 1;}
    100% {top: -10vh; opacity: 0;}
}
