/* 
project2 
Author: Kailynn Anderson
Course: ITWP1050 - Basic Web Design - CSS
Implementing everything I've learned so far. From chapter 1 to 7 of the Modern Css book
Creating a visually pleasing layout for a responsive website
*/

/* Global Variables */
:root {
    --blackColor: #000000;
}

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

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

/* setting the paragraph sizing */
p {
    text-indent: 1em;
    line-height: 1.5em;
    font-size: 1.5vw;
}

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

h2 {
    background: url(../project2/images/coloradomountains_bkgd.jpg) center;
    background-repeat: repeat;
    color: white;
    text-shadow: 1px 1px 5px var(--blackColor);
    padding: 25px;
    border: 2px var(--blackColor) inset;
    font-variant: small-caps;
    box-shadow: 5px 10px 20px #336699 inset;
    font-size: 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;
}

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

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

/* styling the highlight section */
.highlightSection {
    padding: 10px;
    background-color: white;
    box-shadow: 1px 1px 2px 1px steelblue;
}

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

/* styling the unorder list */
ul li {
    line-height: 1.5em;
    font-size: 1.5vw;
}

/*html and css validation styling */
#validation {
    text-align: center;
    font-size: 11px;
}

/* pseudo classes for hyperlinks */
a {
    text-decoration: underline;
    color: var(--blackColor);
}

a:link {
    text-decoration: underline;
    color: var(--blackColor);
    font-weight: bold;
}
/* once a link has been clicked, it will turn darkblue */
a:visited {
    text-decoration: underline;
    color: darkblue;
}
/* underline dissapears, font turns red and bolded */
a:hover {
    text-decoration: none;
    color: darkred;
    font-weight: bold;
}
/* when actively clicking a link, a dark red wavy underline will appear, font bold */
a:active {
    text-decoration: underline wavy darkred;
    font-weight: bold;
}