/*
Madisen Caswell
ITWP 1050
This stylesheet applies styles to the Dracula webpage for homework3
*/

/* Universal selector to set the text color for all elements */
* {
	color: white; /* Gothic feel to fit the theme */
	text-shadow: 1px 1px 1px darkred;
}

/* Body styling:
	a. Set the margin to 25 pixels 
	b. Set the font family to Arial, Helvetica, sans-serif 
	c. Set the font size to 1em 
	d. Center the text 
*/

body {
	/*background image with required properties*/
	background-image: url("dracula1.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	margin: 25px;
	font-family: Arial, Helvetica, sans-serif;
	font-size:1em;
	text-align: center;
}

/*Use of a web font with the @font-face property*/
@font-face {
	font-family: "Pirata One";
	src: url("PirataOne-Regular.ttf") format("truetype");
}

/* styling for header */
h1{
	font-family: "Pirata One",Arial,sans-serif; /*Addition of the web font with two additional fonts*/
	font-size: 4em;
	text-transform: uppercase;
	font-weight: normal;
	letter-spacing: 5px;
	
	/*Addition of required H1 properties */
	text-shadow: 1px 1px 2px darkred;
	font-variant: small-caps;
	white-space: nowrap;
	color:white;
}

/*Syling for paragraphs for readability and better layout*/
 p{
	line-height: 1.6;
	max-width: 800px;
	margin: 0 auto 15px;
}

/* styling for image */
img {
	border: 1px solid black;
	border-radius: 10px;
	max-width: 100%;
	height: auto;
}

/*styling for second image*/
.second-img {
	border: 1px solid black;
	border-radius:10px;
	max-width:90%;
	height: 600px;
}

/* footer styling */
footer {
	margin-top: 50px;
	margin-bottom: 50px;
	padding: 10px;
	/*linear gradient with black to red transparency back to solid black*/
	background: linear-gradient(to right,
	rgba(0,0,0,1)0%,
	rgba(139,0,0,0.8)60%,
	rgba(139,0,0,0.6)80%,
	rgba(0,0,0,1)100%);
	
}

/* footer style to remove bullet points */
footer ul{
		list-style-type: none;
		padding: 0;
}

/* stlying for links */
footer ul.sources a::after {
	content: " (external)";
	color: black;
	font-size: 0.8em;
	font-weight: bold;
}

/*styling for anchor tags*/
a {
	color: white;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}
