/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.dictionary-sidebar { 
     padding-top: 20px;
     padding-bottom: 80px;
     display: block; 
}

.button-depth {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.0125),0 1px 1px rgba(0,0,0,0.05);
    font-size: 1.5625rem;
    text-align: center;
    margin-bottom: .25rem;
    margin-top: 5px;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #007cba;
    color: #f8f9fa;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    border-color: rgba(0,0,0,0.4);
    border-style: solid;
    border-left-width: 1px;
    border-right-width: 1px;
    border-top-width: 1px;
    border-bottom-width: 4px;
    box-sizing: border-box;
    transition: all .5s;
}

.button-depth:hover {
    cursor: pointer;
    background-color: #0f92d4;
    border-color: rgba(0,0,0,0.2);
    transition: all .5s;
}

.search-input {
    box-shadow: inset 0 .25rem .125rem 0 rgba(0,0,0,0.05);
    border-radius: 6px;
    border-width: 2px;
    border-color: #dee2e6;
    padding: .75em;
    border-style: solid;
    transition: all .2s linear;
}

.card-body-font-size {
    font-size: 36px;
    text-transform: capitalize;
}

.card_body {
    cursor: pointer;
    overflow-wrap: break-word;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    color: #353b48;
    background: #f5f6fa;
    border-radius: 12px;
    border-width: 4px;
    border-color: #ced1d4;
    border-style: solid;
    text-align: center;
    width: 260px;
    /* background: -webkit-linear-gradient(to right, #ffffff, #f5f6fa);
    background: linear-gradient(to bottom, #fff, #f5f6fa); */
}

.card_body:hover {
    cursor: pointer;
    z-index:0;
    transition: all 0.5s;
    color: #353b48;
    border-width: 4px;
    border-color: #0097e6;
}

.dictionary-category-link {
    color: #212121;
}

.dictionary-category-link:hover {
    color: #0097e6;
    transition: all 0.5s;
}

.dictionary-card-category-image {
    line-height:30px;
    text-align:center;
    display: block;
}

/* https://css-tricks.com/snippets/css/a-guide-to-flexbox/ For Guide on Flex containers */
.dictionary-cards-flex-container {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin: 0px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.dictionary-card-category-image-single {
    width: 32px;
    height: 32px;
    margin-left:3px;
    margin-right:3px;
}

/* New Container */
@media only screen and (min-width:1201px) {
    .card-body-font-size {
        font-size: 32px;
        text-transform: capitalize;
    }
}
@media only screen and (max-width:1200px) {
    .card-body-font-size {
        font-size: 26px;
        text-transform: capitalize;
    }
    .card_body {
        width: 150px;
    }
}
@media only screen and (max-width:650px) {
    .dictionary-sidebar { 
        display: none; 
   }

   .dictionary-card-category-image {
       display: none;
   }

   .card-body-font-size {
        font-size: 20px;
        text-transform: capitalize;
    }

    .card_body {
        padding-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
        width: 120px;
    }
}