@charset "utf-8";

/* Color variables - tuned to match header image accents */
:root {
    --bg-page: #f6f2fb; /* light lavender */
    --accent: #7b4bbd; /* medium purple */
    --accent-dark: #5a2f8d; /* darker purple for hover */
    --text: #2b2b2b; /* primary text */
    --muted: #6b6b6b; /* secondary text */
}

/* HTML element - subtle accent background */
html {
    /* full-page background image with a subtle gradient fallback layer */
    background-image: url('https://images.unsplash.com/photo-1503264116251-35a269479413?auto=format&fit=crop&w=1600&q=80'),
                      linear-gradient(180deg, #efe7fb 0%, #f8f6ff 100%);
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center top, center top;
    background-attachment: fixed;
}

/* Body element styles */
body {
    font-family: Verdana, Geneva, sans-serif;
    color: var(--text);
    background-color: var(--bg-page);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Header section styles */
header {
    text-align: center;
    padding: 20px;
}

/* H2 element styles */
h2 {
    font-size: 1.3em;
    text-shadow: 4px 6px 5px gray;
}

/* Nav section styles */
/* nav {
    background-color: var(--accent);
    padding: 15px;
    text-align: center;
} */

/* Nav ul styles */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Nav li styles */
nav li {
    display: block;
    width: 20%;
    float: left;
}

/* Nav link styles */
nav a {
    display: block;
    background-color: var(--accent);
    line-height: 2.8em;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
}

/* Nav link hover styles */
nav a:hover {
    background-color: var(--accent-dark);
    color: #ffffff;
}

/* Main element styles */
main {
    padding: 20px;
    margin-top: 35px;
}

/* Image element styles - only for images in main section */
main > img {
    width: 25%;
    padding: 25px;
    float: right;
}

/* Header image styles */
header img {
    width: 100%;
}

/* Header title color */
header h1 {
    color: var(--accent-dark);
    margin-top: 10px;
    text-shadow: 4px 6px 5px gray;
}

/* Footer styles */
body > footer {
    background-color: var(--accent);
    color: #ffffff;
    font-weight: bold;
    font-size: 0.9em;
    line-height: 3em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    clear: both;
}

body > footer a { color: #ffffff; }

/* Ordered list styles */
ol {
    list-style-type: upper-roman;
}
