html,
body {
    min-height: 100%;
    height: 100%;
    width: 100%;
    font-family: Open Sans;
    touch-action: none;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

body {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    font-family: 'Open Sans', sans-serif;
    margin: auto;
}

.body-container {
    height: 100%;
    max-width: 1140px;
    margin: 0px auto;
    padding: 0px 15px;
    display: grid;
    grid-template-columns: minmax(100px, auto);
    grid-template-rows: auto auto auto;
}

a {
    text-decoration: none;
}

#mytitle {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
}

#mytitle h1 {
    font-family: Baloo;
    color: #3f51b5;
}

.main-container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

form {
    width: auto;
    margin: auto;
}

#vol-control {
    width: 100%;
    max-width: 400px;
    min-width: 100px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

#vol-control label {
    color:#3f51b5;
    font-weight: 300;
    padding-bottom: 2rem;
    text-align: center;
}

#volRange {
    width: 100%;
}

#kbd {
    display: grid;
    justify-content: center;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: minmax(100px, auto) minmax(100px, auto);
    grid-gap: 10px;
    grid-template-areas: 'pad1 pad2 pad3 pad4' 'pad5 pad6 pad7 pad8';
}

#kbd .row {
    width: 600px;
}

.pad {
    width: 100%;
    height: 120px;
    max-width: 170px;
    min-width: 60px;
    line-height: 120px;
    border: .1rem solid #3f51b5;
    border-radius: .5rem;
    font-size: 1.5rem;
    font-weight: 100;
    transition: all .07s ease;
    text-align: center;
    color: #3f51b5;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera *
}

.playing {
    transform: scale(1.1);
    border-color: #ffc600;
    box-shadow: 0 0 1rem #ffc600;
}

#drumList {
    height: 1.5rem;
}

#drumList select {
    background: aliceblue;
    font-weight: 200;
    color: cornflowerblue;
    height: 100%;
}

footer {
    width: 100%;
    font-weight: 200;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    justify-items: end;
    align-items: flex-end;
}

footer a {
    color: #3f51b5;
}

/* MEDIA QUERIES */
@media screen and (min-width: 992px) {
    #kbd {
    }
}

@media screen and (max-width: 600px) {
    #kbd .col-3 {
        padding-left: 2px;
        padding-right: 2px;
    }
}

@media screen and (max-height: 568px) {
    body {
        background-position: center bottom;
    }

    .pad {
        height: 68px;
        line-height: 68px;
    }

    #vol-control {
        margin-top: 2rem;
    }
}