/* =========================
   GLOBAL PAGE STYLING
========================= */
body {
    font-family: "Abril Fatface", serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #605d61;
}

/* =========================
   GRID LAYOUT (PAGE STRUCTURE)
========================= */
.site-grid {
    display: grid;

    grid-template-areas:
        "header"
        "nav"
        "main"
        "footer";

    grid-template-rows: auto auto 1fr auto;
    min-height: 100vh;
}

/* Assign grid areas */
header {
    grid-area: header;
}

nav {
    grid-area: nav;
}

main {
    grid-area: main;
}

footer {
    grid-area: footer;
}

/* =========================
   HEADER STYLING
========================= */
header {
    background-color: #111;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

/* =========================
   NAVIGATION BAR (FLEXBOX)
========================= */
nav {
    background-color: #333;
    padding: 1rem;
}

/* Flexbox navigation list */
.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Navigation links */
.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Hover effect */
.nav-list a:hover {
    text-decoration: underline;
}

/* =========================
   MAIN CONTENT AREA
========================= */
main {
    padding: 2rem;
    max-width: 60rem;
    margin: auto;
    background-color: white;
}

/* =========================
   IMAGE STYLING
========================= */
img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* =========================
   SECTION SPACING
========================= */
section {
    margin-bottom: 2rem;
}

/* =========================
   HIGHLIGHT TEXT CLASS
========================= */
.highlight {
    color: #3b3333;
    font-weight: bold;
}

/* =========================
   PAGE TITLE ID
========================= */
#page-title {
    font-size: 2rem;
    letter-spacing: 0.1rem;
}

/* =========================
   FOOTER STYLING
========================= */
footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 1rem;
}
/* Custom cursor for whole website */
body {
    cursor: crosshair;
}
/* Star particle */
.sparkle {
    position: fixed;
    color: rgb(255, 201, 232);
    font-size: 10px;
    pointer-events: none;
    z-index: 9999;
    animation: starFade 0.8s ease-out forwards;
}

/* Star animation */
@keyframes starFade {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: scale(2) rotate(180deg) translateY(-20px);
    }
}
/* Assessment 6 List Styling */

#list ul {
    list-style-type: square;
    background-color: #f4f4f4;
    border: 2px solid #333;
    padding: 20px;
    border-radius: 10px;
}

#list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #333;
}

#list li:hover {
    font-weight: bold;
    color: #605d61;
}