@charset "UTF-8";

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #e3f2fd;
    color: #fff;
}

main {
    width: 700px;
    padding: 35px 40px;
    background-color: #000;
    border-radius: 30px;
}

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

header h2 {
    font-size: 1.6rem;
}

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

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

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

.checagem-teclas input{
    width: 60px;
    height: 30px;
    appearance: none;
    border-radius: 30px;
    background-color: #4b4b4b;
    cursor: pointer;
    position: relative;

}

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

.checagem-teclas input:checked::before{
    left: 0.4rem;
    background-color: #fff;
}

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

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

.chave-piano .branca{
    width: 70px;
    height: 230px;
    background: linear-gradient(#fff 96%, #eee 4%);
    border-radius: 8px;
}

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

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

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


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

.chave-piano .chave.hide span{
    display: none;
}