/*
    Chapter 9
    Hands-on Project 9-2
    Author: Sam Yalda
    Date:   4/17/26
*/

* {
   box-sizing: border-box;
}

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;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
   display: block;
}

body {
   line-height: 1.4;
   width: 960px;
   margin: 0 auto;
   background: white;
   font-family: Verdana, Geneva, sans-serif;
}

header {
   width: 100%;
   background: #5472b2;
   color: white;
   text-align: center;
   font-size: 2.5em;
   line-height: 1.5em;
}

section {
   background-color: #ffdb70;
   padding: 20px 0 30px;
   min-height: 540px;
}

section h2 {
   text-align: center;
   font-size: 2.2em;
   margin-bottom: 20px;
}

section h2#h2b {
   font-size: 2em;
}

#intro {
   width: 88%;
   margin: 0 auto 20px;
   padding-bottom: 10px;
   border-bottom: 1px solid gray;
   font-size: 1em;
}

table#profile {
   width: 90%;
   margin: 0 auto 20px;
   border-bottom: 1px solid gray;
   padding-bottom: 10px;
}

table#profile col#firstCol {
   width: 180px;
}

table#profile td {
   padding: 8px 4px;
   vertical-align: top;
}

table#profile input[type="text"],
table#profile select,
table#profile textarea {
   width: 240px;
   font-size: 1em;
   padding: 4px;
}

table#profile textarea {
   height: 90px;
   resize: none;
}

.buttonRow {
   text-align: center;
   margin-top: 10px;
}

#submitButton {
   width: 150px;
   padding: 8px;
   letter-spacing: 2px;
   cursor: pointer;
}

table#order {
   width: 80%;
   margin: 20px auto;
   border-collapse: collapse;
   background-color: ivory;
}

table#order th {
   width: 180px;
   padding: 8px;
   text-align: left;
   border: 1px solid gray;
   background-color: rgb(232, 191, 102);
}

table#order td {
   padding: 8px;
   border: 1px solid gray;
   line-height: 1.4;
}

.homeLink {
   text-align: center;
   margin-top: 20px;
}

footer {
   text-align: center;
   padding: 15px 0 25px;
   font-size: 0.95em;
}