@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "poppins", sans-serif;
	margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

#main{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #bae8e8;
}
#panel{
    width: 80%;
    height: 80%;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

#ptop{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100px;
    padding: 0px 30%;
    color: #ffffff;
    background-color: #26253c;
}
.elem{
    /* background-color: aqua;  */
    display: flex;
    align-items: center;
    /* width: 10%; */
    gap: 20px;
}

.box{
    color: #26253c;
    font-weight: 500;
    font-size: 22px;
    padding: 10px 20px;
    background: #ffffff;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

#pbottom{
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 10px;
    width: 100%;
    height: calc(100% - 100px);
}

.bubble{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bae8e8;
    background: #26253c;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    font-weight: 700;
    font-size: 20px;
}
.bubble:hover{
    background-color: #bae8e8;
    color: #26253c;
    cursor: pointer;
    font-size: 40px;
    transition: font-size 0.1s ease-in-out;
    transition: background-color 0.2s ease-in-out;
}

/* Added media queries for responsiveness */

@media (max-width: 1200px) {
    #panel {
        width: 90%;
        height: 90%;
    }
    #ptop {
        padding: 0px 20%;
    }
    .bubble {
        height: 60px;
        width: 60px;
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    #panel {
        width: 95%;
        height: 95%;
    }
    #ptop {
        padding: 0px 15%;
    }
    .bubble {
        height: 45px;
        width: 48px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    #panel {
        width: 98%;
        height: 98%;
    }
    #ptop {
        padding: 0px 10%;
    }
    .elem{
        width: 100%;
        gap: 10px;
        margin: 1px;
        text-align: center;
    }
    .box{
        font-size: 18px;
        width: 30px;
        height: 40px;
        text-align: center;}
    .bubble {
        height: 40px;
        width: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #panel {
        width: 100%;
        height: 100%;
    }
    #ptop {
        padding: 0px 5%;
    }

    .elem{
        width: 100%;
        gap: 10px;
        margin: 1px;
        text-align: center;
    }
    .box{
        font-size: 18px;
        width: 30px;
        height: 40px;
        text-align: center;
    }
    #pbottom {
        width: 100vw;
        height: 80%;
        padding: 20px;
    }

    .bubble {
        height: 50px;
        width: 50px;
        font-size: 12px;
    }
    .bubble:hover{
        font-size: 20px;
        transition: font-size 0.1s ease-in-out;
        transition: background-color 0.2s ease-in-out;
    }
}
