body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #e3f2fd;
    font-family: "Poppins", sans-serif;
    -webkit-user-select: none;
    user-select: none;
}

.container {
    width: 780px;
    border-radius: 20px;
    padding: 35px 40px;
    background-color: #000000;
}

.container header {
    display: flex;
    color: #b2b2b2;
    align-items: center;
    justify-content: space-between;
}

header h2 {
    font-size: 1.6rem;
}

header .column {
    display: flex;
    align-items: center;
}

header .column span {
    font-weight: 500;
    margin-right: 15px;
    font-size: 1.19rem;
}

.volume-slider input {
    accent-color: #fff;
}

.keys-check input {
    width: 60px;
    height: 30px;
    appearance: none;
    border-radius: 30px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.keys-check input::before {
    content: "";
    height: 20px;
    width: 20px;
    background-color: #000;
    position: absolute;
    top: 50%;
    left: 0.3rem;
    border-radius: inherit;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.keys-check input:checked {
    background-color: #434343;
    transition: all 0.3s ease;
}

.keys-check input:checked::before {
    left: 2.1rem;
    background-color: #fff;
}

.piano-keys {
    display: flex;
    margin-top: 40px;
    
}

.piano-keys .key {
    cursor: pointer;
    list-style: none;
    color: #a2a2a2;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    text-transform: uppercase;
}

.piano-keys .white {
    width: 70px;
    height: 230px;
    border: 1px solid black;
    background: linear-gradient(#fff 96%, #eee 4%);
    border-radius: 8px;
}

.piano-keys .black {
    width: 44px;
    height: 140px;
    border: 1px solid black;
    background: linear-gradient(#333, #000);
    border-radius: 0 0 5px 5px;
    z-index: 2;
    margin: 0 -22px 0 -22px;
}

.piano-keys span {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 1.3rem;

}

.piano-keys .white:active {
    box-shadow: inset -5px 5px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom #fff 0%, #eee 100%);
}

.piano-keys .black:active {
    box-shadow: inset -5px 5px 10px rgba(255, 255, 255, 0.1);
    background: linear-gradient(to bottom #000, #434343);
}

.piano-keys .key.hide span {
    display: none;
}

.container .column.volume-slider input[type="range"] {
    width: 100%;
    height: 8px; 
    background: #434343; 
    outline: none;
    border-radius: 5px;
}


.container .column.volume-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px; 
    height: 20px; 
    background-color: #fff; 
    cursor: pointer;
    border-radius: 50%;
}

.container .column.volume-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background-color: #fff;
    cursor: pointer;
    border-radius: 50%;
}

@media (max-width: 660px) {
    .container {
        width: 580px;
    }
}

@media (max-width: 550px) {
    .container {
        width: 400px;
    }

    .container .column.keys-check {
        display: none;
    }
    
    .piano-keys span {
        display: none;
    }

    .piano-keys {
        margin-left: -10%;
        width: 120%;
    }
}