/* =========================================================
   gable.css
   Responsive stylesheet for
   "Message on a Gable End."
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   HTML
   ========================================================= */

html {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


/* =========================================================
   BODY
   ========================================================= */

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #000000;
    overflow-x: hidden;
}


/* =========================================================
   MAIN PAGE WRAPPER
   ========================================================= */

#body_wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

#body_header {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}


/* =========================================================
   HEADINGS
   ========================================================= */

h1 {
    width: 100%;
    margin: 0;
    padding: 0 0 5px 0;

    font: bold italic 40px Tahoma, Arial, sans-serif;
    line-height: 1.2;

    text-align: center;
    color: #2619EF;
}

h2 {
    width: 100%;
    margin: 0;
    padding: 0 0 5px 0;

    font: bold italic 35px Tahoma, Arial, sans-serif;
    line-height: 1.25;

    text-align: center;
    color: #2619EF;
}

h3 {
    width: 100%;
    margin: 0;
    padding: 0 0 5px 0;

    font: bold italic 22px Tahoma, Arial, sans-serif;
    line-height: 1.25;

    text-align: center;
    color: #000000;
}


/* =========================================================
   IMAGES
   ========================================================= */

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}


/* =========================================================
   MAIN ARTICLE AREA
   ========================================================= */

#new_div {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   ARTICLE
   ========================================================= */

.intro {
    display: block;

    width: 90%;
    max-width: 900px;

    margin: 20px auto;
    padding: 0;

    box-sizing: border-box;

    text-align: left;

    font: 25px "Times New Roman", Times, serif;
    line-height: 1.6;

    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* =========================================================
   ARTICLE PARAGRAPHS
   ========================================================= */

.intro p {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0 0 18px 0;
    padding: 0;

    box-sizing: border-box;

    font: 25px "Times New Roman", Times, serif;
    line-height: 1.6;

    text-align: left;
    text-indent: 0;

    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* =========================================================
   GABLE END QUOTATION
   ========================================================= */

.gable-quote {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 25px auto 30px auto;
    padding: 0;

    color: brown;

    font: 26px Tahoma, Arial, sans-serif;
    line-height: 1.3;

    text-align: center;

    clear: both;

    box-sizing: border-box;
}


/* =========================================================
   PARAGRAPH AFTER QUOTATION
   ========================================================= */

.after-quote {
    clear: both;
}


/* =========================================================
   EMPHASIS
   ========================================================= */

em {
    font-weight: bold;
    font-style: italic;
}

.bold {
    font-weight: bold;
}


/* =========================================================
   GENERAL PARAGRAPHS
   ========================================================= */

p {
    font: 25px "Times New Roman", Times, serif;
    line-height: 1.6;
    text-indent: 0;
}


/* =========================================================
   MAIN SECTION
   ========================================================= */

#main_section {
    width: 100%;
    max-width: 100%;

    margin: 20px 0;
    padding: 20px;

    box-sizing: border-box;

    font: 25px "Times New Roman", Times, serif;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

#navigation {
    width: 100%;
    max-width: 100%;

    margin: 20px auto;
    padding: 0;

    text-align: center;

    clear: both;
}

#navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#navigation li {
    display: inline-block;

    margin: 0;
    padding: 5px;

    font: bold 14px Tahoma, Arial, sans-serif;
}

#navigation a {
    text-decoration: none;
}


/* =========================================================
   FOOTER
   ========================================================= */

#the_footer {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 10px;

    text-align: center;

    border-top: 3px solid green;

    box-sizing: border-box;
}


/* =========================================================
   PAGE FOOTER
   ========================================================= */

#page_footer {
    display: block;
    clear: both;

    width: 100%;
    max-width: 100%;

    margin: 40px 0 0 0;
    padding: 20px 5px 30px 5px;

    border-top: 3px solid blue;

    text-align: center;

    font: 10px Tahoma, Arial, sans-serif;
    line-height: 1.5;

    box-sizing: border-box;
}


/* =========================================================
   POEMS
   ========================================================= */

#poem_first {
    display: flex;
    flex-direction: row;
    justify-content: center;

    width: 100%;
    max-width: 100%;
}

#poem_one {
    width: 56%;
    padding-left: 24px;
}

#poem_two {
    width: 56%;
    padding-left: 24px;
}

#poem_second {
    display: flex;
    flex-direction: row;
    justify-content: center;

    width: 100%;
    max-width: 100%;
}


/* =========================================================
   BOYS AND GIRLS
   ========================================================= */

#boysandgirls {
    text-align: left;
    margin-bottom: 15px;
}


/* =========================================================
   CENTRAL BOX
   ========================================================= */

#box_central {
    display: flex;
    flex-direction: row;
    justify-content: center;

    width: 100%;
    max-width: 100%;
}


/* =========================================================
   CONTENT BOX
   ========================================================= */

#content {
    width: 400px;
    max-width: 100%;

    margin: 10px;
    padding: 20px;

    background: #2619EF;
    color: #FFFFFF;

    font: bold 18px Tahoma, Arial, sans-serif;
    text-align: center;

    border-radius: 25px;

    box-sizing: border-box;
}


/* =========================================================
   SPECIAL PARAGRAPHS
   ========================================================= */

p.aligncenter {
    text-align: center;
}

p.indent {
    text-indent: 5%;
}

p.yours {
    text-indent: 50%;
}

p.signature {
    text-indent: 55%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 800px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    #body_wrapper {
        width: 100%;
        max-width: 100%;

        margin: 15px 0;
        padding: 0;
    }


    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 21px;
    }


    .intro {
        width: 95%;
        max-width: 900px;

        margin-left: auto;
        margin-right: auto;

        font-size: 24px;
        line-height: 1.55;
    }


    .intro p {
        font-size: 24px;
        line-height: 1.55;
    }


    .gable-quote {
        width: 100%;
        margin: 25px auto 30px auto;

        font-size: 23px;
        line-height: 1.3;

        text-align: center;
    }


    #main_section {
        margin: 15px 0;
        padding: 15px;
    }


    #poem_first,
    #poem_second {
        flex-direction: column;
        align-items: center;
    }


    #poem_one,
    #poem_two {
        width: 90%;
    }


    #page_footer {
        clear: both;

        margin-top: 35px;
        padding: 20px 10px 30px 10px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {

    html {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    body {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }


    /* -------------------------
       MAIN WRAPPER
       ------------------------- */

    #body_wrapper {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 10px 0 0 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
    }


    /* -------------------------
       HEADER
       ------------------------- */

    #body_header {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: center;
    }

    h1 {
        width: 100% !important;
        max-width: 100% !important;

        font-size: 28px !important;
        line-height: 1.2;
    }

    h2 {
        width: 100% !important;
        max-width: 100% !important;

        font-size: 24px !important;
        line-height: 1.25;
    }


    /* -------------------------
       ARTICLE AREA
       ------------------------- */

    #new_div {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
    }


    /* -------------------------
       ARTICLE TEXT
       ------------------------- */

    .intro {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 20px 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;

        text-align: left !important;

        font-family: "Times New Roman", Times, serif !important;
        font-size: 23px !important;
        line-height: 1.55 !important;

        overflow-wrap: break-word;
        word-wrap: break-word;
    }


    /* -------------------------
       ARTICLE PARAGRAPHS
       ------------------------- */

    .intro p {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 0 16px 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;

        font-family: "Times New Roman", Times, serif !important;
        font-size: 23px !important;
        line-height: 1.55 !important;

        text-align: left !important;
        text-indent: 0 !important;

        overflow-wrap: break-word;
        word-wrap: break-word;
    }


    /* -------------------------
       GABLE QUOTATION
       ------------------------- */

    .gable-quote {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 20px 0 30px 0 !important;
        padding: 0 !important;

        float: none !important;
        clear: both !important;

        color: brown;

        font-family: Tahoma, Arial, sans-serif !important;
        font-size: 21px !important;
        line-height: 1.3 !important;

        text-align: center !important;

        box-sizing: border-box !important;
    }


    /* -------------------------
       NAVIGATION
       ------------------------- */

    #navigation {
        width: 100% !important;
        max-width: 100% !important;

        margin: 20px 0 !important;
        padding: 0 !important;

        text-align: center;
        clear: both;
    }

    #navigation li {
        display: block;

        margin: 0;
        padding: 8px 5px;

        font-size: 15px;
    }


    /* -------------------------
       MAIN SECTION
       ------------------------- */

    #main_section {
        width: 100% !important;
        max-width: 100% !important;

        margin: 10px 0 !important;
        padding: 10px !important;

        box-sizing: border-box;
    }


    /* -------------------------
       CONTENT BOX
       ------------------------- */

    #content {
        width: 100% !important;
        max-width: 100% !important;

        margin: 10px 0 !important;
        padding: 15px !important;

        font-size: 17px;
    }


    /* -------------------------
       POEMS
       ------------------------- */

    #poem_first,
    #poem_second {
        display: flex;

        flex-direction: column;

        width: 100% !important;
        max-width: 100% !important;
    }

    #poem_one,
    #poem_two {
        width: 100% !important;
        max-width: 100% !important;

        padding-left: 10px;

        box-sizing: border-box;
    }


    /* -------------------------
       FOOTER
       ------------------------- */

    #the_footer {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 10px !important;

        box-sizing: border-box;
    }

    #page_footer {
        display: block !important;
        clear: both;

        width: 100% !important;
        max-width: 100% !important;

        margin: 40px 0 0 0 !important;
        padding: 20px 10px 30px 10px !important;

        border-top: 3px solid blue;

        text-align: center;

        font: 10px Tahoma, Arial, sans-serif;
        line-height: 1.5;

        box-sizing: border-box;
    }

}