/*
   Dwight Daniels Jr, July 26, 2026, IST239-W01, Hands-On Project 11-05

   This style sheet formats the Science Fiction
   Control Room page, including the review area,
   author list, and podcast summaries.

   Filename: styles.css
*/

/* Apply a natural box layout model to all page elements */
* {
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
}

/* Reset default browser styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
   margin: 0;
   padding: 0;
   border: 0;
   font-size: 100%;
   font: inherit;
   vertical-align: baseline;
}

/* Display HTML5 elements correctly in older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
   display: block;
}

/* Format the page body */
body {
   line-height: 1;
   width: 960px;
   background: white;
   margin: 0 auto;
   font-family: Verdana, Geneva, sans-serif;
}

/* Remove list bullets */
ol, ul {
   list-style: none;
}

/* Format the page header */
body > header {
   background: #5472B2;
   width: 100%;
   color: #FFFFFF;
   font-size: 48px;
   text-align: center;
   line-height: 1.5em;
   margin-bottom: 0;
}


/*-------------------- Project Styles ------------------*/

/* Format the main page section */
body > section {
   background-color: #FFDB70;
   margin-top: 0;
   padding: 10px 40px;
   user-select: none;
}

/* Format the introductory section */
body > section > header {
   margin: 0 auto;
   padding: 20px 0;
}

/* Format the main heading */
body > section > header > h1 {
   font-size: 1.8em;
   text-align: center;
   margin-bottom: 10px;
}

/* Format the introductory paragraph */
body > section header > p {
   line-height: 1.2;
}

/* Format the archived review section */
div#reviewarchives {
   float: left;
   margin: 0 20px 10px 10px;
}

/* Format the archived review heading */
div#reviewarchives h1 {
   font-size: 0.8em;
   font-weight: bold;
   margin-bottom: 8px;
}

/* Format the author selection list */
div#reviewarchives select {
   width: 210px;
   font-size: 1em;
   color: white;
   background-color: rgb(102, 74, 74);
}

/* Format the review article */
article#review {
   width: 650px;
}

/* Format the review title */
article#review header > h1 {
   font-size: 1.4em;
   font-weight: bold;
   letter-spacing: 0.1em;
   margin-bottom: 5px;
}

/* Format the review author */
article#review header > h2 {
   font-size: 1.1em;
   font-weight: bold;
   margin-bottom: 20px;
}

/* Format the review paragraphs */
article#review > p {
   font-size: 1em;
   line-height: 1.2;
   margin: 0 0 12px 0;
}

/* Format the review summary */
article#review > p:first-of-type {
   font-style: italic;
}

/* Format the review rating */
article#review > p:nth-of-type(2) {
   font-weight: bold;
}

/* Format the podcast section */
aside#podcastList {
   float: right;
   width: 200px;
   font-size: 0.9em;
}

/* Format each podcast title */
aside#podcastList h1 {
   font-weight: bold;
   margin-bottom: 8px;
}

/* Format podcast links */
aside#podcastList h1 a {
   text-decoration: none;
   color: gray;
}

/* Format podcast descriptions */
aside#podcastList p {
   line-height: 1.2;
   font-size: 0.9em;
   margin-bottom: 20px;
   border-bottom: 1px solid gray;
}