/*
Author: William Bergler
Course ITWP 1050
File: styles.css
CSS external file for project 2
*/

/*Creates global variable*/
:root{
    --blackColor: black;
}

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

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

/*sets text properties inside of paragraph*/
p{
    text-indent: 1em;
    line-height: 1.5em;
    font-size: 1.5vw;
}

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

/*sets text and background propery for h2*/
h2{
    background: url(images/coloradomountains_bkgd.jpg) center;
    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;
}

/*edits some fonts in h3*/
h3{
    font-variant: normal;
    padding: 5px;
    font-size: 2vw;
    border-bottom: 2px solid var(--blackColor);
}

/*edits fonts for h4*/
h4{
    font-variant: normal;
    padding: 5px;
    font-size: 1.75vw;
}

/*sdits fonts for h5*/
h5{
    font-style: italic;
    color: darkslategray;
    font-size: 1vw;
}

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

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

/*Creates a class for highlighting sections*/
.highlightSection{
    padding: 10px;
    background-color: white;
    box-shadow: 1px 1px 2px 1px steelblue;
}

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

/*Formats the lists text*/
ul, li{
    line-height: 1.5em;
    font-size: 1.5vw;
}

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

/*creates an anchor class*/
a{
    text-decoration: underline;
    color: var(--blackColor);
}

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

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

/*pseudo class for when mouse is over link*/
a:hover{
    text-decoration: none;
    color: darkred;
    font-weight: bold;
}

/*pseudo class for selected link*/
a:active{
    text-decoration: underline;
    text-decoration-style: wavy;
    color: darkred;
    font-weight: bold;
}