/* Base Styles -------------------------------- */

body {
	font-family: 'Nunito', sans-serif;
	line-height: 1.5;
	color: #384047;
	padding: 10px 0 80px;
}
div {
	max-width: 610px;
	margin: auto;
}
ul {
	list-style: none;
	padding: 0;
}
li {
	margin-bottom: 14px;
}
a {
	color: #4183c4;
}

/* Substring Matching Attribute Selectors ---- */


/* ^ tells the browser to match a piece of code that’s at the beginning of an attribute's value */
a[href^="http:"] {
  color: #52bab3;
  text-decoration: none; 
}

/* $ matches a piece at the end of an attribute's value */
a[href$=".pdf"] {
  background-image: url('../img/icn-pdf.svg')
}

a[href$=".jpg"] {
  background-image: url('../img/icn-picture.svg')
}

a[href$=".zip"] {
  background-image: url('../img/icn-zip.svg')
}

/* * matches any part of an attribute's value */
a[href*="downloads"] {
  background-repeat: no-repeat;
  background-size: 18px 18px;
  padding-left: 25px;
}

img[src*="thumb"] {
  margin: 4px;
  border: solid 2px;
  width: 180px;
  height: 140px;
}


/* 
Create a selector that targets an img element if its title value begins with "product-". Set the border color to lightblue.

img[title^="product-"] {
  border-color: lightblue;
}

*/













