body {
    font-family: sans-serif;
    font-size: 100%;
    background-color: #e0f3ff;
    color: #000;
    padding: 0;
}

p {
    max-width: 45rem;    

}
         
.footer {
    margin-top: 10px;
    font-size: 80%;
    color: #204080;
}

a {
    color: #c04080;
    text-decoration: underline;
}

a:visited {
    color: #804080;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #ff4080;
}

/* Ideas from:
 * https://medialoot.com/blog/how-to-create-a-responsive-navigation-menu-using-only-css/
 */
/* Strip the ul of padding and list styling*/

ul.menu {
    list-style-type:none;
    margin:0;
    padding:0;
    position: absolute;
}
/* Create a horizontal list with spacing*/
ul.menu li {
    display:inline-block;
    float: left;
    margin-right: 1px;
    padding: 3px;
}

/* Style for menu links*/
ul.menu li a {
   display:block;
    min-width:140px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 80%;
    color: #fff;
    background: #103070;
    text-decoration: none;
}
/* Hover state for top level links*/
ul.menu li:hover a {
    color: #103070;
    background: #fff;
    font-weight: bold;
}

/*Display the dropdown on hover*/
ul.menu li a:hover + .hidden, .hidden:hover {
    display: block;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
    align: right;
    padding: 10px 0;
    display: none;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/* Responsive Styles */
/* 1190 = 8 * 140 + 7 * 10 */
@media screen and (max-width : 1190px){
    /* Make dropdown links appear inline */
    ul.menu {
        position: static;
        display: none;
    }
    /* Create vertical spacing */
    ul.menu li {
        margin-bottom: 1px;
    }
    /* Make all menu links full width */
    ul.menu ul li, li a {
        width: 100%;
    }

    /*Display 'show menu' link*/
    .show-menu {
        display:block;
    }
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ ul.menu {
    display: grid;
}
