*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#game{
    margin: 0 auto;
    width: max-content;
    transform: translateY(100px);
}
#area{
    width: 500px;
    height: 500px;
    border: 2px solid black;
    position: relative;
}
#ball{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    background: red;
    top: 0;
}
#bar{
    width: 100px;
    height: 20px;
    border-radius: 10px;
    position: absolute;
    background: blue;
    top: calc(100% - 20px);
}
#buttons{
    display: flex;
    justify-content: center;
    column-gap: 20px;
}
#start, #pause, #restart{
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    border: none;
}
#start{
    background-color: green;
}
#pause{
    background-color: red;
}
#restart{
    background-color: darkblue;
}
ul{
    width: 100%;
    position: relative;
    list-style-type: none;
    overflow: hidden;
    height: 100%;
}
ul li{
    width: 50px;
    height: 20px;
    background-color: blueviolet;
    border: 1px solid black;
    position: absolute;
}
#scores{
    width: 100%;
    border: 1px solid black;
    padding: 5px;
    transform: translateY(30px);
}
.flex{
    transform: translateY(20px);
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}