/* 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: tan; color: #456;
            font-family: 'Times New Roman', Times, serif;
            min-height: 100vh;
        }

        #container {
            border: 8px solid red;
            min-height: 200vh;
            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: -35px;
            left: 50%;
            transform: translateX(-50%);
            border: 0px solid green;
            padding: 8px;
            background-color: #222; 
            color: #FCC;
            padding: 16px 40px;
            outline: 4px solid yellow;
            outline-offset: -8px;



        }

        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 #700;
            margin: 8px;
            padding: 8px;

        }

        #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 blue;
            margin: 8px;
            /* display: inline-block; /* one method of getting blocks side-by-side */ 
            /* float: left;  another method of getting blocks side-by-side */
            
        }

        #nav1 a{
            display: inline-block; /* allows block styling to my inline achors. */
            padding: 16px 32px;
            text-decoration: none;
            color: #234;
            font-weight: bold;
            transition: background-color 400ms linear;

        }

        #nav1 a:hover{
            background-color: yellowgreen;
            color: black;
        }

        /* style the active pages */
        #page1 #mi1, #page2 #mi2, #page3 #mi3, #page4 #mi4 {
            background-color: #070;
            color: #EEE;
        }

        
        /*===================================================*/
        /* styles for nav menu 2 */

        #nav2 {
            border: 8px 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: 3px solid darkblue;
            padding: 8px;
            float: left;
        }


        #nav2 li {

        }

        #nav2 a {
            display: block;
            width: 200px;
            height: 50px;
            background-color: #456;
            color: orange;
            margin-bottom: 8px;
            text-align: center; /*horizontally center the text */
            line-height: 40px; /* vertically center the text */
            text-decoration: none;
            border: 4px solid #456;
            border-radius: 25px;

        }

        #nav2 a:hover{
            border: 4px solid darkred;


        }

        /* ============================================== */
        /* Nav Menu Three */

        #nav3 {
            border: 8px solid #707;
            
            width: 400px;
            margin: 8px auto; /* center a block */
            height: 400px;

        }

        #nav3 ul {
            list-style: none;
            background-color: pink;
            width: 100%;
            height: 100%;
            display: flex;
            flex-flow: row wrap;

        }

        #nav3 li {
            flex: 1 0 50%;
           
        }

        #nav3 a{
            display: block;
            width: 100%;
            height: 100%;
            text-align: center;
            padding: 60px;
            text-decoration: none;
            background-image: url(../images/Sam.jpg);
            background-size: 200px 400px;
            transition: background-position 500ms ease-in-out;
        }

        #nav3 li:nth-child(1) a{
            
        }

        #nav3 a:hover{
            background-position: 0px -200px;
        }

        .bigarrow {
            display: block;
            width: 200px;
            height: 100px;
            background-image: url(../photopage/Left.png);
            background-size: cover;
        }