﻿@charset "utf-8";

/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Tutorial 2
   Coding Challenge 3

   Author: Io Anderson
   Date:   9/20/25
   
   Filename: code2-3.css

*/
html{
	padding-left: 30;
	background-color: hsla(40,80%,75%,0.5);
}

/*HEADINGS*/
article> h1, h2{
	font-family: Helvetica, Arial, sans-serif;
}

article> h1{
	font-size: 3em;
	line-height: 1em;
	margin-bottom: 0;
}

article> h2{
	font-style: italic;
	font-weight: normal;
	margin-top: 0;
}

/*IMAGES*/

body img{
	margin-right:0;
	margin-left:20;
	margin-top:0;
	margin-bottom: 10;
}

/*BODY*/

body p{
	font-size: 1.4em;
	text-indent: 1em;
}

body p:first-of-type{
	text-indent:0;
}

body p:first-of-type::first-line{
	font-variant: small-caps;
}