/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Tutorial 2
   Case Problem 1
   
   PHCT Typographic Style Sheet
   Author: Djenebou Sawadogo 
   Date:   9/23/2025
   
   Filename: ph_styles.css

*/

/* Structural Styles */
html {
   background-color: hsl(91, 8%, 56%);
}

body {
   color: rgb(58, 31%, 84%);
   background-color: ivory;
   font-family: 'Palatino', 'Book Antiqua', 'Palatino', serif;
}

header {
   color: white;
   background-color: black;
}

p {
   margin: 0;
   padding: 5px 25px 25px 25px;
}

body>p {
   font-size: 1.1em;
   text-align: center;
}

address {
   font-style: normal;
   font-size: 0.9em;
   text-align: center;
   padding: 10px 0;
}

/* Navigation Styles */
nav a {
   font-family: 'Trebuchet MS', Helvetica, sans-serif;
   padding: 10px 0;
   text-decoration: none;
   color: white;
   background-color: hsla(0, 0%, 42%, 0.4);
   border-radius: 5px;
   transition: background-color 0.3s, color 0.3s;
}

nav>ul>li>a:link,
nav>ul>li>a:visited {
   color: white;
   text-decoration: none;
   background-color: hsla(0, 0%, 42%, 0.4);
   padding: 10px 20px;
   border-radius: 5px;
   transition: background-color 0.3s, color 0.3s;
}

nav>ul>li>a:hover,
nav>ul>li>a:active {
   color: hsla(0, 0%, 100%, 0.7);
   background-color: hsla(0, 0%, 42%, 0.7);
}

/* Section Styles */
section.playbill h1 {
   font-size: 3em;
   font-weight: normal;
   margin: 0;
   padding: 20px 0 10px 20px;
}

#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%);
}

#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';
}

/* Description List Styles */
dt {
   font-size: 1.3em;
   font-weight: bold;
   color: hsla(0, 0%, 0%, 0.4);
}

dd {
   font-size: 1.3em;
   margin-left: 0;
   margin-bottom: 10px;
}