/* Sebastian Chavez Rivero
    ITWP 1050 O0851
    Project 2 - Webpage Design */

/* CSS Document */
/* Global Styles using :Root */
/* Section 1.0 */
:root {
    --blackColor: #000000; /* BlackColor is set to #000000 */
  }
/* Font-Face for Title Font */
@font-face {
    font-family: 'Title Font'; /* Font family is set to TitleFont */
    src: url('webfonts/AmaticSC-Bold.ttf'); /* Path to the font file */
    font-style: normal; /* Font style is set to normal */
}
/* Body Styles */
body {
    font-family: Arial, Helvetica, sans-serif; /* Font family is set to Arial, Helvetica, sans-serif */
    background-color: rgba(102, 204, 255, 0.4);
}
/* Styling the P element */
p { 
    text-indent: 1em; /* Text indent is set to 1em */
    line-height: 1.5em; /* Line height is set to 1.5em */
    font-size: 1.5vw; /* Font size is set to 1.5vw, helps scaling text to the screen size */
}
/* Section 1.2 */
h1{
    font-family: 'Title Font', Arial, Helvetica, sans-serif; /* Font family is set to Title Font */
    font-size: 7vw; /* Font size is set to 7vw */
    text-shadow: 1px 1px 4px #336699;
}
h2 {
    background: url('images/coloradomountains_bkgd.jpg') center repeat; /* Background image is set to coloradomountains_bkgd.jpg */
    color: white; /* Text color is set to white */
    text-shadow: 1px 1px 5px var(--blackColor); /* Text shadow is set to black and the root variable is referenced. */
    padding: 25px; /* Padding is set to 25px */
    border: 2px inset var(--blackColor); /* Border is set to 2px inset black global variable */
    box-shadow: inset 5px 10px 20px #336699;
    font: small-caps 3vw Arial, Helvetica, sans-serif; /* Font is set to small-caps 3vw Arial, Helvetica, sans-serif (ShortHand Property 3vw Step H.) */
}
h3 {
    font-variant: normal; /* Font variant is set back to normal */
    padding: 5px; /* Padding is set to 5px */
    font-size: 2vw; /* Font size is set to 2vw */
    border-bottom: 2px solid var(--blackColor); /* Border bottom is set to 2px solid black global variable Step 3.*/    
}
h4 {
    font-variant: normal;
    padding: 5px;
    font-size: 1.75vw;
}
h5 {
    font-style: italic; /* Font style is set to italic */
    color: darkslategray;
    font-size: 1vw;
}
img {
    float: right; /* Image is floated to the right */
    margin: 0 15px 15px 15px;
    border: 1px solid var(--blackColor); /* Border is set to 1px solid black global variable */
}
/* SECTION 1.4 CREATE STATEFLAG CLASS, etc... */
.stateflag {
    float: left;
    border: 1px inset white;
    margin: 5px 15px 10px 0;  /* top: 5px; right: 15px; bottom: 10px; left: 0 */
    box-shadow: 0px 3px 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;
  }
/* Unordered list list items styling */
ul li {
    line-height: 1.5em;
    font-size: 1.5vw;
  }
  
/* ID: validation */
#validation {
    text-align: center;
    font-size: 11px;
  }

/* Section 1.5 Pseudo Classes (Linked to HTML file) */

a {
    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 DarkRed;
    font-weight: bold;
}