@charset "utf-8";

/*

   New Perspectives on HTML5 and CSS3, 8th Edition
   Tutorial 2
   Coding Challenge 4

   Author: Matt Johnson
   Date:   9/21/24
   
   Filename: code2-4.css
*/

div {
   background-color: rgb(255, 171, 171);
   /*#6 added comma's. functioned without and not caught by validator?*/
   padding: 10px;
   /*#1 Removed -size*/
   font-size: 1.2em;
}

aside {
   background-color: rgb(209, 227, 107);
   padding: 0 20px;
}

aside h1 {
   font-size: 1.9em;
   font-family: Segoe, Verdana, sans-serif;
   /*#2 changed to font-family*/
   line-height: 0.8em;
   margin: 20px 0 0 0;
}

aside h2 {
   margin-top: 5px;
   font-family: Segoe, Verdana, sans-serif;
   font-size: 1.2em;
   /*#3 Added m to 1.2em*/
}

aside p {
   font-size: 1.1em;
   text-indent: 1em;
   /*#4 Fixed indent misspelling*/
}

aside p:first-of-type {
   /*#5 Included hyphens*/
   text-indent: 0em;
}