/*File Name: Styles.css
Author: Kristen Glodich
Course: ITWP 1050
Assignment Information: Project 2*/

/*create root selector for color*/
:root {
    --blackColor: #000000;
}

/*font face*/
@font-face {
    font-family: 'Title Font';
    src: url('webfonts/AmaticSC-Bold.ttf') format('truetype');
    font-style: normal;
}

/*create body rule*/
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(102, 204, 255, 0.4);
}

/*create rule for paragragh element selector*/
p {
    text-indent: 1em;
    line-height: 1.5em;
    font-size: 1.5vw;
}

/*h1 element selector*/
h1 {
    font-family: 'Title Font', Arial, Helvetica, sans-serif;
    font-size: 7vw;
    text-shadow: 1px 1px 4px #336699;
}

/*h2 element selector*/
h2 {
    /*background shorthand*/
    background: url('images/coloradomountains_bkgd.jpg') repeat center;

    /*text color, shadow referencing root variable, padding on all sides*/
    color: white;
    text-shadow: 1px 1px 5px var(--blackColor);
    padding: 25px;

    /*border shorthand*/
    border: 2px inset var(--blackColor);

    /*font variant*/
    font-variant: small-caps;

    /*box shadow*/
    box-shadow: inset 5px 10px 20px #336699;

    /*font size*/
    font-size: 3vw;
}

/*h3 element selector with border shorthand*/
h3 {
    font-variant: normal;
    padding: 5px;
    font-size: 2vw;
    border-bottom: 2px solid var(--blackColor);
}

/*h4 element selector*/
h4 {
    font-variant: normal;
    padding: 5px;
    font-size: 1.75vw;
}

/*h5 element selector*/
h5 {
    font-style: italic;
    color: DarkSlateGray;
    font-size: 1vw;
}

/*image styling*/
img {
    float: right;
    margin: 0px 15px 15px 15px;
    border: 1px solid var(--blackColor);
}

/*stateflag class*/
.stateflag {
    float: left;
    border: 1px inset white;
    margin: 5px 15px 10px 0px;
    box-shadow: 0px 3px 3px 1px var(--blackColor);
}

/*highlightsection class*/
.highlightSection {
    padding: 10px;
    background-color: white;
    box-shadow: 1px 1px 2px 1px SteelBlue;
}

/*copyright class*/
.copyright {
    font-size: 9px;
    font-style: italic;
    text-align: center;
    padding: 10px;
}

/*unordered list and list items element selector*/
ul li {
    line-height: 1.5em;
    font-size: 1.5vw;
}

/*id validation*/
#validation {
    text-align: center;
    font-size: 11px;
}

/*a link pseudo class*/
a {
    text-decoration: underline;
    color: var(--blackColor);
}

/*unvisited link pseudo class*/
a:link {
    text-decoration: underline;
    color: var(--blackColor);
    font-weight: bold;
}

/*visited link pseudo class*/
a:visited {
    text-decoration: underline;
    color: darkBlue;
}

/*hover link pseudo class*/
a:hover {
    text-decoration: none;
    color: DarkRed;
    font-weight: bold;
}

/*active link pseudo class*/
a:active {
    text-decoration: underline wavy DarkRed;
    font-weight: bold;
}