* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: Inter, Geneva, Tahoma, sans-serif;
}

h1 {
    font-size: 175%;
    margin: 15px 0;
}

.menu-header {
    text-align: center;
    /* Hidden in mobile mode */
    display: none;
}

.categories-header {
    text-align: left;
    font-size: 125%;
    margin-left: 15px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

p, .container {
    padding: 15px;
}

.category-content {
    border: 1px solid black;
    background-color: #999999;
    position: relative;
    max-height: 175px;
    overflow-y: hidden;
}

.category-content:hover {
    cursor: ns-resize;
    overflow-y: scroll;
}

.category-title {
    position: absolute;
    top: 0;
    right: 0;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    padding: 0 10px;
    width: 150px;
    text-align: center;
    font-size: 125%;
    color: #ffffff;
    font-weight: bold;
    /* Hidden in mobile mode */
    display: none;
}

.category-description {
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 125%;
    padding: 0 10px;
    border-bottom: 1px solid black;
}

.category1-bg {
    background-color: #49149e;
}

.category2-bg {
    background-color: #a30603;
}

.category3-bg {
    background-color: #29099c;
}

/* Simple responsive framework adapted from Lecture 24 content */
/* Credit: https://github.com/jhu-ep-coursera/fullstack-course4/tree/master/examples/Lecture24 */

.row {
    width: 100%;
}

/* Desktop mode */
@media (min-width: 992px) {
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        float: left;
    }
    .col-lg-1 {
        width: 8.33%;
    }
    .col-lg-2 {
        width: 16.66%;
    }
    .col-lg-3 {
        width: 25%;
    }
    .col-lg-4 {
        width: 33.33%;
    }
    .col-lg-5 {
        width: 41.66%;
    }
    .col-lg-6 {
        width: 50%;
    }
    .col-lg-7 {
        width: 58.33%;
    }
    .col-lg-8 {
        width: 66.66%;
    }
    .col-lg-9 {
        width: 74.99%;
    }
    .col-lg-10 {
        width: 83.33%;
    }
    .col-lg-11 {
        width: 91.66%;
    }
    .col-lg-12 {
        width: 100%;
    }
}

/* Tablet mode */
@media (min-width: 768px) and (max-width: 991px) {
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: left;
    }
    .col-md-1 {
        width: 8.33%;
    }
    .col-md-2 {
        width: 16.66%;
    }
    .col-md-3 {
        width: 25%;
    }
    .col-md-4 {
        width: 33.33%;
    }
    .col-md-5 {
        width: 41.66%;
    }
    .col-md-6 {
        width: 50%;
    }
    .col-md-7 {
        width: 58.33%;
    }
    .col-md-8 {
        width: 66.66%;
    }
    .col-md-9 {
        width: 74.99%;
    }
    .col-md-10 {
        width: 83.33%;
    }
    .col-md-11 {
        width: 91.66%;
    }
    .col-md-12 {
        width: 100%;
    }
}

/* Desktop and tablet mode */
@media (min-width: 768px) {
    .menu-header {
        display: block;
    }
    .category-title {
        display: block;
    }

    .categories-header {
        display: none;
    }
    .category-description {
        display: none;
    }

    /* Add more padding to clear absolute positioning of category title */
    p {
        padding-top: 30px;
    }
}
