/*
File: galleryEntryStyles2-6-20.php
Site: TNT
Date: 02/06/20
Author: KLP
Comments:

*/

/*--------- MOBILE DESIGNS: FIRST ----------*/

/*--------- Page-Wide Styles ----------*/

/*zero out default styles*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /*a Google Font*/
    font-family: 'IBM Plex Sans Condensed', sans-serif;
}

body {
    font-style: normal;
    font-weight: 300;
    height: 100%;
    /*more advanced stuff*/
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: lightgray;
}

#bigContent {
    flex: 1;
}

/*general link styles: no underlines, links in a list have no list styles*/
nav li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

/*--------- Header Styles ----------*/
header {
    height: 113px;
    padding: 15px 10px 15px 10px;
    background-color: beige;
}

header h1 {
    /*a Google Font*/
    font-family: 'Boogaloo', cursive;
}

header div#mastheadText {
    float: left;
}

header img#mastheadIcon {
    float: left;
    padding-right: 2px;
    width: 60px;
    height: auto;
    margin-right: 10px;
    background-color: gold;
    border-radius: 50%;
    margin-bottom: 5px;
}

/*--------- Navbar Styles ----------*/
nav {
    display: block;
    clear: left;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 30px;
    background-color: gold;
    margin-left: -10px;
    padding-left: 10px;
    margin-right: -10px;
    padding-right: 10px;
}

nav ul li {
    display: inline-block;
    text-decoration: none;
    margin-right: 15px;
}

nav ul li a {
    color: black;
}

/*--------- Main Content Styles ----------*/
/*when js is deactivated*/
div#jsAlert {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    color: red;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

div #jsAlert p#keepCalmInfo {
    margin-top: 20px;
}

#bigContent p {
    margin-bottom: 10px;
    font-size: 15px;
}

/*--------- main  Styles ----------*/
main {
    /*sticky footer help again*/
    min-height: calc(100vh - 125px);
    background-color: #FDFAF4;
    padding: 3%;
}

main h2,
main h3 {
    margin-bottom: 20px;
}

/*---- Detail/Summary Styles --------*/
summary {
    margin-bottom: 10px;
    font-style: italic;
    color: #999;
}

details {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 20px;
}

details div {
    background-color: white;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

details hr {
    color: #999;
}

/*for the bottom-left last updated messages in detail areas*/
#bigContent main p#last_update,
#bigContent main p.last_update {
    color: #bbb;
    font-size: 12px;
    font-style: italic;
    margin-top: 20px;
}

div#artwork {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center; 
}

canvas#canvasOne {
    width: 300px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border: 5px gray solid;
}

/*--------- Footer Styles ----------*/
footer {
    background-color: #000;
    height: 55px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 20px;
    font-size: 15px;

    /*balance the centered links: they had margin-right of 20px for spacing*/
    padding-left: 20px;
    margin-top: -10px;
    color: lightgray;
}

footer.normal-placement {
    position: relative;
}

footer ul {
    text-align: center;
}

footer ul li {
    display: inline;
    margin-right: 20px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer p {
    text-align: center;
    color: #888;
}

footer p#version {
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

footer #footerContent {
    display: none;
}

/*--------- MEDIA QUERIES ----------*/
/*shows smallest browser size when in Firefox*/
@media (min-width: 200px) {
    header {
        border-bottom: 5px gray solid;
    }

    header #mastheadText p {
        font-size: 14px;
    }

    header #mastheadText h1 {
        font-size: 24px;
    }
    
    canvas#canvasOne {
        width: 250px;
        height: 250px;
    }
}

/*small phone*/
@media (min-width: 400px) {

    /*black*/
    /*400px or less*/
    header {
        border-bottom: 5px black solid;
    }

    header #mastheadText p {
        font-size: 16px;
    }

    canvas#canvasOne {
        width: 375px;
        height: 375px;
    }
}

@media (min-width: 600px) {
    header {
        border-bottom: 5px red solid;
    }

    canvas#canvasOne {
        width: 475px;
        height: 475px;
    }
    
}

@media (min-width: 800px) {

    /*iPhone XMax landscape*/
    /*iPadPro portrait*/
    header {
        border-bottom: 5px blue solid;
    }

    header #mastheadText h1 {
        font-size: 25px;
    }

    #bigContent p {
        font-size: 20px;
    }

    footer {
        height: 100px;
    }

    footer #footerContent,
    footer p#version {
        display: block;
        margin-bottom: 5px;
    }
    
    canvas#canvasOne {
        width: 500px;
        height: 500px;
    }
    
    details{
        max-width: 600px;
    }

}

/*begin to show inline navigation and remove burger menu icon*/
@media (min-width: 1200px) {

    /*iPad Pro landscape*/
    header {
        border-bottom: 5px green solid;
    }

}

@media (min-width: 1400px) {
    header {
        border-bottom: 5px orange solid;
    }

    header #mastheadText h1 {
        font-size: 30px;
    }

    #bigContent p {
        font-size: 20px;
    }
}

@media (min-width: 1600px) {

    /*large desktop mac*/
    header {
        border-bottom: 5px gold solid;
    }
}
