/* styles.css, Sonagnon Dossa, ITWP-1050, Project2-css styling */

/* This is the root selector */
:root {
    --blackColor: #000000; /* We are creating a variable named blackColor with black value using the hex code */
}

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

/* This selector applies font style and backgroung color to the body of the page */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(102, 204, 255, .4);
}

/* This selector applies styles to the paragraphs of the page */
p {
    text-indent: 1em;
    line-height: 1.5em;
    font-size: 1.5vw;
}

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

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

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

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

/* Styling for h5 element */
h5 {
    font-style: italic;
    color: DarkSlateGray;
    font-size: 1vw;
}

/* Styling for image elements */
img {
    float: right;
    margin: 0 15px 15px 15px;
    border: 1px solid var(--blackColor);
}

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

/* This class controls the styling for the highlight Section */
.highlightSection {
    padding: 10px;
    background-color: white;
    box-shadow: 1px 1px 2px 1px SteelBlue;
}

/* This class controls the styling for the copyright Section */
.copyright {
    font-size: 9px;
    font-style: italic;
    text-align: center;
    padding: 10px;
}

/* Styling for the unordered list items */
ul li {
    line-height: 1.5em;
    font-size: 1.5vw;
}

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

/* Pseudo-classes for hyperlinks */
    /* anchor tag styling */
a {
    text-decoration: underline;
    color: var(--blackColor);
}

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

    /*styling for visited links */
a:visited {
    text-decoration: underline;
    color: darkblue;
}

    /* styling for hover state */
a:hover {
    text-decoration: none;
    color: DarkRed;
    font-weight: bold;
}

    /* styling for active link state */
a:active {
    text-decoration: underline wavy darkred;
    font-weight: bold;
}