/* =========================================================
   PLANT CARE LIBRARY — SIMPLE, EDITABLE STYLESHEET
   Change the numbers below to suit your preferences.
   No compressed rules, variables, or complicated layout.
   ========================================================= */


/* 1. WHOLE PAGE: font, text size, and LINE SPACING */

body {
    margin: 0;
    background-color: #f8f4e9;
    color: #28382d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;

    /* 1.25 = compact; 1.4 = moderate; 1.65 = very loose */
    line-height: 1.30;
}


/* 2. PARAGRAPHS: SPACE BETWEEN PARAGRAPHS */

p {
    margin-top: 0;
    margin-bottom: 8px;  /* Change this number for paragraph spacing */
}


/* 3. HEADINGS */

h1 {
    font-size: 32px;
    line-height: 1.20;
    color: #24513c;
    margin-top: 18px;
    margin-bottom: 12px;
}

h2 {
    font-size: 25px;
    color: #24513c;
    margin-top: 18px;
    margin-bottom: 8px;
}

h3 {
    font-size: 20px;
    color: #476b4d;
    margin-top: 14px;
    margin-bottom: 6px;
}


/* 4. TOP BANNER */

header {
    background-color: #234636;
    color: white;
    padding: 18px 24px;
    text-align: center;
}

header a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

header small {
    display: block;
    font-size: 12px;
    color: #d5c69c;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* 5. NAVIGATION LINKS */

nav {
    background-color: #e8dfc7;
    padding: 10px 20px;
    text-align: center;
}

nav a {
    color: #24523c;
    margin-left: 10px;
    margin-right: 10px;
}


/* 6. MAIN READING AREA */

main {
    max-width: 750px;
    margin: 20px auto;
    padding: 0 24px 30px;
}


/* 7. PHOTOGRAPHS */

figure {
    margin: 15px auto;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}


/* 8. TABLES */

table {
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.25;
}

td, th {
    padding: 6px;
    border: 1px solid #b9b29e;
    vertical-align: top;
}

.table-scroll {
    overflow-x: auto;
    margin-top: 12px;
    margin-bottom: 12px;
}


/* 9. INDEX PAGE: CHAPTER LINKS */

.grid {
    margin-top: 12px;
}

.card {
    display: block;
    background-color: white;
    color: #254936;
    border: 1px solid #ddd2b7;
    padding: 9px 12px;
    margin-bottom: 6px;
    text-decoration: none;
}

.card:hover {
    background-color: #e9f1e9;
}


/* 10. SMALL NOTES AND FOOTER */

.muted {
    color: #627269;
}

footer {
    border-top: 1px solid #d9d0b9;
    padding: 12px;
    text-align: center;
    font-size: 14px;
}
