/* styles.css - Braxton Young - ITWP1050 - Project 2 * 
Adding CSS to Colorado Newsletter*/

/* adding global variable root with black color*/
:root {
    --blackColor: #000000;
    }

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

/* adding body selector with font and background color*/
body {
        font-family: Arial, Helvetica, sans-serif;
        background-color: rgba(102,204,255,.4);
    }

/* adding paragraph selector with indent, line height and font size*/
p {
    text-indent: 1em;
    line-height: 1.5em;
    font-size: 1.5vw;
}

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

/* h2 element selector with background shorthand, text color, shadow, padding, border properties, root var, caps variant
box shadow and font size*/
h2 {
    background: url('images/coloradomountains_bkgd.jpg') center center / auto repeat;
    font-size: 3vw;
    color: white;
    text-shadow: 1px 1px 5px var(--blackColor);
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
    border:2px var(--blackColor) inset;
    font-variant: small-caps;
    box-shadow: 5px 10px 20px #336699 inset;
}

/* h3 element with font variant, padding, font size and border */
h3 {
    font-variant: normal;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 2vw;
    border-bottom: 2px solid var(--blackColor)
}

/* h4 element with font variant and padding */
h4 {
    font-variant: normal;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
}

/* h5 element with font style, color and font size */
h5 {
    font-style: italic;
    color: darkslategray;
    font-size: 1vw;
}

/* img element with float, margins and border */
img {
    float: right;
    margin-top: 0;
    margin-right: 15px;
    margin-bottom: 15px;
    margin-left: 15px;
    border: 1px solid var(--blackColor)
}

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

/* highlightSection class with padding, background color and box shadow */
.highlightSection {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: white;
    box-shadow: 1px 1px 2px 1px steelblue;
}

/* copyright class with font size, style, alignment and padding */
.copyright {
    font-size: 9px;
    font-style: italic;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;

}
/* unordered list rule */
ul li {
    line-height: 1.5em;
    font-size: 1.5vw;
}

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

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

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

/* pseudo class for links,  visited */
a:visited {
    text-decoration: underline;
    color: darkblue;
}
/* pseudo class for links, hover */
a:hover {
    text-decoration: none;
    color: darkred;
    font-weight: bold;
}

/* pseudo class for links, active */
a:active {
    text-decoration: underline wavy darkred;
    font-weight: bold;
}