/* 
Filename: styles.css
Author: Safaa Sabir
Course: ITWP 1050
Assignment: Project 2 Newsletter Styling
*/

/* Root variable */
:root {
    --blackColor: #000000;
}

/* Body styling */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(79, 191, 247, 0.4);
}

/* Paragraph syling */
p {
    text-indent: 1em;
    line-height: 1.5em;
    font-size: 1.5vw;
}


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


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


/* H2 */
h2 {
    background: url('images/coloradomountains_bkgd.jpg') 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;
}


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


.subheading {
    font-variant: normal;
    padding: 5px;
    font-size: 2.5vw;
    border-bottom: 2px solid var(--blackColor);
}


.subheading3 {
    font-style:  italic;
    font-variant: normal;
    padding: 5px;
    font-size: 1vw;
    border-bottom: none;
}


/* H4 */
h4 {
    font-variant: normal;
    padding: 5px;
    font-size: 2vw;
}

/* H5 */
h5 {
    color: DarkSlateGray;
    font-size: 1.5vw;
    margin-bottom: 15px;
}


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


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

}

/* Highlight section */
.highlightSection {
    padding: 10px;
    background-color: white;
    box-shadow: 1px 1px 2px 1px SteelBlue;
}

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


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


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


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


a:link {
    text-decoration: underline;
    color: var(--blackColor);
    font-weight: bold;
}


a:visited {
    text-decoration: underline;
    color: blue;
}

a:hover {
    text-decoration: none;
    color: darkred;
    font-weight: bold;
}


a:active {
    text-decoration: underline wavy darkred;
    font-weight: bold;
}