*{
    padding: 0;
    margin: 0;
    user-select: none;
    font-family: Font;
    letter-spacing: 0.25ch;
}

@font-face {
    font-family: "Font";
    src: url("assets/fonts/HaloDek.ttf") format("truetype");
}
body{
    background-image: url(./assets/sprites/background_bubble-pop.png);
    background-position: center;
    background-size: cover;
    background-repeat: repeat;
    overflow: hidden;
    position: relative;
    width: 950px;
    height: 534px;
}
h1{
    color: white;
    font-size: 48px;
    font-weight: bolder;
    text-shadow: black 1px 0 10px;
}
h2{
    color: white;
    font-size: 28px;
    font-weight: bolder;
    text-shadow: black 1px 0 10px;
}
.button{
    width: 50%;
    height: 55px;
    border: 5px solid #e4ffee;
    cursor: pointer;
    border-radius: 15px;
    background-color: #3a6248;
    padding: 10px;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 28px;
    font-weight: bolder;
    text-shadow: black 1px 0 10px;
    transition: width 0.25s;
}
.button:hover{
    width: 70%;
}
.sub-button{
    height: 55px;
    width: 55px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border: 5px solid #e4ffee;
    cursor: pointer;
    border-radius: 15px;
    background-color: #3a6248;
    padding: 10px;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 28px;
    font-weight: bolder;
    text-shadow: black 1px 0 10px;
    transition: width 0.25s;
}
.sub-button:hover{
    width: 75px;
}
.check{
    width: 24px;
    height: 24px;
}
.checked{
    background-color: #e4ffee !important;
}

.menu{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    opacity: 0;
    text-align: center;
    pointer-events: none;
}
.content{
    /* e4ffee */
    border: 10px solid #e4ffee;
    border-radius: 25px;
    background-color: #3a6248;
    width: 50%;
    padding: 50px;
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    z-index: 5;
}
.infoText{
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.medals{
    display: flex;
    padding: 10px;
    gap: 10px;
    justify-content: start;
    flex-wrap: wrap;
}
.medal{
    height: 100px;
    width: 200px;
    display: flex;
}
.medal img{
    height: 100px;
    width: 100px;
    filter: brightness(0.1) blur(5px);
}
.medal div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 100px;
    gap: 10px;
}
.medal h1{
    font-size: 18px;
    text-align: left;
}
.medal h2{
    font-size: 12px;
    text-align: left;
}


::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    transition: all 1s;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

.game{
    width: 100%;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
}
.bubble{
    width: 50px;
    height: 50px;
    background-image: url(./assets/sprites/sprite_bubble.png);
    background-size: contain;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity 0.2s;
}
.score{
    position: absolute;
    left: 10px;
    top: 10px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    /* -webkit-text-stroke: 2px black;
    text-shadow:
        -1px -1px 0 #000,  
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000; */
}

@supports (-webkit-text-stroke: 1px black) {
    score {
        -webkit-text-stroke: 5px black;
        -webkit-text-fill-color: white;
        background-color: transparent;
    }
  }