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

body {
    font: 1em Arial, Helvetica, sans-serif;
    background: linear-gradient(to top right, #fff, #e6ffff);
    }
    
#container {
    max-width:1000px;
    margin:auto;
    border-radius:10px;
    background:linear-gradient(to top right, #ffc266, #fff5e6);  
    }
    
header, footer {
    text-align:center;
    background-image: radial-gradient(rgba(254,182,69,1), rgba(71,68,34,1));
    color: rgb(239, 242, 247);
    text-shadow: 1px 1px black;
    height:100px;
    }

h1 {
    font-family: 'Satisfy', cursive;
    font-size: 50px;
    line-height: 70px;
    font-weight: normal;
    }
    
nav {
    position:relative;
    font-family: 'Merienda', cursive;    
    }
    
nav ul {list-style-type: none; overflow:hidden;}

#mainmenu li {
    float:left;
    width:calc(100% / 6);
    }
    
#mainmenu > li:last-child {width:calc(100% / 6 - 1px);} /* to avoid wrapping in, you guessed it, IE*/

#mainmenu li:hover {background-color:rgba(254,182,69,.4); color:white;}

#mainmenu li a, span {
    color:rgb(239, 242, 247);
    text-decoration:none;
    display: block;
    line-height:20px;
    padding:5px;
    }
    
#mainmenu .hidden {position: relative; display:none;}
#mainmenu .hidden li {
    width:100%;
    background-color:rgba(200,146,55,.3);
    }
#mainmenu .hidden li:hover {
    background-color:rgba(254,182,69,.3);
    }
    
div.material-icons {
    font-size:30px;
    display:none;
    float:left;
    margin-left:8px;
    margin-top:40px;
    }
    
div.material-icons:hover, li span:hover {cursor:pointer;}
#topNav {
    margin: 0px 5px 15px 5px; 
    display: block;
    background-color: rgba(255, 245, 230, .6);
    border-radius: 8px;
    }
    
#topNav div {display:inline-block;}
#topNav div:nth-child(2) {float:right;}

#topNav div a, #topNav div i {
    text-decoration: none; color: black;
    display:table-cell;
    vertical-align:middle;
    font-weight:bold;
    padding:5px;
    }
    
#sideNav h3 {
    display: block;
    padding: 10px;
    margin: 0 0 5px 8px;
    background-color: rgb(204, 255, 229);
    border-radius:8px 8px 0 0;
    box-shadow: 2px 2px 2px rgba(128,77,0,0.8);
    }

#sideNav li:hover {background-color: rgb(204, 255, 229); font-style: italic;}
#sideNav li:last-child {display: list-item; border-radius: 0 0 8px 8px;}

article {
    width: 75%; float: left; padding: 12px;
    margin-left:5px;
    border-radius: 8px;
    background-color: rgba(255, 245, 230, .6);
    box-shadow: 5px 5px 5px rgba(128,77,0,0.8);
    margin-bottom: 10px;
    }

h2 {
    margin-top:5px; margin-bottom:5px;
    font-family: 'Merienda', cursive;
    text-align: center;
    }
hr {
    overflow: visible;
    height: 30px;
    border-style: solid;
    border-color: black;
    border-width: 1px 0 0 0;
    border-radius: 20px;
}
hr:before {
    display: block;
    content: "";
    height: 30px;
    margin-top: -31px;
    border-style: solid;
    border-color: black;
    border-width: 0 0 1px 0;
    border-radius: 20px;
}
img {
    width: 50%;
    float: right;
    margin:10px; margin-right:0; margin-top:0;
    border-radius: 5px;
    }
    
article p:nth-child(3) {
    font-size:.8em;
    font-style: italic;
}

article p:nth-child(4):first-letter {
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 6px;
    font-size: 2.8em;
    font-weight: bold;
    border-radius: 5px;
    background-color: #ffc266;
    background: linear-gradient(to top right, #ffc266, #fff5e6);
    }

.fb-like, .fb-comments {
    width:100%;
    position:relative;
    float:left;
    clear:left;
    }
    
#sideNav {width: 24%; float: left; font-family: 'Merienda', cursive;}
.artList {display:block; text-decoration: none; color: black;}

#bottomNav {
    float: right;
    margin: 16px;
    color: grey;
    padding: 5px;
    text-decoration: none;
    background-color: #f2f2f2;
    border: 1px solid grey;
    border-radius: 5px;
    }
       
#bottomNav:hover {background-color: white;}
#bottomNav a {text-decoration: none; color: black;}

footer {
    font-family: 'Merienda', cursive;
    height:50px;
    line-height:50px;
    clear: left;
    }

@keyframes toTop {
    from {top: 1000px;}
    to {top: 0px;}
    }
    
@media screen and (max-width: 700px) {
    nav {text-align:left;}
    footer {height:51px;}
    header {height:70px;}
    section {height: calc( 100vh - 120px );}
    #mainmenu {width:130px; display:none;}
    #mainmenu li, #mainmenu > li:last-child {width:100%; background-color:rgba(200,146,55,.4);}
    #mainmenu .hidden { position:absolute; width:180px; border-left: 1px solid rgba(254,182,69,.8); left:130px;top:0px;}
    div.material-icons {display:inline;}
    h2 {text-align: center;}
    #topNav, #sideNav {
        display:inline-block; width:97%;}
    article {
        display:inline-block; width:97%;
        }
    img {width:100%; margin:0; margin:auto; margin-bottom: 10px;}
    }