/* Rachel Spelich, ITWP 1050, Project 2 CSS Stylesheet */

/*Section 1.0: Global Variable with root selector, web font, body selector and paragraph selector*/
:root {
    --blackColor: black;
}

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

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

/*Paragraph Selector*/
p {
    text-indent: 1em;
    line-height: 1.5em;
    font-size: 1.5vw;
}

/*Section 1.2: h1 - h5 Selectors*/

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

h2 {
    background: url(images/coloradomountains_bkgd.jpg) center repeat;
    color: white;
    text-shadow: 1px 1px 5px var(--blackColor);
    padding: 25px;
    border: 2px inset var(--blackColor);
    font-variant: small-caps;
    box-shadow: 5px 10px 20px #336699 inset;
    font: 3vw;
}

h3 {
    font-variant: normal;
    padding: 5px;
    font-size: 2vw;
    border-bottom: 2px solid var(--blackColor);
}

h4 {
    font-variant: normal;
    padding: 5px;
    font-size: 1.75vw;
}

h5 {
    font-style: italic;
    color: darkslategray;
    font-size: 1vw;
}

/*Section 1.3: Styling the images*/
img {
    float: right;
    margin: 0px 15px 15px 15px;
    border: 1px solid var(--blackColor);
}

/*Section 1.4: Creating Classes, ID and Styling a list*/
/*Classes*/
.stateflag {
    float: left;
    border: 1px inset white;
    margin: 5px 15px 10px 0px;
    box-shadow: 0px 3px 1px var(--blackColor);
}

.highlightSection {
    padding: 10px;
    background-color: white;
    box-shadow: 1px 1px 2px 1px steelblue;
}

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

/*CSS Rule for Unordered List and List Items*/
ul li {
    line-height: 1.5em;
    font-size: 1.5vw;
}

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

/* Section 1.5: Psuedo-Classes for Hyperlinks */
a:link {
    text-decoration: underline;
    color: var(--blackColor);
}

a:link {
    text-decoration: underline;
    color: var(--blackColor);
    font-weight: bold;
}

a:visited {
    text-decoration: underline;
    color: darkblue;
}

a:hover {
    text-decoration: none;
    color: darkred;
    font-weight: bold;
}

a:active {
    text-decoration: underline wavy;
    color: darkred;
    font-weight: bold;
}