/* Kayla Perez ITWP 1050 Project 2 */

/* changes the variable to the color black */
:root {
    --blackColor: #000000;
}

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

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

/* Adds an indent to the text and sets the line height to 1.5 */
p {
    text-indent: 1em;
    line-height: 1.5em;
    font-size: 1.5vw;
}

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

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


h3 {
    font-variant: normal;
    padding: 5px; /* adds padding to the text */
    font-size: 2vw; 
    border-bottom: 2px solid var(--blackColor);
}

/* Adds padding and changes the font size of the text */
h4 {
    font-variant: normal;
    padding: 5px;
    font-size: 1.75vw;
}

/* Changes the text to Italic and changes the color */
h5 {
    font-style: italic;
    color: DarkSlateGray;
    font-size: 1vw;
}

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

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

/* Adds padding and changes the background color to white */
.highlightSection {
    padding: 10px;
    background-color: white;
    box-shadow: 1px 1px 2px 1px steelblue;
}

/* Changes the font size, italicizes the text and centers it */
.copyright {
    font-size: 9px;
    text-align: center;
    font-style: italic;
    padding: 10px;
}

/* Changes the line height and font size */
ul li {
    line-height: 1.5em;
    font-size: 1.5vw;
}

/* Centers and changes the font size of the validation text */
#validation {
    text-align: center;
    font-size: 11px;
}

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

/* Adds an underline and bolds the font of the links */
a:link {
    text-decoration: underline;
    color: var(--blackColor);
    font-weight: bold;
}

/* Changes the color of the link once it has been visited */
a:visited {
    text-decoration: underline;
    color: darkBlue;
}

/* Changes the color of the text when the link is hovered */
a:hover {
    text-decoration: none;
    color: darkred;
    font-weight: bold;
}

/* Adds a wavy underline when the link is active/clicked */
a:active {
    text-decoration: underline wavy darkred;
    font-weight: bold;
}