html,
body {
    margin: 0;
    padding: 0;
    height: 100vh;
}

body {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

#piano {
    background-color: transparent;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    width: 90%;
    height: 45%;
    margin: 0 auto;
    display: flex;
    position: relative;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;

    overflow-x: scroll;
    overflow-y: hidden;
}

h1 {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.key {
    cursor: pointer;
    position: relative;
    border: 2px solid #333;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-shrink: 0;

    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.1s ease;
    user-select: none;
    box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.75);
}

.key:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.key:active {
    transform: scale(0.98);
    filter: brightness(0.8);
}

.white {
    background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 100%);
    color: #333;
    width: 60px;
    height: 100%;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.black {
    background: linear-gradient(to bottom, #1a1a1a 0%, #000000 100%);
    color: white;
    width: 40px;
    height: 60%;
    z-index: 2;
    position: relative;
    font-size: 0.7rem;
    line-height: 1.2;
    padding-bottom: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.mid-black {
    margin-left: -20px;
    margin-right: -20px;
}

#video {
    z-index: -1;
    position: fixed;
}

#showKeys {
    width: 90%;
    height: 40%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    background-color: rgba(240, 248, 255, 0.293);
    backdrop-filter: blur(40px);
    overflow-y: auto;
    flex-shrink: 0;
}

#myKeys {
    color: rgb(245, 13, 13);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 5.5rem;
    margin-bottom: 20px;
    font-weight: bolder;
    flex-shrink: 0;
    z-index: 1000;

}

#bottomKeys {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 100%;
    padding: 20px;
}

#bottomKeys>div {
    color: white;
    font-size: 1.2rem;
    padding: 10px 20px;
    border-right: 5px solid #fefeff;
    padding-right: 20px;
}