@charset "utf-8";

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(250, 246, 246);
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
html{
    background-color: rgb(33, 11, 160);
}

header {
    text-align: center;
    padding: 20px;
}

h2 {
    font-size: 1.3em;
}


/* Navigation */

nav {
    margin-top: 3px;
    padding: 0;
    clear: both;
    position: relative;
}

nav #navicon {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background-color: rgb(133, 9, 9);
    color: rgb(25, 240, 6);
    line-height: 2.8em;
}

nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    width: 100%;
}

nav:hover > ul {
    display: flex;
    width: 100%;
}

nav > ul > li {
    display: block;
    width: 20%;
    flex: 1;
}

nav > ul > li > a {
    text-decoration: none;
    display: block;
    background-color: rgb(133, 9, 9);
    line-height: 2.8em;
    text-align: center;
    color: rgb(5, 233, 43);
}

nav > ul > li > a:hover {
    background-color: rgb(73, 77, 83);
}

main {
    padding: 20px;
    margin-top: 35px;
}

 img {
    width: 25%;
    padding: 25px;
    float: right;
}

body > footer {
    clear: both;
    background-color: rgb(144, 168, 4);
    color: rgb(0, 0, 0);
    font-weight: bold;
    font-size: 0.9em;
    line-height: 3em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
}

h1, h2 {
    text-shadow: 4px 6px 5px rgb(126, 124, 124);
}




/* Tablet media query */
@media only screen and (max-width: 768px) {

  

    body {
        color: rgb(77, 65, 231);
        width: 100%;
    }

    img {
        width: 90%;
        float: none;
    }



    nav a {
        border-bottom: solid black 1px;
    }

      table, tbody, tr, td, th {
 display: block;

thead, tfoot {
   display: none; 
}
tbody td{
    position: relative;
    padding-left: 40%;
    height: auto;
}


}
}


/* Desktop media query */
@media only screen and (min-width: 769px) {
    body {
        width: 100%;
    }

    footer {
        clear: both;
    }
}


textarea {
    padding: 10px;
    margin: 10px;
}