@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Caveat:wght@400;700&family=Lobster&family=Monoton&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,700&family=Work+Sans:ital,wght@0,400;0,700;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif, Gilroy-Regular;
}

html,
body {
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 55px;
    position: relative;
    bottom: 10px;
    font-weight: 800;
    margin-top: -18px;
    letter-spacing: 22px;
}

h2 {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 8px;
}

#main {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgb(155, 184, 155);
}

#panel {
    position: relative;
    top: 8px;
    width: 80%;
    height: 80%;
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
}

#ptop {
    padding: 0px 23%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    width: 100%;
    height: 80px;
    background-color: rgb(72, 104, 72);
}

.elem {
    display: flex;
    align-items: center;
    gap: 20px;
}

.elem h2 {
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 2px;
}

.box {
    color: rgb(18, 119, 57);
    font-weight: 600;
    font-size: 20px;
    padding: 5px 12px;
    background-color: #fff;
    border-radius: 5px;
}

#pbtm {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    width: 100%;
    height: calc(100% - 80px);

}

.bubble {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: rgb(72, 104, 72);
    color: #fff;
    border-radius: 50%;
    font-weight: 500;
}

.bubble:hover {
    cursor: pointer;
    background-color: rgb(50, 75, 50);
}

#button {
    width: 90px;
    height: 36px;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    border: none;
}

#button:hover {
    background-color: #c3bfbf;
}

@media only screen and (max-width: 600px) {

    h1 {
        font-size: 18px;
        position: relative;
        bottom: 5px;
        font-weight: 900;
        letter-spacing: 9px;
    }

    .elem h2 {
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 2px;
    }

    .box {
        color: rgb(18, 119, 57);
        font-weight: 600;
        font-size: 12px;
        padding: 4px 8px;
        background-color: #fff;
        border-radius: 5px;
    }

    #button {
        width: 46px;
        height: 28px;
        font-size: 12px;
    }

    #panel {
        top: 3px;
        height: 90%;
        width: 90%;
        display: flex;
        flex-direction: column;
        /* Stack elements vertically for mobile */
        align-items: center;
        /* Center content horizontally */
        padding: 10px;
        /* Adjust padding for smaller screens */
    }

    #ptop {
        border-radius: 10px;
        height: 80px;
        width: 100%;
        padding: 0px 20px;
        /* Adjust padding for smaller screens */
        flex-wrap: wrap;
        gap: 10px;
    }

    .elem {
        flex-direction: column;
        /* Stack text and value vertically for mobile */
        text-align: center;
        gap: 5px;
    }

    #pbtm {
        overflow: hidden;
        flex-wrap: wrap;
        gap: 18px;
        flex-direction: row;
        justify-content: center;
        text-align: center;
        /* Align bubbles to the top for mobile */
        padding: 10px;
        /* Adjust padding for smaller screens */
        height: 100%;
        /* Allow content to expand vertically */
    }

    .bubble {
        width: 30px;
        /* Make bubbles smaller for mobile */
        height: 30px;
        /* Make bubbles smaller for mobile */
        font-size: 12px;
        /* Adjust font size for smaller screens */
    }

}