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

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

#box{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: cornflowerblue;
}

#panel{
    width: 70%;
    height: 80%;
    border-radius: 10px;
    background-color: rgb(36, 80, 159);
    overflow: hidden;
}

.top-p{
    width: 100%;
    height: 80px;
    background-color: rgb(41, 59, 93);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20%;
}

.elem{
    color: aliceblue;
    display: flex;
    align-items: center;
    gap: 10px;
}

.box{
    color: rgb(11, 24, 49);
    padding: 5px 10px;
    border-radius: 2px;
    font-size: 18px;
    font-weight: 700;
    background-color: aliceblue;
}

.bottom-p{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    height: calc(100% - 80px);
    padding: 20px 30px;
}

.bubble{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: cornflowerblue;
    color: rgb(11, 24, 49);
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

.bubble:hover{
    background-color: rgb(152, 182, 239);
    cursor: pointer;
}

#over{
    font-size: 70px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgb(11, 24, 49);
}

@media(max-width:1200px){
   .bottom-p{
    overflow: scroll;
   }
}

@media(max-width:800px){
    .top-p{
        padding: 20px 10%;
    }
    #over{
        font-size: 30px;
    }
    #panel{
        width: 90%;
    }
}

@media(max-width:580px){
   .top-p{
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    height: 100px;
    padding: 10px;
    font-size: 12px;
   }
   .bottom-p{
    padding: 10px;
}
}