/*
Coder:
Date:
Site:
File:
Comments:

*/

html{
    background-color: black;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: antiquewhite;
}

body{
    max-width: 800px;
    margin:auto;
    background-color: #121212;
    padding: 30px;
    padding-bottom: 0px;
    /* box-shadow: 0px 0px 20px darkgray; */
}

/*----- header -----*/
header{
    padding-bottom: 20px;
    margin-left: -30px;
    margin-right: -30px;
    background-color: inherit;
    margin-top: -30px;
    padding-top: 20px;
}

header div#headerText{
    text-align: center;
}

/* https://stackoverflow.com/questions/4910077/select-all-child-elements-recursively-in-css*/
div#headerText *{
    margin: 0px;
}

div#headerText h1{
    margin-bottom: 7px;
    text-shadow: 1px 1px 0px black;
}

 /*----- main -----*/
main{
    background-color: inherit;
    margin-left: -30px;
    margin-right: -30px;
    padding: 20px;
    padding-bottom: 40px;
    text-align: center;
    min-height: 500px;
}

/*----- footer -----*/
footer{
    text-align: center;
    background-color: inherit;
    color: rgb(139, 139, 139);
    margin-left: -30px;
    margin-right: -30px;
    padding-top: 20px;  
    padding-bottom: 30px;
}

footer p{
    margin: 0px;

}

footer div{
    margin-top: 10px;
}

footer div a{
    margin-right: 20px;
}

/*----- general styles --- */
a{
    text-decoration: none;
    color: #C64C32
}

/*----- special classes -----*/
.specialtyFont1{
    font-family: 'Fjalla One', sans-serif;
}

.hide{
    display: none;
}

/* ----- swatch styles ---- */
div#colorSwatches{
    display: flex;
    width: 90%;
    /* background-color: yellow; */
    flex-wrap: wrap;
    justify-content: center;
    margin:auto;
}
div.swatch{
    width: 200px;
    height: 70px;
    border-radius: 20px;
    border: 1px solid #222;
    box-shadow: 0px 0px 5px #888;
    padding-left: 20px;
    padding-top: 20px;    
    margin-right: 15px;
    margin-bottom: 20px;
}

div.swatch.red{
    background-color: red;
    /* box-shadow: 0px 0px 8px red; */
}

div.swatch.orange{
    background-color: orange;
    /* box-shadow: 0px 0px 8px orange; */
}

div.swatch.green{
    background-color: green;
    /* box-shadow: 0px 0px 8px green; */
}

div.swatch.yellow{
    background-color: yellow;
    /* box-shadow: 0px 0px 8px yellow; */
}

div.swatch.blue{
    background-color: blue;
    /* box-shadow: 0px 0px 8px blue; */
}

div.swatch.purple{
    background-color: purple;
    /* box-shadow: 0px 0px 8px purple; */
}

div.swatch.pink{
    background-color: #fa62b9;
    /* box-shadow: 0px 0px 8px #fa62b9; */
}

div.swatch.black{
    background-color: black;
    /* box-shadow: 0px 0px 8px black; */
}

div.swatch.white{
    background-color: white;
    /* box-shadow: 0px 0px 8px white; */
}

div.swatch.brown{
    background-color: brown;
    /* box-shadow: 0px 0px 8px brown; */
}

div.swatch.silver{
    background-color: silver;
    /* box-shadow: 0px 0px 8px silver; */
}

div.swatch.gold{
    background-color: #d3b104;
    /* box-shadow: 0px 0px 8px #d3b104; */
}

div.colorInfo{
    background-color: #242424;
    width: 91%;
    text-align: left;
    height: 60px;
    margin-top: -20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

div.colorInfo ul{
    margin-top: 0px;
    /* background-color: pink; */
    padding-left: 0px;
}

div.colorInfo ul li{
    display: inline-block;
    list-style: none;
    color: darkgray;
}

div.swatch h3{
    /* background-color: yellow; */
    margin-top: 0px;
    margin-bottom: 5px;
}

main div#detailsDiv{
    width: 80%;
    margin: auto;
}

div#detailsDiv details div{
    color: darkgrey;
    width: 70%;
    margin: auto;
    margin-top: 20px;
}

div#detailsDiv details div p{
    text-align: left !important;
}

img#chart{
    width: 100%;
    height: auto;
    margin: auto;
}