*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html,body{
    height: 100%;
    width: 100%;
}

body{
    background-color: black;
}

main{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


.piano{
    height: 55%;
    width: 90%;
    background-color: rgb(48, 48, 48);
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    gap: 5px;
    position: relative;
}

.piano #piano-sound-bar{
    height: 20%;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: rgb(80, 79, 79);
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
}

.piano #piano-sound-bar #sound-img img{
    height: 80%;
    width: auto;
}

.piano #piano-sound-bar #heading{
    font-size: 60px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}



.piano #white-key{
    height: 80%;
    flex-grow: 1;
    background: linear-gradient(180deg,#ffffff,#e8e8e8);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: relative;
}

.piano #white-key h4{
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 38px;
    color: #222;
    font-weight: bold;
}


.piano #white-key:active{
    transform: scale(0.98);
    background: linear-gradient(180deg,#7a7979,#e8e8e8);
}


@media (max-width: 680px) {
    .piano{
        height: 40%;
        width: 90%;
    }

    .piano #piano-sound-bar #heading{
        font-size: 26px;
        text-align: center;
    }

    .piano #piano-sound-bar #sound-img img{
    height: 80%;
    width: auto;
}
}