*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

html, body{
    height: 100vh;
    width: 100%;
}

#main{
    height: 100%;
    width: 100%;
    background-color: rgb(195, 195, 234);
    display: flex;
    align-items: center;
    justify-content: center;
}

#panel{
    height: 90%;
    width: 90%;
    background-color: rgb(63, 144, 94);
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 1px 2px  rgb(60, 56, 56);

}

#tpanel{
    height: 50px;
    width: 100%;
    background-color: aqua;
    display: flex;
    align-items: center;
    justify-content: space-around;

}

.scard{
    height: 30px;
    width: 40px;
    background-color: aliceblue;
    border-radius: 10px;
    box-shadow: 1px 2px black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.sbox{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
}
#bpanel{
    height: calc(100% - 50px);
    width: 100%;
    background-color: rgb(116, 170, 193);
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.bubble{
    height: 50px;
    width: 50px;
    background-color: rgb(220, 203, 108);
    border-radius: 50%;
    font-size: 2rem;
    box-shadow:  2px 1px 1.5px black;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bubble:hover{
    background-color: rgb(255, 217, 0);
}


@media (max-width: 768px) {

    #panel{
        width: 95%;
        height: 95%;
        border-radius: 15px;
    }

    #tpanel{
        height: auto;
        padding: 10px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sbox{
        gap: 8px;
    }

    .scard{
        width: 35px;
        height: 28px;
        font-size: 1.2rem;
    }

    #bpanel{
        padding: 15px;
        gap: 8px;
    }

    .bubble{
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}


/* Mobile Devices */
@media (max-width: 480px) {

    #panel{
        width: 98%;
        height: 98%;
        border-radius: 10px;
    }

    #tpanel{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px 5px;
        gap: 10px;
    }

    .sbox{
        width: 100%;
        justify-content: center;
        gap: 6px;
    }

    .scard{
        width: 30px;
        height: 25px;
        font-size: 1rem;
        border-radius: 6px;
    }

    #bpanel{
        padding: 10px;
        gap: 6px;
    }

    .bubble{
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
}