/*
Coder:
Date:
Site:
File: colorPsychChallengeStyles.css
Comments:

*/

/*no-touch code*/
html{
    background-color: black;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: antiquewhite;
}

/*no-touch code*/
body{
    max-width: 800px;
    margin:auto;
    background-color: #121212;
    padding: 30px;
    padding-bottom: 0px;
}

/*----- header -----*/
/*no-touch code*/
header{
    padding-bottom: 20px;
    margin-left: -30px;
    margin-right: -30px;
    background-color: inherit;
    margin-top: -30px;
    padding-top: 20px;
}

/*no-touch code*/
header div#headerText{
    text-align: center;
}

/*no-touch code*/
/* https://stackoverflow.com/questions/4910077/select-all-child-elements-recursively-in-css*/
div#headerText *{
    margin: 0px;
}

/*no-touch code*/
div#headerText h1{
    margin-bottom: 7px;
    text-shadow: 1px 1px 0px black;
}

 /*----- main -----*/
 /*no-touch code*/
main{
    background-color: inherit;
    margin-left: -30px;
    margin-right: -30px;
    padding: 20px;
    padding-bottom: 40px;
    text-align: center;
    min-height: 500px;
}

/*no-touch code*/
/*----- 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;
}

/*no-touch code*/
footer p{
    margin: 0px;

}

/*no-touch code*/
footer div{
    margin-top: 10px;
}

/*no-touch code*/
footer div a{
    margin-right: 20px;
}

/*----- general styles --- */
/*no-touch code*/
a{
    text-decoration: none;
    color: #C64C32
}

/*----- special classes -----*/
/*no-touch code*/
.specialtyFont1{
    font-family: 'Fjalla One', sans-serif;
}

/*no-touch code*/
.hide{
    display: none;
}

/* ----- swatch styles ---- */

/*TODO: this is a temporary rule that will be deleted 
when you have finished*/
div#colorSwatches{
    height: 600px;
    padding-top: 50px;
}

div#colorSwatches{
    display: flex;
    width: 90%;
    background-color: lightgray;
    flex-wrap: wrap;
    margin:auto;

    /*TODO: add additional commands to center swatches*/
}

div.swatch{
    width: 200px;
    height: 70px;
    border-radius: 20px;

    /*TODO: add border, border-radius, box-shadow and any necessary padding and/or margins*/
}

/*no-touch code*/
div.swatch.red{
    background-color: red;
}

/*TODO: you will need code like that above for each represented color*/

/*no-touch code*/
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;
    /*TODO: add proper padding to align bullets under heading*/
}

div.colorInfo ul li{
    color: darkgray;
    /*TODO: add the necessary styles to remove bullets and the proper display styles to force the items to go inline rather than to 'block'*/
}

div.swatch h3{
    /*TODO: adjust the margins of the color headings so that proximity concerns are addressed*/
}

/*no-touch code*/
main div#detailsDiv{
    width: 80%;
    margin: auto;
}

/*no-touch code*/
div#detailsDiv details div{
    color: darkgrey;
    width: 70%;
    margin: auto;
    margin-top: 20px;
}

/*no-touch code*/
div#detailsDiv details div p{
    text-align: left;
}

/*no-touch code*/
img#chart{
    width: 100%;
    height: auto;
    margin: auto;
}