/* the styles for the elements */
* {
    margin: 0;
    padding: 0;
}
html {
    background-color: white;
    font-family: Georgia, "Times New Roman", Times, serif;

}
body {
    width: 99%;
   max-width: 1170px;
    margin: 0 auto;
}
a:hover {
    color: #B1D34A;
}
a:active {
    color: #B1D34A;
}
a.current {
    color: #B1D34A;
}
header {
    border-bottom: 2px solid  #B1D34A;
    position: relative;
    overflow: auto;
}
#mobile-nav {
    display: none;
}
header h1 {
    margin-bottom: 0;
    margin-left: 20%;
    padding-top: 30px;
    font-size: 2.5em;
}
header h2 {
    font-size: 1.65em;
    margin-left: 21%;
}
header img {
    padding: 0;
    margin-left: 30px;
    margin-top: 10px!important;
    float: left;
}
aside {
    width: 14%;
    height: 616px;
    float: left;
    border-right: 2px solid  #B1D34A;
}
aside nav {
    padding-top: 40px;
}
aside li {
    list-style-type: none;
    padding: 15px 40px;
}
aside a {
     text-decoration: none;
     color: black;
     font-size: 20px;
}
main {
    height: 616px;
    width: 85%;
    float: right;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
main img {
    width: 43%;
    float: left;
    padding-left: 4%;
    padding-top: 8%;
    padding-right: 4%;
    padding-bottom: 100px;
}
main article {
    padding-top: 17%;
    padding-right: 5%;
}
main article p {
    padding-top: 20px;
    font-size: 20px;
}
footer {
    /*background-color: #e6e6e6;*/
    border-top: 2px solid  #B1D34A;
    height: 60px;
    clear: both;
    text-decoration: none;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
footer a {
    text-decoration: none;
    color: black;
}
.center {
    text-align: center;
    padding-top: 15px;
}

/* styles for larger devices, desktops, laptops */

@media only screen and (max-width: 1024px) {
    header h1 {
        margin-left: 18%;
    }
    header h2 {
        margin-left: 19%;
    }

}

    @media only screen and (max-width: 992px) {
        header img {
            margin-left: 0;
            width: 15%;
        }

        header h1 {
            font-size: 1.9em;
        }

        header h2 {
            font-size: 1.2em;
        }
        aside {
            width: 18%;
        }

        aside li {
            padding: 15px 25px;
        }

        main {
            width: 78%;
        }

        .mobile-poem {
            display: none;
        }

        main img {
            padding-bottom: 150px;
            padding-top: 150px;
        }
    }

    /* styles for small tablet */
    @media only screen and (max-width: 768px) {

        header img {
            margin-left: 30px;
            margin-top: 30px;
        }

        header h2 {
            padding-left: 1.5%;
        }

        /* Extra small devices (phones, 600px and down) */
        @media only screen and (max-width: 576px) {
            aside {
                display: none;
            }

            main {
                width: 100%;
            }

            #mobile-nav {
                display: block;
            }

            header img {
                margin-left: 15%;
                margin-top: 0 !important;
                max-width: 13%;
            }

            .cheese {
                display: block;
                padding-top: 10px;
                margin-left: auto;
                margin-right: auto;
                width: 200%;
            }

            header {
                border-bottom: 3px solid #B1D34A;
                font-size: 70%;
                padding-bottom: 20px;
            }

            header h1 {
                font-size: 25px;
                clear: both;
            }

            header h2 {
                padding-right: 10%;
                padding-top: 5px;
                font-size: 16px;
                padding-left: 0 !important;
            }

            main img {
                float: none;
                width: 70%;
                padding-top: 40px;
                padding-bottom: 30px;
                padding-left: 10%;
            }

            main {
                height: auto;
                padding-bottom: 30px;
            }

            main article {
                padding-top: 0;
                padding-left: 5%;
            }

            main article p {
                width: 90%;
                padding-left: 3%;
            }

            footer {
                border-top: 3px solid #B1D34A;
                margin-top: 40px;
            }

            .center {
                text-align: center;
                padding-top: 10px;
                padding-bottom: 10px;
            }
        }

        @media only screen and (max-width: 425px) {

            header h1 {
                margin-left: 16% !important;
                padding-top: 3% !important;

            }

            header h2 {
                margin-left: 16% !important;
                padding-bottom: 0 !important;
            }
        }


        @media only screen and (max-width: 375px) {

            header h1 {
                margin-left: 14% !important;

            }

            header h2 {
                margin-left: 14% !important;
            }
        }
        @media only screen and (max-width: 320px) {
            header h1 {
                font-size: 2em;
                margin-left: 10%;
            }

            header h2 {
                margin-left: 10%;
                font-size: 1.35em;
                padding-bottom: 0 !important;
            }
        }

        /*to fix landscape cell view below  */
        @media screen  and (orientation: landscape)
        and (min-device-width: 319px) and (max-device-width: 480px) {
            header h1 {
                padding-left: 5% !important;
                margin-left: 0 !important;
                padding-top: 5px!important;
                margin-top: 0!important;
            }

            header h2 {
                padding-left: 7% !important;
                margin-left: 0 !important;
            }
            header img {
                max-width: 8% !important;
            }
        }
    }

