*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

#loading{
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    }
    
@keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

body{
    height: 100vh;
    background: url(/background.jpg) no-repeat center/cover;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
    align-items: center;
}
.keys{
    width: 80vw;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.key{
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 4px solid #000;
    height: 70px;
    width: 70px;
    margin:10px;
    transition: all 0.07s;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.key kbd{
    font-size: 1.9rem;
}
.key span{
    font-variant: small-caps;
    font-size: 0.9rem;
    color: rgb(255, 215, 0);
}

.playing{
    border-color:rgb(255, 215, 0);
    box-shadow: 0 0 15px rgb(255, 215, 0);
    transform: scale(1.1);
}

/* playinput styling */
.playinput{
    justify-self: center;
    align-self: center;
    bottom: 2rem;
}







footer{
    color: #ddd;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    left: 0;
    bottom:0;
    width: 100vw;
    text-align: center;
}
footer a{
    text-decoration: none;
    color: #ddd;
}