/*Website Set-Up*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', 'Arial', sans-serif;
}

html {
    background-color: floralwhite;
    color: black;
}

/*Top Bar Navigation and Logo*/
nav {
    text-decoration: none;
    background: #073200;
    top: 0;
    width: 100vw;
    padding: 0;
    text-align: center;
    font-size: 18px;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.navbar ul li {
    padding: 10px 0;
    border-bottom: 1px solid #29741d;
    position: relative;
    width: 100%;
}

.navbar a {
    display: flex;
    align-content: center;
    justify-content: center;
    text-decoration: none;
    height: 40px;
    color: white;
    font-size: 18px;
    padding: 10px;
}

header img {
    height: 100px;
    max-width: 100%;
    margin-left: 20px;
    padding: 0;
}

nav ul li {
  flex: auto;
  list-style-type: none;
}

.dropdownabout{
    position: absolute;
    flex-direction: column;
    top: 30px;
    width: 50%;
    z-index: 10;
}

.dropdownabout li{
    display: none;
    position: relative;
}

.navbar li:hover .dropdownabout > li{
    display: block;
    top: 0;
    background-color: #29741d;
    border-bottom: 1px #073200 solid;
}

.dropdownabout li:hover{
  display: block;
}

.header {
    text-align: center;
    width: 100%;
    height: auto;
    min-height: 250px;
    background-image: linear-gradient(rgb(7, 50, 0, 1), rgb(7, 50, 0, 0));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
}

/*Header Banner*/
.header h1{
    font-weight: 800;
    font-size: 84px;
    color: floralwhite;
    margin-bottom: 0;
}

.header p{
    font-size: 36px;
    color: #073200;
    margin-top: 5px;
}

/*Main*/
main {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 10px;
  }

main p {
    font-size: 14px;
    line-height: 1.5;
}

.hold {
    font-size: 24px;
    text-align: center;
}

.tabletitle {
    width: 98%;
    text-align: center;
    margin: 0 10px;
    padding-top: 30px;
}

h2 {
    color: #073200;
    text-align: center;
    font-size: 28px;
}

h3 {
    font-size: 20px;
    padding-bottom: 5px;
    text-decoration: underline;
}

hr {
    border-top: solid 1px #073200;
    margin-top: 15px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
/*TABLE*/
table {
    margin-top: 20px;
    caption-side: bottom;
}

table,td,th{
    padding: 15px;
    border-spacing: 15px;
    border: solid 1px;
    border-collapse: collapse;
}
td {
    border:solid 1px #073200;
}

th {
    border-bottom:double 4px;
    background-color: #073200;
    color: floralwhite;
}

tr {
    background-color: floralwhite;
}

td a {
    text-decoration: underline;
    color: #073200;
}

tr:hover  {
    background-color: lightgrey;
    color: #073200;
}

tr:nth-child(2n) {
    background-color:#29741d;
    color: floralwhite;
    text-decoration: none;
}

tr:nth-child(2n) a {
    color: floralwhite;
    text-decoration: underline;
}

tr:nth-child(2n):hover {
    background-color:#1e5416;
}

tfoot tr {
    background-color: #29741d;
    color: floralwhite;
}

tfoot tr a {
    color: floralwhite;
    text-decoration: underline;
}

/* FOOTER*/
footer {
    text-align: center;
    padding: 1em;
    background-color: floralwhite;
    color: #073200;
    clear: both;
    width: 100%;
}

caption {
    padding-top: 10px;
}

/* Small devices (tablets, 768px and up) */
@media screen and (min-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        max-width: 98%;
        margin: auto;
    }
    
    main {
        display: flex;
        flex-wrap: wrap;
    }
    
    nav {
        background: #073200;
        top: 20px;
        width: 100vw;
        text-align: center;
        font-size: 18px;
}
    
    nav ul {
        flex-direction: row;
    }
    
    .dropdownabout{
        flex-wrap:wrap;
        width: 100%;
        top: 40px;
    }
    
    body, p, a, h4 {
        font-size: 15px;
    }
    
    aside {
        text-align: center;
    }
}


/* Medium devices (desktops, 992px and up) */
@media screen and (min-width: 992px) {
    .header {
        padding: 100px;
    }
    
    body {   
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }
    
    main {
        display: flex;
        flex-wrap: wrap;
    }
    
    main p {
        font-size: 18px;
        padding: 0 30px;
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
    
    h2 {
        font-size: 32px;
    }
    
    h2, h3 {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
    
    h2 a {
        font-size: 24px;
    }
    
    hr {
        width: 90%;
    }
    
    
    nav, header {
        order: -1;
    }
    
    nav {
        flex-direction: row;
        top: 0;
        width: auto;
        text-align: center;
        font-size: 18px;
    }
    
    .navbar ul {
        flex-direction: row;
    }
    
    .navbar ul li {
        padding: 0;
        border-bottom: none;
    }
    
    nav a {
        flex: auto;
    }
    
    .navbar a:hover {
        background: floralwhite;
        color: #073200;
        border-radius: 3px;
        padding: 10px 20px;
        border-top: 1px solid #073200;
    }
    
    .article-specs {
        flex: 33%;
        padding: 10px 0;
        width: 50%;
    }
    
    aside, section {
        flex: 100%;
    }
    
    table {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
    
    footer {
        background-color: #073200;
        color: floralwhite;
        width: 100%;
    }
}

