/* reset rule for my styles
    set all elements to a base of zero
        for margin and padding */

        * {
            margin: 0;
            padding: 0;
            border: 0;
            box-sizing: border-box;
        }

        body {
            background-color: grey; color: #456;
            font-family: 'Times New Roman', Times, serif;
            min-height: 100vh;
        }

        #container {
            border: 0px solid red;
            min-height: 50vh;
            margin-top: 120px;
            padding: 1em;
        }

        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background-color: #EEE;
            color: #222;
            box-shadow: 0px 3px 2px #222;
        }

        .subtitle{
            position: absolute;
            bottom: 0px;
            left: 0%;
            
            border: 0px solid green;
            padding: 8px;
            background-color: white; 
            color: #FCC;
            padding: 16px 40px;
            border-top: 2px solid grey;
            border-left: 2px solid grey;
            border-right: 2px solid grey;
            outline-offset: -8px;
            text-decoration: none;
}        

        #container a{
            text-decoration: none;
            color: black;
        }

        #container .subtitle a:link{
            text-decoration: none;
            color:black
            
        }

        #container .subtitle a:visited{
            text-decoration: none;
            color: black;
        }

        #container .subtitle a:hover{
            color: blue;
            background-color: grey;
        }



        
        h1 {
            font-family: Verdana, Geneva, Tahoma, sans-serif;
            text-align: center;
            letter-spacing: .2em;
            padding: 1em 2em;
            font-size: 2em;
            font-weight: normal;
            text-shadow: 0px 0px 4px sandybrown;
        }

        /* ====================================== */
        /* styles for navigation menu 1 */

        #nav1 {
            border:0px solid orangered;
            margin: 8px;
            padding: 8px;
            background-color: white;

        }

        #nav1 ul{
            list-style-type: none; /* gets rid of bullets */
            overflow: hidden;
            display: flex; /* makes the block a flexbox parent */
            justify-content: center; /* center the flex children */
            
        }

        #nav1 li{
            border: 2px solid orangered;
            margin: 10px;
            width: 250px;
            text-align: center;
            /* display: inline-block; /* one method of getting blocks side-by-side */ 
            /* float: left;  another method of getting blocks side-by-side */
            
        }

        #nav1 a{
            display: block; /* allows block styling to my inline achors. */
            padding: 16px 32px;
            text-decoration: none;
            color: black;
            
            transition: background-color 400ms linear;

        }

        #nav1 a:hover{
            background-color: orangered;
            color: white;
        }

        .navbar>a {
            float:left;
            font-size: 16px;
            color: white;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
        }
        
        

        
        /*===================================================*/
        /* styles for nav menu 2 */

        #nav2 {
            border: 0px solid #070;
            margin: 8px;
            padding: 8px;
            overflow: hidden; /*helps set the height if the children are floating */
            
            
        }

        #nav2 ul{
            list-style: none; /*gets rid of bullets */
            border: 0px solid darkblue;
            padding: 8px;
            float: left;
            margin-left: 100px;
            background-image: url(../images/woods.jpg);
            background-size: 250px, 500px;
        }


        #nav2 li {

        }

        #nav2 a {
            display: block;
            width: 200px;
            height: 50px;
            padding-top: 5px;
            background-color: transparent;
            color: white;
            margin-bottom: 30px;
            text-align: center; /*horizontally center the text */
            line-height: 40px; /* vertically center the text */
            text-decoration: none;
            border: 2px solid white;
            
            

        }

        #nav2 #mi6{
            width: 150px;
            margin-left: 30;
            height: 40px;
            transform: translate(25px,0px);
            border-radius: 40px;
            line-height: 25px;
        }

        #nav2 #mi7{
            border-radius: 40px;
        }         

        

        #nav2 a:hover{
            background-color: white;
            color: black;


        }

        
        #nav4 {
            border: px solid #070;
            width: 400px;
            margin: 8px;
            padding: 8px;
            float: right;
            overflow: hidden; /*helps set the height if the children are floating */
             transform: translate(0px,-370px); 
            
            
            
        }

        #nav4 ul{
            list-style: none; /*gets rid of bullets */
            border: 0px solid darkblue;
            padding: 10px;
            float: right;
            
        }


        #nav4 li {

        }

        #nav4 a {
            display: block;
            width: 250px;
            height: 50px;
            background-color: white;
            color: darkblue;
            margin-bottom: 0px;
            text-align: left; /*horizontally center the text */
            line-height: 40px; /* vertically center the text */
            text-decoration: none;
            border: .5px solid #456;
            padding-left: 20px;
            

            

        }

        #nav4 #mi8{
            padding-top: 20px;
            height:100px;
            font-size: 1.1em;
            font-weight: bold;
            
        }

        #nav4 #mi9{
            font-size: .8em;
        }

        #nav4 a:hover{
            background-color: rgb(247, 247, 247);
            color: rgb(2, 2, 175);


        }

        /* ============================================== */
        /* Nav Menu Three */

        

        /* #nav4 a{
            display: block;
            width: 100%;
            height: 100%;
            text-align: center;
            padding: 60px;
            text-decoration: none;
            transition: background-position 500ms ease-in-out;
        } */

       

        #nav3 {
            border:0px solid orange;
            margin: 0px;
            padding: 0px;
            background-color: #783F27;
            width: 1400px;
            margin-left: 200px;
            transform: translate(-100px,-200px);
            clear: both;
          


        }

        #nav3 ul{
            list-style-type: none; /* gets rid of bullets */
            overflow: hidden;
            display: flex; /* makes the block a flexbox parent */
            justify-content: center; /* center the flex children */
        }

        #nav3 li{
            border: 0px solid orangered;
            margin: 0px;
            width: 200px;
            text-align: center;
            /* display: inline-block; /* one method of getting blocks side-by-side */ 
            /* float: left;  another method of getting blocks side-by-side */
            
        }

        #nav3 a{
            display: inline-block; /* allows block styling to my inline achors. */
            padding:15px;
            text-decoration: none;
            color: white;
            width: 100%;
            height: 100%;
            transition: background-color 400ms linear;

        }

        
        #nav3 #mi20{
            padding-left: 20px;
            padding-right: 20px;
            height: 30px;
            transform: translate(0px,10px);
        }

        .dropdown {
            position: left;
            overflow: hidden;
            box-shadow: 0px 8px 0px white;
            width: 150px;
        }
        
        .dropdown .dropbtn{
            font-size: 16px;
            border: none;
            outline: none;
            color: white;
            padding: 14px 16px;
            background-color: inherit;
            font-family: inherit;
            margin: 0;
           
            
        }
        
        
        .navbar>a:hover, .dropdown:hover .dropbtn {
            background-color: tan;
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: tan;
            min-width: 80px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
            z-index: 1;
        }
        
        .dropdown-content>a {
            float: none;
            color: black;
            text-shadow: 4px 4px grey;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            text-align: left;
            background-color: tan;
        }
        
        .dropdown-content a:hover {
            background-color: tan;
        }
        
        .dropdown-content>a:hover {
            background-color: rgb(175, 150, 116);
        }
        
        .dropdown:hover .dropdown-content {
            display: block;
            
            
        }
        
        

        #nav3 a:hover{
            background-color: tan;
            color: black;
        }