@charset "utf-8";
@font-face {
    font-family: Champagne;
    src: url('cac_champagne.woff') format('woff'),
         url('cac_champagne.ttf') format('truetype');
    font-style: normal;
}
@font-face {
    font-family: Grunge;
    src: url('1942.woff') format('woff'),
         url('1942.ttf') format('truetype');
    font-style: normal;
}
@font-face {
    font-family: Dobkin;
    src: url('DobkinPlain.woff') format('woff'),
         url('DobkinPlain.ttf') format('truetype');
    font-style: normal;
}
/*
   New Perspectives on HTML5 and CSS3, 7th Edition
   Tutorial 2
   Case Problem 1
   
   PHCT Typographic Style Sheet
   Author: Martin Delgado
   Date: 2/15/26
   
   Filename: ph_styles.css

*/


/* Structural Styles */

/* Style rule for html element: background color(rustic green) */

html {
    background-color: hsl(91, 8%, 56%);
}

/* Style rule for body element: background color(pastel yellow) and fonts */

body {
    background-color: hsl(58, 31%, 84%);
    font-family: 'Palatino Linotype', 'Book Antiqua', Palantino, Serif;
}

/* Style rule for the header element: background color */

header {
    background-color: black;
}

/* Style rule for p children of body: font size and text alignment */
body > p {
    font-size: 1.1em;
    text-align: center;
}

/* Style rule for paragraph element: margin space and padding space */

p {
    margin: 0px;
    padding: 5px 25px 25px;
}

/* Style rule for address: font size/style, text align and padding */

address {
    font-style: normal;
    font-size: 0.9em;
    text-align: center;
    padding: 10px;
}

/* Navigation Styles */

/* Style rule for nav a selector(descendant): */

nav a {
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    padding: 10px;
}

/* Style rule for nav a: visited and univisited */

nav a:link, nav a:visited {
    color: white;
    text-decoration: none;
    background-color: hsla(0, 0%, 42%, 0.4);
}

/* Style rule for nav a: active and hover */

nav a:active, nav a:hover {
    color: hsla(0, 0%, 100%, 0.7);
    background-color: hsla(0, 0%, 42%, 0.7);
}

/* Section Styles */

/* Style rule for section class playbill h1 element */

section.playbill h1 {
    font-size: 3em;
    font-weight: normal;
    margin: 0px;
    padding: 20px 0px 10px 20px;
}

/* Style rule for all sections separated by ID# */

#play1 {
    background-color: hsl(240, 100%, 88%);
}

#play2 {
    background-color: hsl(25, 88%, 73%);
}

#play3 {
    background-color: hsl(0, 100%, 75%);
}

#play4 {
    background-color: hsl(296, 86%, 86%);
}

/* Style rule for all h1 under ID# */

#play1 h1 {
    font-family: Champagne, cursive;
}

#play2 h1 {
    font-family: Grunge, 'Times New Roman', Times, serif;
}

#play3 h1 {
    font-family: Impact, Charcoal, sans-serif;
}

#play4 h1 {
    font-family: Dobkin, cursive;
}

/* Definition List Styles */

dt {
    font-size: 1.3em;
    font-weight: bold;
    color: hsla(0, 0%, 0%, 0.4);
}

dd {
    font-size: 1.3em;
    margin-left: 0px;
    margin-bottom: 10px;
}

