@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');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}

body,
html {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: green;
}

#crt{
    font-size: 5rem;
    color: white;
    opacity: 0.2;
    box-sizing: border-box;
    border: 2px solid black;
}

.panel {
    /* background-color: rgba(255, 0, 0, 0.174); */
    width: 80%;
    height: 80%;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ptop {
    width: 100%;
    height: 10%;
    background-color:yellow ;
    display: none;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    padding: 0 25%;
}



.elem {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgb(13, 14, 13);
}

.elem div {
    font-size: large;
    font-weight: bold;
    background-color: rgba(7, 79, 7, 0.859);
    padding: 0.1rem 0.4rem;
    color: black;
    border-radius: 0.2rem;

}

.pbtm {
    background-color: rgba(42, 140, 42, 0.859);
    width: 100%;
    height: 90%;
    padding: 0.5rem 2rem;
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.bubble {
    display: flex;
    align-items: center;
    justify-content: center;
    color: wheat;
    font-weight: 700;
    background-color: green;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.4);
}

.bubble:hover {
    cursor: pointer;
    transform: scale(1.1); 
    box-shadow: 4px 6px 12px rgba(75, 17, 17, 0.4);
}

.gameOver {
    display: none;
    background-color: rgba(42, 140, 42, 0.859);
    width: 100%;
    height: 90%;
    padding: 0.5rem 2rem;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

button {
    padding: 0.5rem 3.3rem;
    background-color: green;
    color: #000000;
    font-weight: bold;
    font-size: large;
    border-radius: 1rem;

}

button:hover {
    background-color: black;
    color: rgba(42, 140, 42, 0.859);
}

.home {
    background-color: green;
    border-radius: 1rem;
    width: 100%;
    height: 90%;
    padding: 0.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    /* text-shadow: 2px 2px 0.1px black; */
}
#start{
    background-color: blue;
    color: white;
    border: 20px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 20px 5px 20px black;
    font-size: 2rem;
}


@media screen and (max-width: 640px) {

    body {
        background-color: rgba(42, 140, 42, 0.859);
    }

    .panel {
        width: 99%;
        height: 99%;
    }

    .home {
        height: 110%;
    }

    .ptop {
        width: auto;
        gap: 0.7rem;
    }

    .pbtm {
        padding: 0.5rem 0.22rem;
    }

    .bubble {
        width: 3.3rem;
        height: 3.3rem;
    }


}