.primaryContentContainer {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 10px;
    justify-items: center;
}

.bookContainer {
    padding-top: 10px;
    border-top: 1px solid #b7b7b7;
    padding-bottom: 5px;
    border-bottom: 1px solid #b7b7b7;
    justify-items: center;
    display: none;
}

#pageInput {
    width: 45px;
    font-size: 16px;
}

#read {
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-self: center;
    background-color: #ffaf7f;
    font-size: 20px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 15px;
    padding: 8px 30px;
    color: black;
}

.searchContentContainer {
    display: block;
    width: 100%;
}

#search_results {
    margin-top: 20px;
    overflow-x: scroll;
}

.searchBox {
    justify-self: center;
    text-align: center;
}

.browseContentContainer {
    margin-bottom: 20px;
}

@media only screen and (max-width: 735px) {
    #browseForm {
        display: grid;
        grid-template-columns: auto;
        grid-gap: 31px;
    }
    
    .browseFormContent {
        display: flex;
        overflow-x: auto;
        flex-flow: wrap;
        justify-content: center;
    }
    
    .browseFormInput {
        width: 65px;
        font-size: 30px;
    }
    
    .browseFormInputHex {
        font-size: 30px;
        width: 94%;
    }
    
    .browseFormSectionHex {
        width: 230px;
    }
    
    .browseFormSubControls {
        display: grid;
        grid-template-columns: 50% 50%;
        width: 100%;
        margin-top: -10px;
        grid-gap: 20px;
    }
    
    #bookResult {
        width: 100%;
        height: 50%;
    }
    
    .genButton {
        width: 200px;
        height: 40px;
        font-size: 20px;
    }
    
    .papyrus-controls-left {
        position: unset;
        display: grid;
        grid-template-columns: auto auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .papyrus-controls-right {
        position: unset;
        display: grid;
        grid-template-columns: auto auto;
        margin-top: 20px;
    }
    
    #result {
        width: 100%;
        overflow: auto;
    }
    
    #read {
        font-size: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .browseContentContainer {
        width: 100%;
    }
    
    .browseFormSectionHex {
        justify-items: center;
        width: 94%;
    }
}