/* apply a natural box layout model to all elements */
* {
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
/* article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
   display: block;
} */

/* body, ul {
    margin: 0;
    padding: 0;
    list-style: none;
} */

body {
   line-height: 1;
   max-width: fit-content;
   background: white;
   margin: 0 auto;
   /* font-family: Verdana, Geneva, sans-serif;  */
}
 
header {
    background-color: darkslategrey;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    color:blanchedalmond;
    text-align: center;
    font-size: xx-large;
    text-shadow: 2px 2px 2px black;
}

/* navigation bar */
nav {
    display: block;
    background-color: darkslategrey;
    overflow: hidden;
    padding: 1em 0;
    padding-top: 2.5em;
    border-radius: 0.5em;
}
nav ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}
nav ul li a {
    display: block;
    padding: 0.5em 1em;
    color: blanchedalmond;
    font-size: large;
    text-shadow: 1.5px 1.5px 1.5px black;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}
nav ul li a:hover {
    background-color: teal;
}

/* article for text boxes */
article {
    /* position: center; */
    align-items: center;
    width: 60%;
    /* margin-left: 20%;
    margin-right: 20%; */
    text-align: left;
    color: blanchedalmond;
    background: darkslategrey;
    border-radius: 0.5em;
}
article p {
    padding: 1em
}

/* homework table */
table {
    border-collapse: collapse;
    width: 100%;
    /* padding: 1em 1em 2em 1em; */
    /* margin: 1em 1em 1em 1em;  */
}
table tr {
    padding-top: 1em;
    padding-bottom: 1em;
}
table tr td {
    border: 1px solid white;
}
td {
    text-align: center;
    padding: 1em;
}
td a {
    display: block;
    color: blanchedalmond;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
td a:hover{
    background-color: teal;
}

/* styled similarly to article */
.homework-table {
    width: auto;
    /* height: 75%; */
    background-color: darkslategray;
    color: blanchedalmond;
    align-content: center;
    text-align: center;
    margin: 1em 0 1em 0;
    padding: 0 1em 1em 1em;
    border-radius: 0.5em;
}

.footer {
    background-color: darkslategrey;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 1em 0 0 0;
    color: blanchedalmond;
    text-align: center;
}
