body{
    color: #000000;
}

#center{
    width: 90%;
    margin: auto;
    margin-top: 2em;
    margin-bottom: 2em;
    padding-left: 2%;
    padding-right: 2%;
    overflow: hidden;
}

#footer{
    margin-top: 6em;
}

#errsucccode{
    text-align: center;
}

.btn {
    white-space: normal;
}

.search {
    margin-bottom: 2em;
    border-width: 2px;
    border-style: inset;
    height: 2.5em;
    width: 75%;
    margin-left: 5%;
}
@media (max-width: 935px) {
    .search {
        width: 60%;
    }
}
@media (max-width: 500px) {
    .search {
        width: 50%;
    }
}

.searchbutton{
    height: 2.5em;
    width: 6.5%;
    margin-left: 1%;
}
@media (max-width: 935px) {
    .searchbutton {
        width: 13.5%;
        margin-left: 1.5%;
    }
}
@media (max-width: 500px) {
    .searchbutton {
        width: 17%;
        margin-left: 3%;
    }
}

.soundButton{
    line-height: 0.8;
}

.soundCategory{
    font-family: 'Spectral', serif;
    margin-top: 0.5em;
}

.soundName{
    font-size: 1em;
}

.soundDescription{
    font-size: 0.5em;
}

/* Show six buttons per row */
.soundButton{
    width: 14.33%;
    min-height: 5em;
    margin-left: 2%;
    margin-top: 0.5em;
}
/* Show only four buttons per row */
@media (max-width: 1400px) {
    .soundButton{
        width: 21.25%;
        margin-left: 3%;
    }
}
/* Show only two buttons per row */
@media (max-width: 935px) {
    .soundButton{
        width: 44%;
        margin-left: 4%;
    }
}
/* Show only one buttons per row */
@media (max-width: 500px) {
    .soundButton{
        margin-left: 5%;
        width: 90%;
    }
}

.randomSoundButton{
    margin-left: 10%;
    width: 80%;
    line-height: 0.5;
    min-height: 2.5em;
    margin-bottom: 1.5em;
}