/* ========
css file has classes for each page
Layout is in the index order
========= */

/* ******* structure *******
First section global things - body (font).
**** handheld:
image, navigation-footer-&-links, typography, --, <<*.file*body (font), layout .container.file, grid,>> container.footer.
**** desktop; media query:
image/body/item, typography, navigation,          <<layout header, layout .container.file, grid,>> container.footer.
end media query
== There is nav handheld circa line 63 and container footer desktop circa line 440 that could move elsewhere but put ==
*/

/* ========
body / setup
========= */
/* <style> */

@font-face {
    /* src: url('Impact.ttf'); */
    src: url('img/Impact.woff') format('truetype');
    font-family: 'Impact';
}
@import url('https://fonts.googleapis.com/css2?family=Impact:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Pompiere:400,500,600,700,900%display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap');
/* </style> */

body.index {
    font-family: 'Inconsolata', sans-serif;
    color: snow;
    font-size: 2.5rem;
    font-weight: 400;
    background-color: rgb(0, 112, 192);
    margin: 20px;
    max-width: 1200px;
    text-align: left;
}


/* ********** handheld ********** */

/* =====
images - handheld
===== */

.imgLogo {
	display: block;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
 	max-width: 600px;
}

.imgQR {
	display: block;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
 	max-width: 300px;
}

/* =============
navigation
============= */
.current-page {
    box-shadow: 0 2px rgb(247, 150, 70);
}

/* ============
navbar & hover
============ */
.navbar a:hover,
.navbar a:focus {
    color: rgb(247, 150, 70);
    font-weight: 700;
}

/* =============
footer & links
============= */
.footer a:hover,
.footer a:focus {
    /* footer pre hover properties */
    color: rgb(247, 150, 70);
    font-weight: 500;
}

.footerC2 a:hover,
.footerC2 a:focus {
    color: rgb(247, 150, 70);
    font-weight: 900;
}
.footerC3 a:hover,
.footerC3 a:focus {
    color: rgb(247, 150, 70);
    font-weight: 900;
}

.copyright a:hover,
.copyright a:focus {
    color: rgb(247, 150, 70);
    font-weight: 700;
}

/* =============
typography - handheld
============= */
h1 {
	font-size: 4rem;
	font-weight: 700;
	margin: 0;
}

h2 {
	font-size: 3.25rem;
    font-weight: 500;
	margin: 0;
    text-align: left;
}

h3 {
	font-size: 2.25rem;
	margin: 0;
}

h4 {
	font-size: 2rem;
	font-weight: 400;
	margin: 0;
}

h5 {
	/* copyright font size */
    font-size: 2rem;
	font-weight: 500;
	margin: 0;
}

h6 {
    font-family: 'Impact', sans-serif;
    color: rgb(247, 150, 70);
    font-size: 3rem;
    font-weight: 500;
    text-align: center;
    margin: 0 0 0 0;
}

a {
    margin: 0 0 0 0;
    color: rgb(247, 150, 70);
    text-decoration: none;
}

li {
    padding: 0px 0px 20px 0px;
    list-style: none;
    border: none;
}



/* =============================================
index.html
============================================= */


/* =============
index navigation - handheld
N/A; rows only
============= */


/* =============
index layout - handheld
============= */
.container.index {
    display: grid;
    grid-template-rows: repeat(8, auto);
    gap: 5px;
}

.header {
    margin: 0 0 0 0;
    text-align: center;
}

/* This is Global */
.item {
    padding: 8px;
    margin: 0 0 0 0;
    border-radius: 6px;
}

.item.navbar {
    text-align: center;
    margin: 0 0 0 0;
}

hr.hrfoot {
    border: 0px solid red;
}

.item.copyright {
    text-align: center;
}

.container.footer {
    display: grid;
    grid-template-rows: repeat(2 ,auto);
    grid-template-rows: auto auto;
    gap: 5px;
}

/* ********** desktop ********** */

/* =============
index desktop start
============= */

/* =============
index desktop media query
============= */

@media (min-width: 981px) {
    /* =============
    index images - desktop
    ============= */
    .imgLogo {
        display: block;
        margin-top: 30px;
        margin-bottom: 0px;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }

    .imgQR {
        display: block;
        margin: auto;
        /* margin-top: 40px;
        margin-left: auto;
        margin-right: auto; */
        width: 50%;
        max-width: 200px;
    }
    body.index {
        font-size: 1.5rem;
        font-weight: 400;
        margin: 0 auto;
        max-width: 1200px;
        align-self: start;
    }

    /* =============
    index typography - desktop
    ============= */
    h1 {
        font-size: 2rem;
        font-weight: 700;
        margin: 0;
    }

    h2 {
        font-size: 1.75rem;
        font-weight: 400;
        text-align: left;
        margin: 0;
    }

    h3 {
        font-size: 1.3rem;
        margin: 0;
    }

    h4 {
        font-size: 1rem;
        margin: 0;
    }

    h5 {
        /* copyright font size */
        font-size: 0.9rem;
        font-weight: 700;
        margin: 0;
    }

    h6 {
        font-family: 'Impact', sans-serif;
        color: rgb(247, 150, 70);
        font-size: 2rem;
        font-weight: 500;
        text-align: center;
        margin: 0px 0px 0px 0px;
    }

    a {
        /* footer font */
        margin: 0 0 0 0;
        color: rgb(247, 150, 70);
    }

    hr.hrfoot {
        border: 1px solid snow;
    }

    /* =============
    index navigation - desktop
    ============= */
    /*.navbar {
        grid-column: 1 / span 4;
        grid-row: 2;
        margin: 0px 0px 1100px 100px;
        /* T R B L
    }
    */

    nav ul {
        list-style: none;
        padding: 0;
        display: flex;
        justify-content: center;
    }

    nav li {
        /* LR spaces between header links */
        margin: 0 0 0 0;
        padding: 0 0 0 30px;
    }

    nav a {
        /* nav bar font resting properties */
        font-weight: 500;
        font-size: 1.5rem;
        margin: 0;
        color: rgb(247, 150, 70)
    }


    /* =============
    index layout - desktop
    ============= */
    .header {
        grid-column: 1 / span 4;
        grid-row: 1;
        text-align: left;
    }

    .navbar {
        grid-column: 2 / span 3;
        grid-row: 1;
        text-align: right;
    }

    .container.index {
        display: grid;
        grid-template-rows: repeat(2, auto);
        grid-template-areas:
        "header header header header"
        "p1x1 p1x1 p1x1 p1x1"
        "p1x2 p1x2 p1x2";

        grid-template-columns: 1fr 1fr 1fr 1fr;
        justify-items: center;
        align-items: center;
        gap: 0px 0px;
    }

    .p1x1 {
        grid-column: 1 / span 4;
        grid-row: 2;
    }

    .p1x2 {
        grid-column: 2 / span 3;
        grid-row: 3;
    }

    /* 3 columns container.footer created */
    .container.footer {
            display: grid;
            grid-template-rows: repeat(2, auto);
            grid-template-columns: repeat(3, 1fr);
            grid-template-areas:
            "footerC1 footerC2 footerC3"
            "copyright copyright copyright";
            gap: 0px;
            width: 100%;
        }

        .footerC1 {
            grid-column: 1 / span 1;
            grid-row: 1;
            justify-self: stretch;
            align-self: start;
        }

        .footerC2 {
            grid-column: 2 / span 1;
            grid-row: 1;
            justify-self: stretch;
            align-self: start;
        }

        .footerC3 {
            grid-column: 3 / span 1;
            grid-row: 1;
            justify-self: stretch;
            align-self: start;
        }

        .copyright {
            grid-column: 1 / span 3;
            grid-row: 2;
            width: 100%;
            justify-items: center;
            text-align: center;
        }

}
/* end media query */
