/*Course: ITWP 1050
Author: Nicole Wozniak 
Assignment: Homework 3 - CSS Text/Background Styling*/

/*Add two background images or two background gradients, as well as a second image*/

/*web font*/
@font-face{
    font-family: 'Branda';
    src: 
        url(resources/BrandaRegular.woff) format('woff'),
        url(resources/BrandaRegular.woff2) format('woff2');
    font-weight: 200;
}
/*styling background for the entire page*/
html{
    background-image: linear-gradient(120deg,#04bde4, cyan, #0253b9, midnightblue);
    background-repeat: no-repeat;
}

/*style for the Universal selector, making the text color*/
*{
    color: #708090;
}

/*style for the body selector*/
body {
    margin: 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
}

/*styling for H1 tag*/
h1 {
    padding-top: 20px;
    color:#0000cd;
    font-size: 60px;
    font-family: 'Branda', Helvetica, sans-serif;
    text-shadow: 4px 3px 0px #4b0082;
    white-space: nowrap;
    font-variant: small-caps;
    letter-spacing: 3px;
}

/*adding styling for the h3 tag*/
h3 {
    color: #4b0082;
    text-shadow: 2px 0px 2px #9400D3;
    font-size: 16px;
    font-variant: small-caps;
}

/*style for footers Element selector*/
footer{
    margin-top: 50px;
    margin-bottom: 50px;
}
#validation a:visited{
    color: #1E90FF;
}
#validation{
    color: #000000;
    border: outset 1px #483D8B;
    width: 50%;
    margin: 20px 25%;
}
#validation p{
    color: #87ceeb;
}

/*style for the source link, before and after clicking*/
.sourceof{
    color: #000000;
}
.sourceof::after{
    content: '(external)';
    color: #87ceeb;
}

/*styling for the images*/
img{
    border-radius: 20px;
}
.topimage{
    border: solid 1px #0000;
    width: 75%;
}
.bottomimage{
    border: solid 2px #87ceeb;
    width: 25%;
    margin: 15px 40%;
}

/*styling to the body of the story*/
.theStory{
    border-style: groove;
    margin: 1px 5%;
    text-align: left;
    padding: 10px;
    background-image: linear-gradient(to right, #302b63, #24243e,  #0f0c29);
}

/*making select text italicized for the story*/
.breath{
    font-style: italic;
    text-align: center;
}

/*adding some styles to the bottom of the story regarding source and inspiration*/
.crediting{
    line-height: 10px;
    width: 25%;
    margin: 15px 40%;
    border-style: inset;
    background-image: linear-gradient(120deg, #87ceeb 10%, #0253b9, #191970);
}

.crediting p {
    color: #000000;
    font-style: italic;
    font-size: 12px;
}